include"../global/global.php";
$logthis='News '.$line;
$line=(integer) $line;
include"../global/validate.php";
include"../global/flags.php";
dohead();
include"lang/".$char."news.php";
include"inc_news.php";
dopage($lng[0]);
$next=xnext();
$to="../users/auth/";
if (($id!="")&(!$valid)) include"../login/logoff.php"; else { echo $newsscript;
echo dohibar($lng[1],'C0C0C0'); ?>
echo dohelp(0).dorefresh('news.php'.$next2.'line='.$line); ?> echo $lng[2]; ?> | |||||
$i=1;
while (file_exists($lang.'/'.$i.".dat")) { $i++; }
$i--;
$posun="";
$blok=5;
if ($i>$blok) {
if (($line<0)|($line>=($i/$blok))) { $line=0; }
$posun='
\n"; $i-=$line*$blok; echo $posun; } while (($i>0)&($blok>0)) { $fl=fopen($lang.'/'.$i.".dat", "r"); $user=getone($fl); $time=getone($fl); $text=""; do { $mess=fread($fl,4096); $text.=$mess; } while (!($mess=="")); fclose($fl); ?>
\n"; $i--; $blok--; } echo $posun; echo $newsdesc; if ($admin) { ?>
} ?> |