Размер файла: 914B
<?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">';
include'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].'<br />';
}
print '</div><p>';
$n=$n+$c;
if($n<$cnt){print'><a href="smile.php?n='.$n;
if($pas!=''){print'&pas='.$pas;}
print'">Далее</a>';}
print'<br /><<<a href="index.php';
if($pas!=''){print'?pas='.$pas;}
print'">К темам</a></p></body></html>';
?>