Файл: sys/inc/tfoot.php
Строк: 50
<nav class='navbar navbar-light' style='background-color: #009688; color: #fff;'>
<ul class='nav navbar-nav'>
<li class='nav-item'><a class='nav-link' href='/' data-toggle='tooltip' data-placement='right' title='На главную'><i class="material-icons">home</i></a></li>
<?php
if (isset($user)) {
if ($user['show_foot'] == 'on') {
$links = mysql_query("SELECT * FROM `links_foot_user` WHERE `id_user` = '$user[id]' ORDER BY `pos` ASC");
while ($post = mysql_fetch_array($links)) {
$link = mysql_fetch_array(mysql_query("SELECT * FROM `links_foot` WHERE `id` = '$post[id_link]' LIMIT 1"));
echo "<li class='nav-item'><a class='nav-link' href='$link[url]' data-toggle='tooltip' data-placement='top' title='$link[name]'><i class='material-icons'>$link[icon]</i></a></li>n";
}
echo "<li class='nav-item'><a class='nav-link' href='/user/links' data-toggle='tooltip' data-placement='top' title='Добавить ссылку'><i class='material-icons'>add</i></a></li>";
}
?>
<div class="dropdown" style="float: right;">
<span data-toggle='tooltip' data-placement='left' title='Выход'>
<a href="/exit.php" class="nav-link"><i class="material-icons">exit_to_app</i></a>
</span>
</div>
<?php
}
?>
</ul>
</nav>
<?php
$rekl = mysql_result(mysql_query("SELECT COUNT(*) FROM `rekl` WHERE `sel` = '3'"), 0);
if ($rekl > 0) {
echo "<div class='list-group-item list-group-item-warning' style='margin-top: -1px;'>n";
rekl(3);
echo "</div>n";
}
?>
</div>
</body>
</html>
<?php
exit;