| 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");
$news_id = $_REQUEST['newsid'];
$WhatsNewsDetails = getWhatsNew("`tblNews` where `type`='news' and md5(concat('RSDGROUPNEWS',`id`)) = '".$news_id."'");
//echo "<pre>";print_r($WhatsNewsDetails);die;
$WhatsNewsWinnerList = getWhatsNew("`winner_table` where md5(concat('RSDGROUPNEWS',`news_id`)) = '".$news_id."'");
?>
<link rel="stylesheet" href="css/style.css">
<link media="screen" rel="stylesheet" href="css/colorbox_new1.css" />
<!--events popup start here-->
<div>
<div id="inline_example2">
<div class="popupIn" style="min-height:380px;">
<div class="pp_news_box">
<div class="ppdate">
<span><?php echo date('M',$WhatsNewsDetails[0]['startDate']); ?></span>
<strong><?php echo date('d',$WhatsNewsDetails[0]['startDate']); ?></strong>
<?php echo date('Y',$WhatsNewsDetails[0]['startDate']); ?>
</div>
<div class="pcontent">
<h6><?php echo $WhatsNewsDetails[0]['title'];?></h6>
<?php
if($WhatsNewsDetails[0]['pagetype'] =="description") {
?>
<?php echo $WhatsNewsDetails[0]['description'];?>
<?php } else if($WhatsNewsDetails[0]['pagetype'] =="winner") { ?>
<?php
if(count($WhatsNewsWinnerList)>0) {
$s=1;
foreach($WhatsNewsWinnerList as $WhatsNewsWinner)
{
if($WhatsNewsWinner['image'] && file_exists("cat_images/winner/".$WhatsNewsWinner['image']))
{
$image = "cat_images/winner/".$WhatsNewsWinner['image'];
}
else{
$image = "cat_images/winner/no_img.jpg";
}
?>
<div class="whiteimgbg">
<img src="<?php echo $image; ?>" border="0" width="117" height="87">
<p><?php echo ucwords($WhatsNewsWinner['name']);?><br /><span><?php echo $WhatsNewsWinner['award'];?> <br/> <?php echo $WhatsNewsWinner['location'];?></span></p>
</div>
<?php $s++; } } else { ?>
<div class="pcontent" style="color:#FFFFFF;"> No Result Found!</div>
<?php } ?>
<?php } ?>
</div>
</div>
<div class="cl"></div> </div>
</div>
</div>
<!--events popup end here-->