View file forum/prazd2.php

File size: 1.36Kb
<?
Error_Reporting(E_ALL & ~E_NOTICE);         
     

include 'head.php';
include 'config.php';

							
$mes = @implode("",@file("rek/$razd.prazd"));     ///// открываем счетчик с количеством тем

if ($nrazd=="") {$nrazd=1;}
$nf=1;  
while($nf <= 15)

   {	$naz = @implode("",@file("rek/$razd=$nrazd.tp"));
	$naz=trim($naz);
	if($naz!=""){print"
<p class=\"p2\">
<img src=\"st/46.gif\" alt =\"+\"/>
<a href=\"tem2.php?prazd=$nrazd&amp;log=$log&amp;par=$par&amp;razd=$razd\"><font color=\"blue\">$naz</font></a><br/></p>"; $nf=$nf+1;}
	$nrazd=$nrazd+1;
	if($nrazd>$mes) {$nf=20;}
};

if($nrazd<$mess) {print"<a href=\"prazd.php?razd=$razd&amp;log=$log&amp;par=$par\"><font color=\"blue\">[$sktext[13]]</font></a><br/>";}

$privat = @implode("",@file("profil/$log.shp"));  
$privat=trim($privat);



if($log!="") {print"<p class=\"p2\">
<img src=\"st/67.gif\" alt =\"+\"/>
<a href=\"profil.php?mest=prazd&amp;razd=$razd&amp;log=$log&amp;par=$par\"><font color=\"blue\">[$log]</font></a></p>";} else {print"
<p class=\"p2\">
<img src=\"st/48.gif\" alt =\"+\"/>
<a href=\"vxod.php?mest=prazd&amp;razd=$razd\"><font color=\"blue\">[$sktext[1]]</font></a></p>";}	
print"<p class=\"p2\">
<img src=\"st/44.gif\" alt =\"+\"/>
<a href=\"index2.php?log=$log&amp;par=$par\"><font color=\"blue\">[$sktext[12]]</font></a></p>";


print "";
include 'foot.php';
?>