Размер файла: 3.11Kb
<?php
$data[]="<img src=\"smiles/idea.gif\" alt=\".idea.\"/> .idea.";
$data[]="<img src=\"smiles/tecsha.gif\" alt=\".tecsha.\"/> .tecsha.";
$data[]="<img src=\"smiles/hearts.gif\" alt=\".hearts.\"/> .hearts.";
$data[]="<img src=\"smiles/candy.gif\" alt=\".candy.\"/> .candy.";
$data[]="<img src=\"smiles/cens.gif\" alt=\".cens.\"/> .cens.";
$data[]="<img src=\"smiles/chupa.gif\" alt=\".chupa.\"/> .chupa.";
$data[]="<img src=\"smiles/cry.gif\" alt=\".cry.\"/> .cry.";
$data[]="<img src=\"smiles/butylka.gif\" alt=\".butylka.\"/> .butylka.";
$data[]="<img src=\"smiles/buhaem.gif\" alt=\".buhaem.\"/> .buhaem.";
$data[]="<img src=\"smiles/money.gif\" alt=\".money.\"/> .money.";
$data[]="<img src=\"smiles/money2.gif\" alt=\".money2.\"/> .money2.";
$data[]="<img src=\"smiles/hitrost.gif\" alt=\".hitrost.\"/> .hitrost.";
$data[]="<img src=\"smiles/banan.gif\" alt=\".banan.\"/>.banan.";
$data[]="<img src=\"smiles/bebe.gif\" alt=\".bebe.\"/>.bebe.";
$data[]="<img src=\"smiles/beer.gif\" alt=\".beer.\"/>.beer.";
$data[]="<img src=\"smiles/box.gif\" alt=\".box.\"/>.box.";
$data[]="<img src=\"smiles/chmok2.gif\" alt=\".chmok2.\"/>.chmok2.";
$data[]="<img src=\"smiles/chmoks.gif\" alt=\".chmoks.\"/>.chmoks.";
$data[]="<img src=\"smiles/condom.gif\" alt=\".condom.\"/>.condom.";
$data[]="<img src=\"smiles/drink.gif\" alt=\".drink.\"/>.drink.";
$data[]="<img src=\"smiles/duel.gif\" alt=\".duel.\"/>.duel.";
$data[]="<img src=\"smiles/dum2.gif\" alt=\".dum2.\"/>.dum2.";
$data[]="<img src=\"smiles/dum3.gif\" alt=\".dum3.\"/>.dum3.";
$data[]="<img src=\"smiles/flip.gif\" alt=\".flip.\"/>.flip.";
$data[]="<img src=\"smiles/food.gif\" alt=\".food.\"/>.food.";
$data[]="<img src=\"smiles/fuck2.gif\" alt=\".fuck2.\"/>.fuck2.";
$data[]="<img src=\"smiles/ghost.gif\" alt=\".ghost.\"/>.ghost.";
$data[]="<img src=\"smiles/heart2.gif\" alt=\".heart2.\"/>.heart2.";
$data[]="<img src=\"smiles/hi2.gif\" alt=\".hi2.\"/>.hi2.";
$data[]="<img src=\"smiles/hmm.gif\" alt=\".hmm.\"/>.hmm.";
$data[]="<img src=\"smiles/hnyk.gif\" alt=\".hnyk.\"/>.hnyk.";
$data[]="<img src=\"smiles/ign.gif\" alt=\".ign.\"/>.ign.";
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><head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>
<card title="">
<p>
<?php
$i=count($data);
$count=$i;
$count1=$count;
if(empty($start))
$start=0;
$start=intval($start);
if($start<0)
$start=0;
if($count>$start+10) $count=$start+10;
for($i=$start;$i<$count;$i++)
{
print $data["$i"]."<br/>";
}
if($start!=0)
{
print "<a href=\"pochsmiles.php?id=$id&login=$login&pass=$pass&start=".($start-10)."&cid=$cid\">".htmlspecialchars("<<<")."</a><br/>";
}
if($count1>$start+10)
{
print "<a href=\"pochsmiles.php?id=$id&login=$login&pass=$pass&start=".($start+10)."&cid=$cid\"><br/>".htmlspecialchars(">>>")."</a><br/>";
}
print "<br/><a href=\"index.php?id=$id&login=$login&pass=$pass&cid=$cid\">Smiles</a>";
?>
</p>
</card>
</wml>