Parašė Soo-2· 2008 Sau. 20 22:01:11
#3
nelabai kas gaunasi
function render_news($subject, $news, $info) {
global $locale;
echo "<table border='0' style=': 1px solid #c1d2ec' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<img align='center' border='0' src='".THEME."images/linija.gif'>";
echo "<td background='".THEME."images/cellpic_news.gif' height='30'><font class='block-title' align=>$subject</font></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
echo "<td height='24' align='right' class='news-footer'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' alt='' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table><br>\n";
}