File size: 1.63Kb
<table class='table_aut' cellspacing="0" cellpadding="0">
<tr>
<td class='block12'>
<?
if (isset($user))
echo $user['nick'];
else
echo "Вы: Гость";
?>
</td>
</tr>
<tr>
<td class='block21'>
<div class='menu'>
<?
if (isset($user))
{
include_once H.'sys/inc/umenu.php';
echo "<br />\n";
echo "<span class=\"ank_n\">Баллы:</span> <span class=\"ank_d\">$user[balls]</span><br />\n";
echo "<span class=\"ank_n\">Рейтинг:</span> <span class=\"ank_d\">$user[rating]</span><br />\n";
if ($user['level']>0)
{
if ($user['ip']!=0)echo "<span class=\"ank_n\">IP:</span> <span class=\"ank_d\">".long2ip($user['ip'])."</span><br />\n";
if ($user['ua']!=NULL)echo "<span class=\"ank_n\">UA:</span> <span class=\"ank_d\">$user[ua]</span><br />\n";
if (opsos($user['ip']))echo "<span class=\"ank_n\">Пров:</span> <span class=\"ank_d\">".opsos($user['ip'])."</span><br />\n";
}
echo "<br />\n";
echo "<a href='/exit.php'>Выход</a><br />\n";
}
else
{
echo "<form method='post' action='/'>\n";
echo "Логин:<br /><input type='text' name='nick' maxlength='32' /><br />\n";
echo "Пароль (<a href='/pass.php'>Забыли</a>):<br /><input type='password' name='pass' maxlength='32' /><br />\n";
echo "<input type='submit' value='Войти' />\n";
echo "</form><br />\n";
echo "<a href='/reg.php'><b>Регистрация</b></a><br />\n";
}
?>
</div>
</td>
</tr>
<tr>
<td class='block23'></td>
</tr>
<tr>
<td class='block12'>
</td>
</tr>
<tr>
<td class='block21'>
<div class='rekl1'>
<?
rekl(3);
?>
</div>
</td>
</tr>
<tr>
<td class='block23'></td>
</tr>
</table>