Размер файла: 612B
<?php
// made by mides
include_once("config.php");
include_once("header.php");
include_once("functions.php");
echo '<div class="top">'.$title.'</div>';
echo '<div class="s1">Кто онлайн?</div>';
echo '<div class="s2">';
$result = mysql_query("SELECT * FROM online");
$myrow = mysql_fetch_array($result);
do
{
printf("- %s | %s<br/>", $myrow['ip'], $myrow['time']);
}
while ($myrow = mysql_fetch_array($result));
echo '</div><div class="s1">Навигация</div>';
echo '<div class="s2"><a href="./">вернуться</a><br/><a href="'.$main.'">на главную</a></div>';
include_once("tail.php");
?>