Parašė Creatium· 2013 Vas. 3 14:02:09
#3
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='left' class='news-footer'>
".showdate("%Y.%m.%d", $info['news_date'])."
</td>";
echo "<td align='right' class='news-footer'>
<a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>
<span style='color:#ffffff'><b>SKAITYTI DAUGIAU</b></span></a>
</a></span>";
echo "</td></tr></table></div></td>";
echo "</tr></table><div style='margin-top:5px'></div>\n";
Pabandyk taip. Sunku nematant realios situacijos prieš akis kažką tiksliau parodyt. Idealiausia būtų pamatyti gyvai tavo dizainą, jeigu mano variantas neveikia.