View file forum/index2.php

File size: 1.87Kb
<?
Error_Reporting(E_ALL & ~E_NOTICE);        
              
include 'head.php';

include 'config.php'; 							

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

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

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

if($nrazd<$mess) {print"
<a href=\"index2.php?log=$log&amp;par=$par\">&#x0414;&#x0430;&#x043B;&#x0435;&#x0435;</a><br/>";}

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


print "";
if($log!="") {print"
<p class=\"p2\">
<img src=\"st/67.gif\" alt =\"+\"/>
<a href=\"profil.php?mest=index&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=index\"><font color=\"blue\">[$sktext[1]]</font></a>
</p><p class=\"p2\">
<img src=\"st/22.gif\" alt =\"+\"/>
<a href=\"pravila2.php\"><font color=\"blue\">[&#x043F;&#x0440;&#x0430;&#x0432;&#x0438;&#x043B;&#x0430; &#x0444;&#x043E;&#x0440;&#x0443;&#x043C;&#x0430;]</font></a>
</p><p class=\"p2\">
<img src=\"st/21.gif\" alt =\"+\"/>
<a href=\"stat2.php\"><font color=\"blue\">[&#x0441;&#x0442;&#x0430;&#x0442;&#x0438;&#x0441;&#x0442;&#x0438;&#x043A;&#x0430;]</font></a></p>
";}	
print"
<p class=\"p2\">
<img src=\"st/44.gif\" alt =\"+\"/>
<a href=\"$gl\"><font color=\"blue\">[$sktext[0]]</font></a><br/></p>
<p class=\"p2\">
<img src=\"st/32.gif\" alt =\"+\"/>
<a href=\"index.php\"><font color=\"blue\">wap.1.2</font></a>
+<font color=\"black\">html</font>
</p>
";

include 'foot.php';
?>