Parašė Delive· 2011 Lap. 12 15:11:56
#8
avice parašė:
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='40' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main3'><div class='panel-title-main'>$subject</div></td>";
echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='40' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
echo "<td align='left' class='infobar'>
<a href='".BASEDIR."profile.php?lookup=".$info['user_id']."'>
<img src='".THEME."images/bullet.gif' alt=''> <b>".$info['user_name']."</b></a>
<img src='".THEME."images/bullet.gif' alt=''> ".showdate("%Y - %m - %d", $info['news_date'])."
<a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>
<img src='".THEME."images/bullet.gif' alt=''> <b> Skaityti daugiau... </b></a>
<img src='".THEME."images/bullet.gif' alt=''> ".$info['news_reads']." Peržiūros
<img src='".THEME."images/bullet.gif' alt=''> ".$info['news_comments']." Komentarai</div></td>";
echo "</td></tr></table></div></td>";
echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'>";
echo "</td></tr><tr>";
echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><div style='margin-top:5px'></div>\n";
}
pagal sy koda tikrink visus style.
Nieko
Gal galetum su style.css iskarto ?
Redagavo Delive· 2011 Lap. 12 15:11:06