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

Parašė Tomcis· 2009 Kov. 10 23:03:53
#51

function newsopts($info,$sep,$class="") {
   global $locale; $res = "";
   $link_class = $class ? " class='$class' " : "";
   if (!isset($_GET['readmore']) && $info['news_ext'] == "y") $res = "<a href='pramogos.php?readmore=".$info['news_id']."'".$link_class.">".$locale['042']."</a> ".$sep." ";
   if ($info['news_allow_comments']) $res .= "<a href='pramogos.php?readmore=".$info['news_id']."'".$link_class.">".$info['news_comments'].$locale['043']."</a> ".$sep." ";
   if ($info['news_ext'] == "y" || $info['news_allow_comments']) $res .= $info['news_reads'].$locale['044']."\n";
   $res .= $sep." <a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";
   return $res;
}




bandyk. kąžką suvėliau.

Redagavo Tomcis· 2009 Kov. 10 23:03:10