File: /home/puthuppa/www/news-and-announcements.php.bak
<?php include('controlpanel/includes/toolBox.php'); ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Puthuppally Pally</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="favicon.png" type="image/x-icon">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="src/css/jquery.mmenu.all.css" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<link href="main.css" rel="stylesheet">
<link href="responsive.css" rel="stylesheet">
<script src="js/jquery-1.11.1.min.js"></script>
</head>
<body>
<?php include("header.php"); ?>
<div class="contain">
<div class="lay">
<div class="shead">
<div>News / Announcements</div>
</div>
</div>
</div>
<div class="contain bT pTB">
<div class="lay">
<div class="contain">
<?php
$news=firesql("SELECT * FROM cms_news ORDER BY created_date DESC",'res');
while($newsres=mysqli_fetch_array($news))
{
extract($newsres);
?>
<div class="article-is">
<span class="NimgDv"><img src="controlpanel/uploads/news/<?php echo $image?>" alt="puthuppally-pally"></span>
<h5><?php echo $title ?></h5>
<p class="p-news">
<?php echo $description ?>
</p>
<p class="pdf-link"><a href="controlpanel/uploads/news/<?php echo $brochure ?>" target="_blank"><img src="controlpanel/uploads/news/pdficon.png" width="25px" height="25px" ><h5 class="pdf-link"><?php echo $title ?></h5></a></p>
<div class="clear">
</div>
</div><br>
<div class="clear"></div>
<?php
}
?>
</div>
</div>
</div>
</div><div class="clear"></div>
<?php include("footer.php"); ?>
</body>
</html>