View file include/apaksa.php

File size: 611B
<?php

//cik lietotāju online

$starpiba = time()-$oses;
$cik_online = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM online WHERE laiks>'".$starpiba."'"));

echo '<div class="sani" style="text-align: center">';
echo '<div class="vidus" style="text-align: center; max-width: 100px; margin: auto;">';
echo '<small>Online: <b><a href="./?kas=online&amp;sid='.$sid.'">'.$cik_online[0].'</a></b><br/>';
echo '<a href="http://visiem.if.ua/wap/?sid='.$sid.'">"Wap-Durvis"</a><br/>';
echo '2009, ['.round(($beigt-$sakt), 4).']</small>';
echo '</div></div></body></html>';
gzdocout(7);
exit();

?>