<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台登录 - <?php echo (C("WEB_TITLE")); ?></title>
<link href="/Public/Css/bbs.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="header">
<table class="htab" cellspacing="0" cellpadding="0">
  <tr>
    <td class="logo"><img src="/Public/Images/logo.png" /></td>
    <td width="400">
<div class="memu">
<ul>
<?php if(!$_SESSION['NR_USER_ID'] == ''): ?><li><a href="/Main.html" target="_self">首页</a></li>
<li><a href="/follower_<?php echo ($_SESSION['NR_USER_ID']); ?>.html" target="_self">我的粉丝</a></li>
<li><a href="/following_<?php echo ($_SESSION['NR_USER_ID']); ?>.html" target="_self">我的关注</a></li><?php endif; ?>
</ul>
</div>
	</td>
    <td width="300">
<?php if(!$_SESSION['NR_USER_ID'] == ''): ?><div class="huser">
<ul>
<li><a href="/Main.html?login=out" target="_self">退出</a></li>
<?php if($_SESSION['NR_USER_ID'] == 1): ?><li><a href="/Admin_login.html" target="_self">管理</a></li><?php endif; ?>
<li><a href="/U_data.html" target="_self"><?php echo (uname($_SESSION['NR_USER_ID'])); ?></a></li>
<li><a href="/U_img.html" target="_self"><img src="/Uploads/avatar/<?php echo (uimg($_SESSION['NR_USER_ID'])); ?>_small.jpg" /></a></li>
</ul>
</div>
<?php else: ?>
<div class="huser">
<ul>
<li><a href="/" target="_self">登录</a></li>
<li><a href="/register.html" target="_self">注册</a></li>
</ul>
</div><?php endif; ?>
	</td>
  </tr>
</table>
</div>


<!----------------------------------------------------代码开始---------------------------------------------------------->
<div class="adminlogin">
<form action="" method="post">
<input name="password" type="password" class="tput2" /><input name="submit" type="submit" value="登录后台" class="fsub" />
</form>
</div>
<!----------------------------------------------------代码结束---------------------------------------------------------->


<div class="key"></div>
<div class="bottom">
Powered by <a href="http://www.niren.net" target="_blank">泥人网络</a> 版权所有 &copy; 2011-2012
</div>
</body>
</html>