	<table border="0" align="center" cellpadding="0" cellspacing="0" width="190">
<tr><td  align="left" style="padding-right:0px; padding-left:0px;" width="1%" height="24" valign="top"><img src=templates/<?=$tfold?>/img_files/h_left.gif></td>
	<td width="98%" height="24" class="tdhead" valign="middle"><span class=h_left>&nbsp;&nbsp;Latest News</span></td>
<td style="padding-right:0px; padding-left:0px;" width="1%" height="24" valign="top"><img src=templates/<?=$tfold?>/img_files/h_right.gif></td></tr></table>
	<table border="0" align="center" cellpadding="3" cellspacing="0" width=190 class=ft_user>

<?
		$news_sql="select * from news where status='active'";
		$news_result=mysql_query($news_sql);
		while($news_row=mysql_fetch_array($news_result))
		 {
		$tnews= $news_row['title'];
		$dnews= $news_row['newsdetails'];
        $nid= $news_row['news_id'];
if(strlen($dnews)>50)
{
$dnews=substr($dnews, 0, 50);
$dnews="$dnews....";
}	
if(strlen($tnews)>25)
{
$tnews=substr($tnews, 0, 25);
$tnews="$tnews....";
}
	?>
	<tr><td style="padding-left:5px;padding-top:5px;"><img src="templates/<? echo "$tfold" ?>/img_files/folder1.gif" border="0">&nbsp;&nbsp;
	<b><a href="news.php?id=<?=$nid?>" class="cata"><font color="#000000"><?=$tnews?></font></a></b><BR><BR><?=$dnews?></td></tr>
	<?	
	}
	?>
    </table>
	<table border="0" align="center" cellpadding="0" cellspacing="0" width="190">
<tr><td width="1%" height="10" valign="top"><img src=templates/<?=$tfold?>/img_files/h_bottom.gif></td>
</tr></table>