📁
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
187.55 KB
0644
🗑️
⬇️
✏️
🔒
📄
system.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
Editing: relate.php
<!-- Our Team Section --> <section id="team" class="team section-bg" > <div class="container"> <div class="section-title" data-aos="fade-up"> <h2>Related Ads</h2> </div> <div class="row"><?php include "connect_to_mysqli.php"; $sql = "SELECT all* from product where status='Approved' && cart='$cart' ORDER By date DESC LIMIT 4"; $sql2 = mysqli_query($con,$sql); while($row = mysqli_fetch_array($sql2)) { $imageURL='product/'.$row["file_name"]; $ide = $row['cart']; $idea = $row['id']; if($ide=="") { $neme="hola"; } else { $sqk = "SELECT all* from carte where id='$ide'"; $sqlp = mysqli_query($con,$sqk); while($rowe = mysqli_fetch_array($sqlp)) { $neme = $rowe['name']; } } echo ' <div class="col-lg-3 col-md-6 d-flex align-items-stretch"> <div class="member" data-aos="fade-up"> <div class="member-img w-100"> <img src="'.$imageURL.'" class="img-fluid" alt=""> </div> <div class="member-info"> <p style="font-size: 1.1rem">'.$neme.'</p> <h4> <form action="details.php" method="post"><input type="text" name="idea" value="'.$idea.'" hidden/><button type="submit" value="oh" style="background:none; border:none; outline:none">'.$row['title'].'</button></form> </h4> <span> <i class="bx bx-time-five"></i> '.$row['date'].'</span> <h3>₦'.$row['price'].'</h3> </div> </div> </div>'; } ?> </div></div> </section> <!-- End Our Team Section -->
💾 Save Changes