Parašė weberiz· 2009 Bir. 20 18:06:40
#1
matote?
man reikia kad ant tos lenteles roditu tiek pusos bet nieka nepadarau kad pajudetu :\
va kodas
function render_news($subject, $news, $info) {
global $locale;
echo "<table align='left' cellpadding='3' cellspacing='1' background='".THEME."images/naujiena.gif' height='69' align='left'>";
echo "<td width='740' style='padding-right:100px; padding-top:1px;' valign=''><font color='#ffffff'><b>$subject</b></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['040']."<a href='narys-".$info['user_id']."'>".$info['user_name']."</a> ";
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='failas-".$info['news_id']."'><img src='".THEME."images/ziureti.gif'></a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='failas-".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
echo "</td></tr></table></td></tr></table><br>\n";
}
Busiu labai dekingas