Parašė Jaunelis· 2009 Kov. 10 23:03:22
#52
hak3r1z parašė:
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&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.
šita pats dariau bet pasidaro toks ir ant news.php pagrindinio man man reikai kad ant pagrindinio (news.php) butu news.php o ant pramogos.php butu pramogos.php