$navstr
 

"; $f=file($basedir."news.txt"); if ((!$number)&&(!$quontity)) { $fullist=true; } if (!$number) $number=0; if (!$quontity) $quontity=sizeof($f)-1; if ($quontity>sizeof($f)-1) $quontity=sizeof($f)-1 ; echo ""; for ($i=$number;$i<=($number+$quontity);$i++) { if ($fullist) {$f[$i] = ereg_replace("
", "", $f[$i]);} $datepos = strpos($f[$i], "-"); if ($datepos == true): { echo ""; } else: { echo ""; } endif;} echo "
".substr("$f[$i]", 0, $datepos-1)."
".substr("$f[$i]", $datepos+1, strlen($f[$i])-$datepos)."
".$f[$i]."
"; echo "

"; require("../bottom.php"); ?>