📁
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
198.75 KB
0644
🗑️
⬇️
✏️
🔒
📄
system.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
Editing: address.php
<?php include"header.php"; ?> <section class="page-header"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="content"> <h1 class="page-name">Dashboard</h1> <ol class="breadcrumb"> <li><a href="home.php">Home</a></li> <li class="active">my account</li> </ol> </div> </div> </div> </div> </section> <section class="user-dashboard page-wrapper"> <div class="container"> <div class="row"> <div class="col-md-12"> <ul class="list-inline dashboard-menu text-center"> <li><a href="profile-details.php">Profile Details</a></li> <li><a class="active" href="address.php">Saved Listings</a></li> <li><a href="dashboard.php">Settings</a></li> </ul> <p><?php include "connect_to_mysqli.php"; if(isset($_GET['saved'])){ $daid = $_GET['ida']; $del = mysqli_query($con,"DELETE from saved where s='$daid'") or die ('Could not connect: ' .mysqli_error($con)); echo "<center style='color:green;'> Listing succesfully deleted from saved listings!</center>"; } ?></p> <div class="dashboard-wrapper user-dashboard"> <div class="table-responsive"> <table class="table"> <thead> <tr> <th>Bid Title</th> <th>Status</th> <th></th> <th></th> </tr> </thead> <tbody> <?php $sql ="select DISTINCT item,s from saved where id ='".$usid."'"; $sql2 = mysqli_query($con,$sql); while($row = mysqli_fetch_array($sql2)) { $ideas = $row["item"]; $see=$row["s"]; $sqk = "SELECT all* from lest where id='$ideas'"; $sqlp = mysqli_query($con,$sqk); while($rowe = mysqli_fetch_array($sqlp)) { $stat = $rowe['status']; if($stat =="Approved") { $pend ='<form action="details.php" method="post" id="'.$ideas.'"><input type="text" name="idea" value="'.$ideas.'" hidden/> <button type="submit" name="submit" value="submit" style="background:none; outline:none; border:none;"><a class="btn btn-default">View</a></button></form>';} else { $pend ='';} echo' <tr> <td>'.$rowe['name'].'</td> <td>'.$rowe['status'].'</td> <td>'.$pend.'</td> <td><form method="get"> <input type="text" name="ida" value="'.$see.'" hidden/> <button type="submit" name="saved" value="ma" class="btn btn-default"><i class="tf-ion-close" aria-hidden="true"></i></button></form> </td> </tr> '; } } ?> </tbody> </table> </div> </div> </div> </div> </div> </section> <?php include"footer.php"; ?>
💾 Save Changes