View file smile.php

File size: 928B
<?php
Header('Cache-Control: no-cache, must-revalidate');
Header('Content-type:application/xhtml+xml;charset=utf-8');
@$pas=$_GET['pas'];
@$n=$_GET['n'];
print '<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru"><head><title>Смайлы</title>
<link rel="stylesheet" type="text/css" href="style.css" /></head><body><div class="fr">';
require('smiles.ini.php');
$cnt=count($sstr);
for($c=0;$c<7;$c++){
if($c+$n>$cnt-1) break;
print $simg[$c+$n].' '.$sstr[$c+$n].'<hr />
';
}
print '</div><p>';
$n=$n+$c;
if($n<$cnt){
 print '&gt;<a href="smile.php?n='.$n;
 if($pas) print '&amp;pas='.$pas;
 print '">Далее</a>';
}
print '<br />&lt;&lt;<a href="index.php';
if($pas) print '?pas='.$pas;
print '">B гoстeвую</a></p></body></html>';
?>