View file foot.php

File size: 530B
<?php
$news = mysql_result(mysql_query("SELECT COUNT(*) FROM news"),0);
$comm = mysql_result(mysql_query("SELECT COUNT(*) FROM comments"),0);
echo '
<div class="line">
Новостей: '.$news.'<br />
Комментариев: '.$comm.'<br />
<a href="index.php?do=bb">BB коды</a><br />';
if ($admin == 1){echo '<a href="panel.php?do=settings">Настройки</a><br />
<a href="panel.php?do=exit">Выход</a>';
}
echo '

</div>
<div class="foot">(c) icecode</div>
</body>
</html>';
ob_end_flush();
?>