<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?=$ecms->settings['sitetitle']?></title>
<? include ("themes/$ecms->theme/headerinclude.php"); ?>
</head>
<body>
<? include("themes/$ecms->theme/header.php"); ?>
<? for($i = 1; $i<$news['rowcount']; $i++) { ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table">
<tr>
<td class="thead"><?=$news[$i]['title']?></td>
</tr>
<tr>
<td class="tcontents"><table width="100%" border="0" cellspacing="3" cellpadding="0">
<tr>
<td>
<? if(!$news[$i]['catinfo']['picture'] == "") { ?>
<img src="<?=$ecms->rooturl?><?=$news[$i]['catinfo']['picture']?>" alt="<?=$news[$i]['catinfo']['title']?>" title="<?=$news[$i]['catinfo']['title']?>" style="float: right;">
<? } ?>
<?=nl2br(stripslashes($news[$i]['message']))?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td class="tfoot"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Posted by <a href="<? compileurl("community", array("profile",$news[$i]['posterinfo']['uid'])); ?>"> <?=$news[$i]['posterinfo']['username']?></a> on <?=date($ecms->settings['dateformatbig'],$news[$i]['timestamp'])?> at <?=date($ecms->settings['timeformat'],$news[$i]['timestamp'])?> in <?=$news[$i]['catinfo']['title']?></td>
<td><div align="right"><a href="<?=compileurl("news",array("view",$news[$i]['id']))?>">
<?=$news[$i]['comments']?>
Comments</a></div></td>
</tr>
</table></td>
</tr>
</table><br />
<? } ?>
<? if(!$_REQUEST['q1'] == "archive") {
?>
<div align="center"><a href="<? compileurl("news",array("archive")); ?>">News Archive</a></div>
<?
}
?>
<? include("themes/$ecms->theme/footer.php"); ?>
</body>
</html>