<div class="content_box">
<div class="content_box_header">News</div>
<?php

$res = mysql_query ("SELECT Id, Date, Description, Title FROM news ORDER BY Date DESC LIMIT 0, 5 ");
$nr = mysql_num_rows ($res);
while ($nr>0) {
	$row = mysql_fetch_array ($res);
	extract ($row);
	?>
	<div class="content_box_custom">
	<div class="date"><?php echo formatDate($Date); ?></div>
	<div class="title">
    <a href="?page=news#news_<?php echo $Id; ?>"><?php echo $Title; ?></a>
    </div>
	<div class="description"><?php echo $Description; ?></div>
	</div>
	<?php
	$nr--;
}
?>

<div class="content_box_footer">
<a href="?page=news">View All</a>
</div>

</div>