Файл: public_html/modules/forum/index.php
Строк: 16
<?php
$root = $_SERVER['DOCUMENT_ROOT'];
include_once ($root.'/core/base.php');
falseauth();
$header = "Форум";
include_once ($root.'/core/head.php');
$sections = $db->query("SELECT * FROM `forum_sections`");
if($sections->num_rows > 0)
{
while($s = $sections->fetch_object())
{
echo '<a class = "link" href="/forum/'.$s->id.'"><img src="/images/icons/9.png" width="30" height="30"> '.$s->name.'</a>';
}
}
else echo 'Нет разделов!';
include_once ($root.'/core/foot.php');