Server : LiteSpeed System : Linux us-phx-web1202.main-hosting.eu 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64 User : u615232177 ( 615232177) PHP Version : 8.1.33 Disable Function : NONE Directory : /home/u615232177/domains/bond-lounge.com/public_html/ |
<?php session_start();
$page_name = basename($_SERVER['PHP_SELF']);
include("header.php"); ?>
<?php $title = "Details"; ?>
<?php
if (isset($_GET['u'])){
$unique_id = mysqli_real_escape_string($con,$_GET['u']);
$title = mysqli_real_escape_string($con,$_GET['title']);
if($title !== "services" AND $title !== "projects"){
echo "<meta http-equiv=\"refresh\" content=\"0; url=$link\">";exit();
}
if($title == "services"){$page_header = "services_header.jpg";}
if($title == "projects"){$page_header = "projects_header.jpg";}
$stmt = $con -> prepare("SELECT * FROM $title WHERE unique_id=?");
$stmt -> bind_param('s',$unique_id);
$stmt -> execute();
$stmt -> store_result();
$stmt -> bind_result($id,$u_id,$heading,$preamble,$body,$picture,$picture2,$picture3,$picture4);
$numrows = $stmt -> num_rows();
if($numrows > 0){
while ($stmt -> fetch()) { }
}
else{echo "<meta http-equiv=\"refresh\" content=\"0; url=$link\">";exit();}
}
else{echo "<meta http-equiv=\"refresh\" content=\"0; url=$link\">";exit();}
?>
<title><?php echo $company_name; ?> - <?php echo $heading ?></title>
<?php $page_title = $heading; ?>
<?php include("page_header.php"); ?>
<section class="services-one">
<div class="services-one__bottom">
<div class="services-one__container">
<div class="row">
<div class='col-10'>
<?php echo $body; ?>
</div>
</div>
<div class='row'>
<div class='col-4'>
<?php if($picture2 !==""){ ?>
<img src="site_img/<?php echo $title; ?>/<?php echo $picture2 ?>" style="width:100%;">
<?php } ?>
</div>
<div class='col-4'>
<?php if($picture3 !==""){ ?>
<img src="site_img/<?php echo $title; ?>/<?php echo $picture3 ?>" style="width:100%;">
<?php } ?>
</div>
<div class='col-4'>
<?php if($picture4 !==""){ ?>
<img src="site_img/<?php echo $title; ?>/<?php echo $picture4 ?>" style="width:100%;">
<?php } ?>
</div>
</div>
</div>
</div>
</section>
<!-- Service Entry Content End -->
<?php include("footer.php"); ?>