Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: theme

Parašė robert· 2009 Kov. 29 11:03:54
#4

Šitą
function newsposter($info,$sep="",$class="") {
   global $locale; $res = "";
   $link_class = $class ? " class='$class' " : "";
   $res = "Per&#382;i&#363;r&#371; : <a href='news.php?readmore=".$info['news_id']."'>".$info['news_reads']."</a> | ";
   $res .= "Autorius : <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> |";
   $res .= "Komentar&#371; : (<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments']."</a>) ";
   return $res;
}



Pakeisk šitu
function newsposter($info,$sep="",$class="") {
   global $locale; $res = "";
   $link_class = $class ? " class='$class' " : "";
   $res = "Pla&#269;iau : <a href='news.php?readmore=".$info['news_id']."'>Pla&#269;iau</a> | ";
   $res .= "Per&#382;i&#363;r&#371; : <a href='news.php?readmore=".$info['news_id']."'>".$info['news_reads']."</a> | ";
   $res .= "Autorius : <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> |";
   $res .= "Komentar&#371; : (<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments']."</a>) ";
   return $res;
}