File size: 3.71Kb
<?
header("Content-type:text/vnd.wap.wml; charset=UTF-8");
print '<?xml version="1.0"?>';
if (empty($pg)) $pg="";
?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="Смайлы">
<p>
<?
switch ($pg){
case 5:
?>
<img src="smiles/heart.gif" alt=".heart."/>
.heart.
<br/>
<img src="smiles/talk.gif" alt=".talk."/>
.talk.
<br/>
<img src="smiles/cvetok.gif" alt=".cvetok."/>
.cvetok.
<br/>
<img src="smiles/love.gif" alt=".love."/>
.love.
<br/>
<img src="smiles/kruzhka.gif" alt=".kruzhka."/>
.kruzhka.
<br/>
<img src="smiles/4mok.gif" alt=".4mok."/>
.4mok.
<br/>
<img src="smiles/love.you.gif" alt=".love.you."/>
.loveyou.
<br/>
<img src="smiles/smoke.gif" alt=".smoke."/>
.smoke.
<br/>
<a href="<?url(1);?>">
Дальше
</a>
<?
break;
case 4:
?>
<img src="smiles/chmok.gif" alt=".chmok."/>
.chmok.
<br/>
<img src="smiles/ne.znayu.gif" alt=".ne.znayu."/>
.ne.znayu.
<br/>
<img src="smiles/jump.gif" alt=".jump."/>
.jump.
<br/>
<img src="smiles/good.gif" alt=".good."/>
.good.
<br/>
<img src="smiles/chmak.gif" alt=".chmak."/>
.chmak.
<br/>
<img src="smiles/clock.gif" alt=".clock."/>
.clock.
<br/>
<img src="smiles/zubastik.gif" alt=".zubastik."/>
.zubastik.
<br/>
<img src="smiles/warning.gif" alt=".warning."/>
.warning.
<br/>
<img src="smiles/zloi.gif" alt=".zloi."/>
.zloi.
<br/>
<a href="<?url(5);?>">
Дальше
</a>
<?
break;
case 3:
?>
<img src="smiles/wink.gif" alt=".wink."/>
.wink.
<br/>
<img src="smiles/tongue.gif" alt=".tongue."/>
.tongue.
<br/>
<img src="smiles/worry.gif" alt=".worry."/>
.worry.
<br/>
<img src="smiles/vopros.gif" alt=".vopros."/>
.vopros.
<br/>
<img src="smiles/pivo.gif" alt=".pivo."/>
.pivo.
<br/>
<img src="smiles/be.gif" alt=".be."/>
.be.
<br/>
<img src="smiles/bumbum.gif" alt=".bumbum."/>
.bumbum.
<br/>
<img src="smiles/eat.gif" alt=".eat."/>
.eat.
<br/>
<img src="smiles/sleza.gif" alt=".sleza."/>
.sleza.
<br/>
<a href="<?url(4);?>">
Дальше
</a>
<?
break;
case 2:
?>
<img src="smiles/notsure.gif" alt=".notsure."/>
.notsure.
<br/>
<img src="smiles/ooh.gif" alt=".ooh."/>
.ooh.
<br/>
<img src="smiles/rolleyes.gif" alt=".rolleyes."/>
.rolleyes.
<br/>
<img src="smiles/sad.gif" alt=".sad."/>
.sad.
<br/>
<img src="smiles/sleep.gif" alt=".sleep."/>
.sleep.
<br/>
<img src="smiles/smile.gif" alt=".smile."/>
.smile.
<br/>
<img src="smiles/stress.gif" alt=".stress."/>
.stress.
<br/>
<img src="smiles/tired.gif" alt=".tired."/>
.tired.
<br/>
<img src="smiles/urgh.gif" alt=".urgh."/>
.urgh.
<br/>
<a href="<?url(3);?>">
Дальше
</a>
<?
break;
default :
?>
<img src="smiles/biggrin.gif" alt=".ulibka."/>
.ulibka.
<br/>
<img src="smiles/blush.gif" alt=".blush."/>
.blush.
<br/>
<img src="smiles/boggle.gif" alt=".boggle."/>
.boggle.
<br/>
<img src="smiles/confused.gif" alt=".confused."/>
.confused.
<br/>
<img src="smiles/cool.gif" alt=".cool."/>
.cool.
<br/>
<img src="smiles/eek.gif" alt=".eek."/>
.eek.
<br/>
<img src="smiles/huh.gif" alt=".huh."/>
.huh.
<br/>
<img src="smiles/inlove.gif" alt=".inlove."/>
.inlove.
<br/>
<img src="smiles/mad.gif" alt=".mad."/>
.mad.
<br/>
<a href="<?url(2);?>">
Дальше
</a>
<?
break;
}
?>
<br/>
<a href="<? print "index.php?p=".rand(0,100000)."&go=add"?>">
Выход
</a>
</p>
</card>
</wml>
<?
function url($page)
{
global $PHP_SELF ;
print $PHP_SELF."?p=".rand(0,100000)."&pg=".$page;
}
?>