Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: news.php

Parašė Žmogus· 2008 Sau. 15 17:01:11
#13

function render_news($subject, $news, $info) {
   
global $locale;
   
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td class='cat'><table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td align='left'>";
   echo "<font class='news-title'>$subject ".$info['kategorija']."</b></font></td>";
   echo "</td></tr></table>";
   echo "</td></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'>&nbsp;";
   echo "".$locale['040']."<a href='profile.php?lookup=".$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='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 "".$info['news_reads'].$locale['044']." ";
   echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}




Ir pąrsisiųsk ta news.php by tifo