Размер файла: 813B
<?php
@$pas=$_GET['pas'];
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="fr">';
$array=file('online.dat');
foreach($array as $n=>$str){
$ex=explode(':||:',$str);
$ex[0]=strtok($ex[0],' ');
print ($n+1).'.<u class="bl">'.$ex[0].'</u> '.date('H:i',($ex[2])).'<hr />';
}
print '</div>[<a href="index.php';
if($pas) print '?pas='.$pas;
print '">К темам</a>]</div></body></html>';
?>