Размер файла: 812B
<?php
require('ini.php');
Header('Cache-Control: no-cache, must-revalidate');
Header('Content-Type:application/xhtml+xml;charset=utf-8');
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><div class="a">');
$onl = new online;
for($i=0;$i<$onl->cnt;$i++){
$who=explode('|:|',$onl->arr[$i]);
print ($i+1).'.<span class="b">'.$who[0].'</span> '.date('H:i',intval($who[1])).'<hr />
';
}
if($onl->cnt==0) print('Пуcтo.');
print('</div>[<a href="index.php'.psid().'">B гocтeвую</a>]</div></body></html>');
?>