/
home
/
u775757334
/
domains
/
civicwelllife.com
/
public_html
/
/home/u775757334/domains/civicwelllife.com/public_html
mkdir
upload
Name
Size
Mode
Actions
admin/
-
0755
rm
civiclife/
-
0755
rm
css/
-
0755
rm
fonts/
-
0755
rm
function/
-
0755
rm
images/
-
0755
rm
include/
-
0755
rm
js/
-
0755
rm
management/
-
0755
rm
media/
-
0755
rm
razorpay/
-
0755
rm
seller/
-
0755
rm
vendor/
-
0755
rm
09.php
142
0644
edit
dl
rm
about-us.php
3025
0644
edit
dl
rm
account.php
7408
0644
edit
dl
rm
add-shipping.php
6073
0644
edit
dl
rm
affiliate-registration.php
4543
0644
edit
dl
rm
arrow.jpg
1546
0644
edit
dl
rm
blog-details.php
10838
0644
edit
dl
rm
blog-list.php
9268
0644
edit
dl
rm
blog.php
10062
0644
edit
dl
rm
booking-process.php
2149
0644
edit
dl
rm
booking-success.php
5541
0644
edit
dl
rm
category-details.php
7903
0644
edit
dl
rm
checkout.php
15505
0644
edit
dl
rm
civiclife (2).zip
151986360
0644
edit
dl
rm
config.php
9419
0644
edit
dl
rm
consultation-payment.php
12113
0644
edit
dl
rm
consultation.php
17921
0644
edit
dl
rm
contact-us.php
9742
0644
edit
dl
rm
cpage.css
14115
0644
edit
dl
rm
create-order.php
443
0644
edit
dl
rm
create_zoom_link.php
2832
0644
edit
dl
rm
default.php
16369
0644
edit
dl
rm
delivery-return.php
2923
0644
edit
dl
rm
dlogout.php
125
0644
edit
dl
rm
doctor-account.php
36857
0644
edit
dl
rm
doctor-appointments.php
10379
0644
edit
dl
rm
doctor-blog.php
8588
0644
edit
dl
rm
doctor-consultation.php
5467
0644
edit
dl
rm
doctor-profile.php
32002
0644
edit
dl
rm
doctor-registration.php
13189
0644
edit
dl
rm
doctors.php
10383
0644
edit
dl
rm
end_meeting.php
230
0644
edit
dl
rm
faq-list.php
7900
0644
edit
dl
rm
faq.php
6367
0644
edit
dl
rm
get_subcategory.php
437
0644
edit
dl
rm
health-test.php
31910
0644
edit
dl
rm
index.html
4133
0644
edit
dl
rm
index.php
3656
0644
edit
dl
rm
login.php
3842
0644
edit
dl
rm
media.zip
37481598
0644
edit
dl
rm
my-account.php
7397
0644
edit
dl
rm
order-details.php
6172
0644
edit
dl
rm
patient-login.php
7935
0644
edit
dl
rm
privacy-policy.php
2430
0644
edit
dl
rm
product-detail.php
32756
0644
edit
dl
rm
product-list.php
10761
0644
edit
dl
rm
return-and-refund.php
2398
0644
edit
dl
rm
review.php
12362
0644
edit
dl
rm
seller-registration.php
11374
0644
edit
dl
rm
send_review.php
765
0644
edit
dl
rm
start_meeting.php
194
0644
edit
dl
rm
sub-category.php
7839
0644
edit
dl
rm
terms-and-conditions.php
2681
0644
edit
dl
rm
testimonial-list.php
8787
0644
edit
dl
rm
testimonial.php
8060
0644
edit
dl
rm
timing-list.php
6068
0644
edit
dl
rm
timming.php
7571
0644
edit
dl
rm
vedio-list.php
7877
0644
edit
dl
rm
vedio.php
8579
0644
edit
dl
rm
vedios.php
8787
0644
edit
dl
rm
Edit:
/home/u775757334/domains/civicwelllife.com/public_html/config.php
(9419B)
<?php session_start(); $conn = mysqli_connect("localhost", "u775757334_civic_user", "sSTbK6I71#", "u775757334_civic_db") or die(mysqli_error($conn)); $db = "u775757334_civic_db"; mysqli_select_db($conn, $db) or die(mysqli_error()); //========= table name & return url =========== $tblSetting = "tbl_setting"; $tblOrderDetails = "tbl_order_details"; $viewOrderDetails = "view_get_order_details"; $tblCustomer = "tbl_customer"; $tblShippingAddress = "tbl_shipping"; $tblOrderStatus = "tbl_order_status"; // =========================== $tblColor = "tbl_color"; $tblSize = "tbl_size"; $tblCategory = "tbl_category"; $tblProduct = "tbl_product"; $tblOrder = "tbl_order"; $tblBanner = "tbl_banner"; $tblPromocode = "tbl_promocode"; $tblOtherCategory = "tbl_other_category"; $tblGroupWithOtherCategory = "tbl_group_with_other_category"; $tblPromocode = "tbl_promocode"; $tblCity = "tbl_city"; $tblLocalArea = "tbl_localarea"; $tblVideo = "tbl_video"; $tblTestimonial = "tbl_testimonial"; $tblShipping = "tbl_shipping"; $tblBlog = "tbl_blog"; $tblPost = "tbl_post"; $tblBrand = "tbl_brand"; $tblOffer = "tbl_offer"; // ========= tbl_sub_category ======== $stockAry[0] = "Out Stock"; $stockAry[1] = "In Stock"; $paymentModeAry[1] = "COD"; $paymentModeAry[2] = "Online"; $orderStatusAry[1] = "Pending"; $orderStatusAry[2] = "Process"; $orderStatusAry[3] = "Dispatched"; $orderStatusAry[4] = "Delivered"; $orderStatusAry[5] = "Cancel"; $user_id = 1; $sql = mysqli_query($conn, "select * from $tblSetting where id='$user_id'") or die(mysqli_error($conn)); $row = mysqli_fetch_assoc($sql); extract($row); function getProduct2($data) { $mrp = $data[3]; $price = $data[4]; $discount = round((100 * ($mrp - $price)) / $mrp); $offer = ""; if ($discount > 0) { $offer = "<div class='product-label'><label class='label-text new'>{$discount}% off</label></div>"; } echo " <div class='product-card'> <div class='product-media'> {$offer} <a class='product-image' href='product-details.php?url={$data[2]}-{$data[0]}'> <img src='media/image/{$data[6]}' alt='product'></a> <div class='product-widget'> <a title='Product Video' href='https://youtu.be/9xzcVxSBbG8' class='venobox fas fa-play' data-autoplay='true' data-vbtype='video'></a> <a title='Product View' href='product-details.php?url={$data[2]}-{$data[0]}' class='fas fa-eye' data-bs-toggle='modal1' data-bs-target='#product-view1'></a> </div> </div> <div class='product-content'> <h6 class='product-name'><a href='product-details.php?url={$data[2]}-{$data[0]}'>{$data[1]}</a></h6> <h6 class='product-price'><del>Rs. {$data[3]}</del><span>{$data[4]}<small></small></span></h6> 500grm <div class='product-rating'> <i class='active icofont-star'></i> <i class='active icofont-star'></i> <i class='active icofont-star'></i> <i class='active icofont-star'></i> <i class='icofont-star'></i><a href='product-details.php?url={$data[2]}-{$data[0]}'>(3)</a> </div> <a class='product-add2' href='checkout.php?id={$data[0]}' title='Add to Cart'><span> Buy Now</span></a> </div> </div> "; } function textToUrl($text) { // Convert the text to lowercase $text = strtolower($text); // Replace spaces and underscores with a dash $text = preg_replace('/[\s_]+/', '-', $text); // Remove all characters that are not alphanumeric, dashes, or dots $text = preg_replace('/[^a-z0-9\-\.]/', '', $text); // Optionally, you can trim dashes from the beginning and end $text = trim($text, '-'); // Return the URL-friendly string return $text; } // http://localhost/ecom_demo/ // http://localhost/navpraanayurveda/ function getProduct($data) { $url = "product-detail.php?url={$data[2]}-{$data[0]}"; $image = "media/image/thumb/{$data[6]}"; $rand = rand(10, 200); echo "<div class='card-product style-9 shadow-sm'> <div class='card-product-wrapper'> <a href='{$url}' class='product-img'> <img class='lazyload img-product' data-src='{$image}' src='{$image}' alt='image-product'> <img class='lazyload img-hover' data-src='{$image}' src='{$image}' alt='image-product'> </a> <div class='list-product-btn absolute-2'> <!-- <a href='javascript:void(0);' class='box-icon bg_white wishlist btn-icon-action'> <span class='icon icon-heart'></span> <span class='tooltip'>Add to Wishlist</span> <span class='icon icon-delete'></span> </a> <a href='#compare' data-bs-toggle='offcanvas' aria-controls='offcanvasLeft' class='box-icon bg_white compare btn-icon-action'> <span class='icon icon-compare'></span> <span class='tooltip'>Add to Compare</span> <span class='icon icon-check'></span> </a> #quick_view data-bs-toggle='modal' <a href='' class='box-icon bg_white quickview tf-btn-loading'> <span class='icon icon-view'></span> <span class='tooltip'>Quick View</span> </a> --> </div> </div> <div class='card-product-info' style='text-align:center'> <p class='product-name'><a href='{$url}' class='title link fw-6'>{$data[1]}</a></p> <div class='rating' style='display: inherit;'> <i class='icon-start'></i> <i class='icon-start'></i> <i class='icon-start'></i> <i class='icon-start'></i> <i class='icon-start'></i>({$rand}) </div> <p class='product-price'> <span class='price fw-6'>Rs. {$data[4]}</span> <span class='price price-del fw-6'>Rs .<del> {$data[3]}</del></span> </p> <p style='margin-top: 10px;'><a href='{$url}' class=' addbutton quick-add btn btn-primary'> <svg width='18' height='18' viewBox='0 0 20 19' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M0.826087 2.39643e-08C0.606995 2.39643e-08 0.396877 0.0870339 0.241955 0.241955C0.0870339 0.396877 0 0.606995 0 0.826087C0 1.04518 0.0870339 1.2553 0.241955 1.41022C0.396877 1.56514 0.606995 1.65217 0.826087 1.65217H2.29652C2.4166 1.65238 2.53358 1.69029 2.63096 1.76054C2.72834 1.8308 2.8012 1.92986 2.83926 2.04374L5.56287 10.2162C5.6843 10.5797 5.69917 10.9696 5.60665 11.3413L5.38278 12.2393C5.05317 13.5561 6.07835 14.8696 7.43478 14.8696H17.3478C17.5669 14.8696 17.777 14.7825 17.932 14.6276C18.0869 14.4727 18.1739 14.2626 18.1739 14.0435C18.1739 13.8244 18.0869 13.6143 17.932 13.4593C17.777 13.3044 17.5669 13.2174 17.3478 13.2174H7.43478C7.11261 13.2174 6.90609 12.953 6.98457 12.6416L7.15391 11.9659C7.18244 11.8516 7.24833 11.7501 7.34112 11.6775C7.43391 11.6049 7.54828 11.5654 7.66609 11.5652H16.5217C16.6953 11.5654 16.8646 11.511 17.0055 11.4095C17.1463 11.3081 17.2517 11.1649 17.3065 11.0002L19.508 4.39148C19.5494 4.26729 19.5607 4.13505 19.5409 4.00566C19.5211 3.87626 19.4709 3.75342 19.3943 3.64725C19.3178 3.54108 19.2171 3.45463 19.1005 3.39501C18.984 3.33539 18.855 3.30432 18.7241 3.30435H5.415C5.29478 3.30431 5.17762 3.26649 5.08007 3.19622C4.98253 3.12595 4.90954 3.0268 4.87143 2.91278L4.0883 0.565043C4.03349 0.400482 3.92828 0.257348 3.78757 0.15593C3.64686 0.0545128 3.4778 -4.17427e-05 3.30435 2.39643e-08H0.826087Z' fill='white' /> </svg> Add Cart </a></p> </div> </div>"; } /*<div class='card-product-info'> <div class='inner-info'> <a href='{$url}' class='title link fw-6'>{$data[1]}</a> <span class='price fw-6'><i class='fa fa-inr'></i> {$data[7]}</span> <span class='price fw-6'> {$data[4]}</span> </div> <div class='list-product-btn'> <a href='{$url}' class='box-icon quick-add tf-btn-loading'> <span class='icon icon-view'></span> <span class='tooltip'>view details</span> </a> </div> </div>*/ function generateUniqueCode($length = 8) { // Define the characters you want to include in the code $characters = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; $charactersLength = strlen($characters); $uniqueCode = ''; // Generate a random string of the specified length for ($i = 0; $i < $length; $i++) { $uniqueCode .= $characters[rand(0, $charactersLength - 1)]; } return $uniqueCode; }
Save
cmd:
run