Parašė edeni· 2009 Lap. 18 12:11:37
#8
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='494'>
<tr>
<td class='capmain-left'>$subject</td>
<td class='capmain-right' align='center'>".$info['news_comments']."</td>
</tr>
<tr>
<td class='main-body' colspan='2'>$news";
if (!isset($_GET['readmore'])){ echo "<a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>[Plačiau]";}
echo "</td>
</tr>
<tr>
<td class='news-footer' colspan='2'></td>
</tr>
</table>\n";
}
tau šitaip reikėjo ?