<a href=".$_SERVER["PHP_SELF"]."?news_action=more&newsid=$i>
czytaj więcej</a> ]\n";
}else{
$NEWSFULLSHOW="";
}
$NEWSBODY=$NEWSBODY.$NEWSFULLSHOW;
if($disable_comments!=1 && ($_GET["news_action"]=="display" || $_GET["news_action"]=="" || $_GET["news_action"]=="more")){
$comment_file=ereg_replace("-", "", $data["1"]);
$comment_file.=ereg_replace(":", "", $data["2"]);
$NEWSCOMMENTS="<a href=".$_SERVER["PHP_SELF"]."?news_action=comments&news_base=$comment_file&newsid=$i>
komentarze</a> [".$data[6]."]\n";
$NEWSADDCOMMENT="<a href=".$_SERVER["PHP_SELF"]."?news_action=new_comment&news_base=$comment_file&newsid=$i>
skomentuj</a>\n";
$NEWSCOMMENTSLINKS=$NEWSCOMMENTS." | ".$NEWSADDCOMMENT;
$NEWSPRINT="<a href=".$page_url."news/printnews.php?newsid=$i target=\"_blank\">
drukuj</a>\n";
}else{
$NEWSCOMMENTSLINKS="";
}
$NEWSMENULINKS=$NEWSCOMMENTSLINKS;
if($disable_print==0 && $disable_comments!=1 && $NEWSMENULINKS!=""){
$NEWSMENULINKS.=" | ";
}
if($disable_print==0){
$NEWSMENULINKS.=$NEWSPRINT;
}
$NEWSSIZE=strlen($NEWSBODY);
$PRINTPAGE="$news_path/news/printnews.php";
include "$news_path/news/template/$theme/news.tpl";
echo $news_tpl;
unset($words_all);
unset($add_end);
unset($NEWSDATE);
}
if($_GET["list"]=="" && $newsid==-1){
$BOTTOMLINKS="<a href=\"".$_SERVER["PHP_SELF"]."?list=all\">
wszystkie newsy</a> [$news_total]\n";
}else{
$BOTTOMLINKS="<a href=\"".$_SERVER["PHP_SELF"]."\">
ostatnie newsy</a> [$show_num]\n";
I co teraz????
