View file gbb/guest.php

File size: 1.47Kb
<?

Error_Reporting(E_ALL & ~E_NOTICE);
header("Content-type:text/vnd.wap.wml;charset=UTF-8");
print "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">
<wml>
<card id=\"tes\" title=\"Mobilka.Us GB\"> 


  



<p>
";

$glav = @implode("",@file("konfig/$nom.dionisij"));  
$glav = trim("$glav");
$id = @implode("",@file("cont/$nom.dat"));

if ($nomber == 0)  $nomber = "$id" ;

 



print "
<a href=\"obr.php?nom=$nom\">&#x041D;&#x0430;&#x043F;&#x0438;&#x0441;&#x0430;&#x0442;&#x044C;</a><br/>";


$var = 3;                ////////////// число сообщений на странице (чило сообщений = var + 1 !!!)
   $i = 0;
   while($i <= $var)
   {
       $text = @implode("",@file("rek/$nomber=$nom.txt"));                                            /////////////////////// измени деректорию рекорд!
$nomber = $nomber-1; 
   if ($text!=99999)  { print "$text"; $i=$i+1; };
if ($nomber <= 0) {$i == $var+1;};

};






print "<br/>

<a href=\"obr.php?nom=$nom\">&#x041D;&#x0430;&#x043F;&#x0438;&#x0441;&#x0430;&#x0442;&#x044C;</a><br/>

<a href=\"guest.php?nom=$nom&amp;nomber=$nomber\">&#x0414;&#x0430;&#x043B;&#x0435;&#x0435;</a><br/>


<a href=\"$glav\">&#x041D;&#x0430; &#x0433;&#x043B;&#x0430;&#x0432;&#x043D;&#x0443;&#x044E;</a><br/>---<br/>
<a href=\"http://http://wapg3.playfon.ru/?ph_did=298737\">Best JAVA</a><br/>



</p> </card></wml>";

?>