📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chblogistics.com
/
upload
/
Name
Size
Permissions
Actions
📁
..
-
0555
🗑️
🔒
📁
upload
-
0755
🗑️
🔒
📄
config.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
error_log
43.27 KB
0644
🗑️
⬇️
✏️
🔒
Editing: history.php
<?php session_start(); ?><?php include "header2.php"; ?><?php include "every.php"; ?> <body onLoad="getLocation()"> <main id="main"> <!-- ======= Track and Book Section ======= --> <section id="about" class="about"> <div class="container" data-aos="fade-up"> <div class="row content" align="center"> <div class="col-lg-12" style="padding:20px; margin-bottom:120px;"> <h3>SAVED ADDRESSES</h3> <p> <table class='table table-condensed ' width='60%' border="0" cellspacing='0' data-toggle='bootgrid'> <thead> <tr bgcolor="#CCCCCC"> <th data-column-id='employee_name' width='100px'>Address</th> </tr> </thead> <?php include "connect_to_mysqli.php"; $sql = "SELECT DISTINCT adde from adder where id= '".$usid."' " ; $sql2 = mysqli_query($con,$sql); if (mysqli_affected_rows($con) == 0) { echo "<center>You don't have any saved address yet</center>"; } else { while ($row = mysqli_fetch_array($sql2)) { echo " <tr bgcolor='#fff'><td width='100px' ><form action='' method='post'><input type='text' name='real' value='". $row['adde'] ."' hidden /><button value='kuy' name='submit' type='submit' style=' border:none; background:none; outline:none; color:black; text-align:left; '>" . $row['adde'] . " </button></form></td></tr>"; } } ?> </table> </p> </div> <?php include "connect_to_mysqli.php"; if(empty($_POST['submit'])) { echo ""; } else{ $rea=$_POST['real']; $_SESSION['real']=$rea; echo header('location:odd.php'); } ?> </div> </section><!-- Book Section --> </main><!-- End #main --> <?php include "footer2.php"; ?>
💾 Save Changes