Просмотр файла smile.php

Размер файла: 931B
<?php
require('incs/ini.php');
Header('Cache-Control: no-cache, must-revalidate');
Header('Content-type:application/xhtml+xml;charset=utf-8');
$n=intval(@$_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="a" style="text-align: center">';
require('incs/smiles.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.'&amp;'.SID.'">Далее</a><br />');
print('[<a href="index.php'.psid().'">B гoстeвую</a>]</p></body></html>');
$onl = new online;
$onl->add();
?>