Parašė marius082· 2013 Vas. 2 10:02:53
#8
Kokį kodą čia pridėti, kad rodytų datą naujienose?
function render_news($subject, $news, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='34' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main3'>$subject</td>";
echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='34' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";
echo "<div style='margin-top:2px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
echo "<td align='right' class='news-footer'>
<a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>
<span style='color:#ffffff'>SKAITYTI DAUGIAU</span></a>
</a></span>";
echo "</td></tr></table></div></td>";
echo "</tr></table><div style='margin-top:5px'></div>\n";
Redagavo marius082· 2013 Vas. 2 10:02:21