"; for ($i=1; $i<=$kolvo; $i++) { $fil1="posa".$i.".txt"; $fk=fopen("$fil1", "r"); $pp=fgets($fk); fclose($fk); echo ""; } echo "
=1) { if($kn<=5) { $knn=1; } if($kn>5) { $knn=$kn-4; } for ($j=$kn; $j>=$knn; $j--) { echo "
"; echo "
"; include ("../news/data".$j.".txt"); echo "

"; } } ?>

"; echo "
"; if ($pp==3) { echo "
"; } echo ""; } if ($pp==2) { echo "align=right>"; } if ($pp==3) { echo ">
"; } include ("text".$i.".txt"); echo "
"; ?>