📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chbluxuries.com
/
boot
/
Name
Size
Permissions
Actions
📁
..
-
0755
🗑️
🔒
📁
css
-
0755
🗑️
🔒
📁
js
-
0755
🗑️
🔒
📄
config.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
error_log
123.5 KB
0644
🗑️
⬇️
✏️
🔒
Editing: suser2.php
<?php include "header.php"; ?> <body onLoad="getLocation()"> <!-- ======= Header ======= --> <header id="header" class="fixed-top"> <div class="container d-flex align-items-center"> <h1 class="logo mr-auto"><a href="index.php"><img src="assets/img/apple-touch-icon.png"/></a></h1> <!-- Uncomment below if you prefer to use an image logo --> <!-- <a href="index.html" class="logo mr-auto"><img src="assets/img/logo.png" alt="" class="img-fluid"></a>--> <nav class="nav-menu d-none d-lg-block"> <ul> <li><a class="nav-link scrollto active" href="index.php">Home</a></li> <li><a class="nav-link scrollto " href="track.php">Track Order</a></li> <li><a class="nav-link scrollto" href="part.php">Bike Hire</a></li> <li><a class="nav-link scrollto" href="book.php">Customer Portal</a></li> <li><a class="nav-link scrollto" href="faq.php">FAQ</a></li> <li><a class="nav-link scrollto" href="incon.php">Contact Us</a></li> <li><a class="nav-link scrollto" href="compa.php">Report Issues</a></li> </ul> </nav><!-- .nav-menu --> </div> </header><!-- End Header --> <main id="main"> <!-- ======= Track and Book Section ======= --> <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 parcel where id = '".$rid."'"; $sql2 = mysqli_query($con,$sql); while($row = mysqli_fetch_array($sql2)){ $idea = $row['id']; 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; color:#FF339A;">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 --> <?php include "footer.php"; ?>
💾 Save Changes