View file system/foot.php

File size: 1.85Kb
<?php

$online=mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `online`>".(time()-120).""),0);
$neaon=mysql_result(mysql_query("SELECT COUNT(*) FROM `online` WHERE `timer`>'".(time()-120)."'"),0);
$allus=mysql_result(mysql_query("SELECT COUNT(*) FROM `users` ORDER BY `id_user`"),0);
$newusdg=mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `dateregi`>'".(time()-86400)."'"),0);
if($newusdg!=0){$gneusdg='/<font color="red">+'.$newusdg.'</font>';}else{echo'';}

echo'</br><img src="'.$dirsite.'/design/default/home.gif" alt="-"> <a href="'.$dirsite.'/">На главную</a>';

    echo '<hr>

    <form action="' . $dirsite . '/go.php" method="post">';
    echo '<select name="adres" style="font-size:x-small">
	<option selected="selected">Быстрый переход</option>
	<option value="guest">Гостевая</option>
	<option value="forum">Форум</option>
    <option value="pohc">Почта</option>
    <option value="gallery">Блог</option>
    <option value="down">Загрузки</option>
    <option value="library">Библиотека</option>
    <option value="chat">Чат</option>
     </select><input type="submit" value="Go!" style="font-size:x-small"/>';
    echo '</form>       </div>

';



echo'<div class="sep">На сайте: <a href="'.$dirsite.'/pages/online.php">'.$online.'/'.$neaon.'</a><br>Всего зарегистрированно: <a href="/pages/users.php"> '.$allus.$gneusdg.'</a>';
echo'</div>

<div class="sep">





<a href="http://qpik.ru"><img src="' . $dirsite . '/img/banner4.gif" alt="Надежный хостинг"/></a><br/> 

<a href="http://waplog.net/c.shtml?336040"><img src="http://c.waplog.net/336040.cnt" alt="" /></a>
 <br/> 
</div>

<div class="foot2" align="center">' . $mrak . '</a><br>
<div class="foot2" align="center">' . $ron . '</a><br></div>




</body></html>
';

?>