6 |
kaklik |
1 |
<?php include "config.php";
|
|
|
2 |
print "<?xml version=\"1.1\" encoding=\"$lang[1]\"?>";
|
|
|
3 |
print '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
|
|
|
4 |
print "\n<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"$lang[2]\">\n";
|
|
|
5 |
print "<head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=$lang[1]\" />\n";
|
|
|
6 |
?><style type="text/css">
|
|
|
7 |
|
|
|
8 |
body{font-family:verdana,sans-serif;font-size:10px;color:black;background-color:white}
|
|
|
9 |
|
|
|
10 |
</style><title><?php print $lang[27];?></title></head><body>
|
|
|
11 |
<?php
|
|
|
12 |
$online=0;
|
|
|
13 |
$fs=refresh_online(0,1);
|
|
|
14 |
$online=count($fs);
|
|
|
15 |
|
|
|
16 |
$activity='-';
|
|
|
17 |
$fs=open_file($log_file,1);
|
|
|
18 |
if(isset($fs[0])&&strlen($fs[0])>9){
|
|
|
19 |
$activity=explode(":|:",$fs[0]);
|
|
|
20 |
$activity=substr($fs[0],0,10);
|
|
|
21 |
$activity=show_time($activity);}
|
|
|
22 |
|
|
|
23 |
print $lang[27].': '.$online.'<br />';
|
|
|
24 |
print $lang[28].': '.$activity;
|
|
|
25 |
|
|
|
26 |
?></body></html>
|