| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/rsdgroup/ |
Upload File : |
<?php
include_once("conf/settings.php");
include_once("conf/func.php");
$EventsList = getEvents("tblNews where status = 'Active' and type='events' and isDeleted = 'no' ORDER BY id DESC");
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Events | Gopaljee Ananda</title>
<meta name="Description" content="Events for RSD Group">
<link rel="stylesheet" href="css/style.css">
<link media="screen" rel="stylesheet" href="css/colorbox_new1.css" />
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<!--[if lt IE 9]>
<script src="js/html5.js"></script>
<![endif]-->
<script src="js/jquery.colorbox.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
var width = $(window).width(), height = $(window).height();
if (width > 700) {
$(".example2").colorbox({width:"750px", height:"445px", iframe:true});
}
else if (width < 699) {
$(".example2").colorbox({width:"750px", height:"445px", iframe:true});
}
});
</script>
</head>
<body>
<!--header start here-->
<?php include_once("inc/header.php"); ?>
<!--header end here-->
<!--section start here-->
<section>
<div class="braedcrumb"><a href="<?php echo @$baseurl;?>">Home</a> > <span>Events</span></div>
<div class="ourPro">
<h3>Events</h3>
<?php
if(count($EventsList) >0) {
foreach($EventsList as $Events)
{
if($Events['image'] && file_exists("cat_images/events/".$Events['image']))
{
$image = "cat_images/events/".$Events['image'];
}
?>
<div class="news_box">
<div class="eventimgbox">
<img src="<?php echo $image; ?>" border="0" width="117" height="121">
</div>
<div class="newscontent">
<h6><?php echo $Events['title'];?></h6>
<p>
<?php if($Events['description'])
{
echo substr(strip_tags($Events['description']),0,300);
?>
<?php
if(strlen($Events['description'])>300) { echo "..."; ?>
<a href="events_details.html?eventid=<?php echo md5("RSDGROUPEVENT".$Events['id']);?>" class="example2">View More</a>
<?php
} }
?>
</p>
</div>
<div class="cl"></div></div>
<?php } } else { echo "Result Not Found!"; }?>
</div>
<!--footer top start here-->
<?php include_once("inc/footer-top.php"); ?>
<!--footer top end here-->
</section>
<!--section end here-->
<!--footer start here-->
<?php include_once("inc/footer.php"); ?>
<!--footer end here-->
</body>
</html>