View file realgb/who.php

File size: 737B
<?php
header ("Content-type:text/vnd.wap.wml; charset=utf-8");
print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
print '<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml><head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head><card title="real-gb"><p>';
print '<u>В гостевой сейчас:</u><br/>';
$data = file('online.dat');
foreach($data as $val)

{
   $ex = explode('::', $val);
   $ex2 = explode(' ', $ex[0]);
   
   print ''.$ex2[0].'<!--('.date('H:i', (int)(trim($ex[2]))).')--><br/>';
}
print '<anchor>Назад<prev/></anchor><br/>&#169;<a href="http://real4at.net.ru">real4at.net.ru</a><br/><br/>
</p>
</card>
</wml>';
?>