|
Server IP : 2a02:4780:11:1373:0:3017:be17:10 / Your IP : 216.73.216.55 Web Server : LiteSpeed System : Linux in-mum-web1273.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64 User : u806862359 ( 806862359) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u806862359/domains/pbacbse.org/public_html/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
if(isset($_GET['id']))
{
include('header.php');
$news_letter_class = "newsletter-area-2";
$id = $_GET['id'];
?>
<section class="page-banner">
<div class="page-banner-bg bg_cover" style="background-image: url(assets/images/page-banner.jpg);">
<div class="container">
<div class="banner-content text-center">
<h2 class="title">Facilities Details</h2>
</div>
</div>
</div>
</section>
<section class="event-details mb-50" style="padding-top:0;">
<div class="container">
<?php
$sel_fac = mysqli_query($con,"select * from facilities where is_active=1 and id=$id");
while($res_fac = mysqli_fetch_array($sel_fac))
{
?>
<div class="row">
<div class="col-lg-12">
<div class="event-details-content mt-50">
<img src="adminweb/<?php echo $res_fac['photo']; ?>" alt="" >
<h2 class="title"><?php echo $res_fac['name']; ?></h2>
<p style="margin:0; display:inline-block;"><b>Department</b> : <?php echo $res_fac['department']; ?></p>
<p style="margin:0; display:inline-block;"> | <b>Add On</b> : <?php echo Date('d M Y',strtotime($res_fac['created_at'])); ?></p>
<p style="margin:0; display:inline-block;"> | <b>Last Update On</b> : <?php echo Date('d M Y',strtotime($res_fac['updated_at'])); ?></p>
<p><?php echo $res_fac['description']; ?></p>
</div>
</div>
</div>
<?php
}
?>
</div>
</section>
<?php include('footer.php'); ?>
<?php
}
else
{
echo"<script>window.location='facilities.php';</script>";
}
?>