]]jkjjgdjffksdkdxmnvbcbcvbvcbbbbbbbbbvcbcbvcbmnmbnwqeqwewqskfgj
במ12[cvbnvbnvcvbcvbcvbvvvccccccccccccccvbcvbcvbnmnmqewv;'
/
home
/
u729855735
/
public_html
/
visualgallery
/
Upload FileeE
HOME
<?php require('inc/db.php'); if(isset($_GET['order_id']) && isset($_GET['uid'])){ $order_id = $_GET['order_id']; $uid = $_GET['uid']; $email = 'khlid.kyptronix@gmail.com'; $to = "kmd94612@gmail.com"; $subject = "Order cancel"; $message = "Hi admin,\n\n One of the user cancelled order now. Please login to admin panel to check.\n\nRegards,\nVisual line Gallery"; $headers = "From: ".$email; $up = "UPDATE orders SET order_status='User cancelled' WHERE user_id='$uid'"; $run = mysqli_query($conn,$up); if($run){ mail($to, $subject, $message, $headers); echo "<script>alert('You cancelled the order.'); location.href='account.php'; </script>"; } else{ echo "<script>alert('Erro! something went wrong'); location.href='account.php'; </script>"; } } ?>