View file chatservice/sm/prsmiles.php

File size: 1.9Kb
<?php

$data[]="<img src=\"smiles/smirk.gif\" alt=\".smirk.\"/> .smirk.";
$data[]="<img src=\"smiles/snow.gif\" alt=\".snow.\"/> .snow.";
$data[]="<img src=\"smiles/str.gif\" alt=\".str.\"/> .str.";
$data[]="<img src=\"smiles/sun.gif\" alt=\".sun.\"/> .sun.";
$data[]="<img src=\"smiles/sunny.gif\" alt=\".sunny.\"/> .sunny.";
$data[]="<img src=\"smiles/notsure.gif\" alt=\".notsure.\"/> .notsure.";
$data[]="<img src=\"smiles/clock.gif\" alt=\".clock.\"/> .clock.";
$data[]="<img src=\"smiles/vopros.gif\" alt=\".vopros.\"/> .vopros.";
$data[]="<img src=\"smiles/smile.gif\" alt=\".smile.\"/> .smile.";
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>
<?php
//&#1074;&#1082;&#1083;&#1102;&#1095;&#1072;&#1077;&#1084; &#1082;&#1086;&#1085;&#1092;&#1080;&#1075;&#1091;&#1088;&#1072;&#1094;&#1080;&#1086;&#1085;&#1085;&#1099;&#1081; &#1092;&#1072;&#1081;&#1083;
include "../ini.php";
?>
<card title="&#1055;&#1088;&#1086;&#1093;&#1086;&#1078;&#1080;&#1084;">
<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=\"prsmiles.php?ci=$ci&amp;id=$id&amp;pass=$pass&amp;start=".($start-10)."\">".htmlspecialchars("<<<")."</a><br/>";
}
if($count1>$start+10)
{
print "<a href=\"prsmiles.php?ci=$ci&amp;id=$id&amp;pass=$pass&amp;start=".($start+10)."\"><br/>".htmlspecialchars(">>>")."</a><br/>";
}
print "<br/><a href=\"index.php?ci=$ci&amp;id=$id&amp;pass=$pass\">&#1057;&#1084;&#1072;&#1081;&#1083;&#1099;</a>";
ob_end_flush();
?>
</p>
</card>
</wml>