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\">Написать</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\">Написать</a><br/>
<a href=\"guest.php?nom=$nom&nomber=$nomber\">Далее</a><br/>
<a href=\"$glav\">На главную</a><br/>---<br/>
<a href=\"http://http://wapg3.playfon.ru/?ph_did=298737\">Best JAVA</a><br/>
</p> </card></wml>";
?>