📁
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
280.06 KB
0644
🗑️
⬇️
✏️
🔒
Editing: suser.php
<?php session_start(); ?><?php include "header2.php"; ?><?php include "every.php";?> <body onLoad="getLocation()"> <main id="main"> <section id="pricing" class="pricing"> <div class="container" data-aos="fade-up"> <div class="row content" align="center"> <div class="col-lg-12" style="padding:20px; margin:auto; width:100%; margin-bottom:100px;"> <h2 style="color:#FF339A;">ORDERS</h2> <p>Here are the details of the delivery</p> <p> <?php include "connect_to_mysqli.php"; $rid = $_POST['ordid']; $sql = "SELECT * from puss where id = '".$rid."'"; $sql2 = mysqli_query($con,$sql); while($row = mysqli_fetch_array($sql2)){ $idea = $row['id']; $img = 'evidence/'.$row["fila_name"]; if (mysqli_affected_rows($con) == 0) { echo "No Ongoing Delivery"; } else { echo '<div class="row"> <div class="col-lg-12 col-md-6" data-aos="fade-up"> <div class="box"> <h3 style="text-alignn:center;">ORDER '.$row['id'].'</h3> <ul ><b> <center style="color:#FF339A;">DESTINATION</center> <p style="color:black;">FROM - '.$row['address'].'<br>TO- '.$row['adress'].'</p> <center style="color:#FF339A;">ITEM DETAILS</center> <p style="color:black;">ITEM WORTH - '.$row['item'].'<br>ITEM SIZE- '.$row['size'].'</p> <center style="color:#FF339A;">CONTACT DETAILS</center> <p style="color:black;">CLIENT PHONE NUMBER - '.$row['phone'].'<br>DRIVER PHONE NUMBER- '.$row['dnum'].'</p> <p style="color:black;">COST-₦'.$row['coster'].'</p>'; }} ?> <?php $sql ="select all* from puss where orid = '".$rid."' "; $sql2 = mysqli_query($con,$sql); while($row = mysqli_fetch_array($sql2)) { $id = $row["s"]; $imageURL = '../rider/evidence/'.$row["fila_name"]; if (mysqli_affected_rows($con) == 0) { echo ""; } else { echo ' <center style="color:#FF339A;">MORE DETAILS</center> <p style="color:black;">DELIVERED TO - '.$row['detail'].'</p> <p style="color:black;">PHOTO<br><br> <img src="'.$imageURL.'" alt="" style="max-width:20%; max-height:20%; object-fit:cover;"> </p> </b> </ul> </div> </div> </div> '; } }?> </p> </div></div></div> </section> </main><!-- End #main --> </main><!-- End #main --> <?php include "footer2.php"; ?>
💾 Save Changes