Файл: wap-ads.ru/h.php
Строк: 44
<?php
echo "<title>$title</title><div style='background:white;'><a href='/'><img src='/images/logo.png'></a></div>";
echo "<div style='text-align:right;' class='aut'>";
if(!isset($user))
{
echo "<div id='navis'><table style='width:100%' cellspacing='0' cellpadding='0'><tr><span style='color:#445988'><td style='vertical-align:top;width:21%;border-right:solid;border-width:1px;'></span><a class='top_menu_link' href='?auth'>Вход</a></td><span style='color:#445988'><td style='vertical-align:top;width:19%'></span><a class='top_menu_link user_color_link' href='?reg'>Регистрация</a></td></tr></table></div>";
} else {
echo "<div id='navis'><table style='width:100%' cellspacing='0' cellpadding='0'><tr><span style='color:#445988'><td style='vertical-align:top;width:21%;border-right:solid;border-width:1px;'></span><a class='top_menu_link' href='?mainmenu'>$user[nick]</a></td><span style='color:#445988'>".($user['status']>=4?"<td style='vertical-align:top;width:21%;border-right:solid;border-width:1px;'>":"<td style='vertical-align:top;width:19%'>")."</span><a class='top_menu_link user_color_link' href='?out'>Выход</a></td>".($user['status']>=4?"<span style='color:#445988'><td style='vertical-align:top;width:19%'></span><a class='top_menu_link user_color_link' href='?admin'>Админка</a></td>":null)."</tr></table></div>";
}
echo "</div>";
?>