403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/rsdgroup//news.php
<?php
include_once("conf/settings.php");
include_once("conf/func.php");

$WhatsNewsList = getWhatsNew("tblNews where status = 'Active' and type='news' and isDeleted = 'no' ORDER BY id DESC"); 
//echo "<pre>";print_r($WhatsNewsList);die;
?>
<!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>News for dairy products – News of dairies in India</title>
<meta name="Description" content="Find the latest Update for milk and dairy products of Ananda Group. Know all information about our dairy products, Events Result and many more."> 
<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>&nbsp;&nbsp;&gt;&nbsp;&nbsp;<span>News</span></div>
 <div class="ourPro">
    	<h3>News</h3>
        
       <?php 
	   if(count($WhatsNewsList) >0){
	   foreach($WhatsNewsList as $WhatsNews) 
	   { 
	     
	   ?>         
       <div class="news_box">
       		<div class="datebox"><span><?php echo date('M',$WhatsNews['startDate']); ?></span>
			<strong><?php echo date('d',$WhatsNews['startDate']); ?></strong>
			<?php echo date('Y',$WhatsNews['startDate']); ?>
			</div>
            <div class="newscontent">
            <h6><?php echo $WhatsNews['title'];?></h6>
            <p>
			<?php if($WhatsNews['description'])
			{ 
			  echo substr(strip_tags($WhatsNews['description']),0,100); 
			  if(strlen($WhatsNews['description'])>100) { echo "..."; } 
			} 
			?>
			<a href="news_details.html?newsid=<?php echo md5("RSDGROUPNEWS".$WhatsNews['id']);?>" class="example2">View More</a>
			</p>
			</div>
       <div class="cl"></div>
	   </div>
      <?php } } else { echo "News 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>

Youez - 2016 - github.com/yon3zu
LinuXploit