Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: news-footer

Parašė Žmogus· 2007 Rugs. 1 19:09:30
#6

function render_news($subject, $news, $info) {
   

   
   echo "<table border='0' style=': 1px solid #191928' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='' height='24'><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 "<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";
}



Manau suprasi, kur keisti
Nu jei suprasi tai ce pats galesi pasiredaguoti ;)

Toonis: Išjungiau smailus.

Redagavo Toonis· 2007 Rugs. 1 20:09:23