Файл: m/foot.php
Строк: 23
<?php
if(!$user_data)
{
echo '<div class="ft2"><a href="http://'.$set['home'].'/m/authentication" class = "op">Вход</a> | <a href="http://'.$set['home'].'/m/registration" class = "op">Регистрация</a></div> ';
}
else
{ echo '<div class="ft2">';
$adminka = ($user_data['level'] == 2) ? ' <a href="http://'.$set['home'].'/adm_panel/index.php" class = "op">Админ-Панель </a> |' : '';
echo ''.$adminka.'
<a href="http://'.$set['home'].'/m/office" class = "op">Кабинет</a> |
<a href="http://'.$set['home'].'/exit" class = "op">Завершить сеанс</a></div>';
}
$rekl = mysql_query("SELECT * FROM `".$prefix."rekl_niz` ORDER BY `position` ASC");
if(mysql_num_rows($rekl) > 0)
{
echo '<div class="title">';
while($row = mysql_fetch_assoc($rekl))
{
echo '<a href="http://'.$row['link'].'"><strong><font color="#'.$row['color'].'">'.$row['name'].'</font></strong></a><br/>';
}
echo '</div>';
}
echo '</div>';
echo '<div class="foot" style="text-align:center;"><a href="http://'.$set['home'].'"><b> © '.$set['home'].' & ApsenT 2014</b></a></div>';
echo '<center><a href="http://'.$set['home'].'/go/1"><img src="http://'.$set['home'].'/img_small/1" alt="'.$set['home'].'"/></a></center>';
echo '</body></html>';
ob_end_flush();
?>