Parašė maxas66· 2011 Lie. 5 12:07:43
function render_news($subject, $news, $info) {
echo "<table align='center' cellpadding='0' cellspacing='0' width='528'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo " <span style='color: #fff;'> Komentaru: <b> [<span style='color: #2a9ed9;'>".$info['news_comments']."</span>]";
echo (!isset($_GET['readmore']) ? "<a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>Skaityti daugiau</a>" : "");
echo "</td>";
echo "</td>\n</tr>\n</table>\n";
}