<?php
include_once( ROOT . 'lib/biz.function.php' );
include_once( ROOT . 'lib/discuz.function.php' );
?><meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<HTML>
<HEAD>
<TITLE> top </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<link href="res/css/douya.css" rel="stylesheet" type="text/css">
</HEAD>

<BODY><br/>
<table border="0" width="98%" id="table1" cellspacing="0" cellpadding="0" height="40" align="center">
	<tr>
		<td valign="top">管理选项: 
		<a href="?a=admin_left&type=basic" target="contents">网站设定</a> |
		<a href="?a=admin_left&type=web2" target="contents">网站运营</a> |
		<a href="?" target="_blank">进入网站</a><br><br><br><p class="title_2">WebMagik管理页面</p> 
		</td>
		<td rowspan="2" valign="bottom">
		<p align="right">
		<a href="<?php echo _conf('WEB_SITE_ROOT_URL');  ?>"><img border="0" src="<?php echo _conf( 'WEB_SITE_LOGO_URL' )?>"  vspace="8" hspace="20"></a><br/>
		<?php if( !is_login() ): ?>
		你好，请 <a href="?a=login">登录</a> 或 <a href="?a=register">注册</a>
		<?php else: ?>
		<a href="?a=login" style="color: #999999;">我不是<?php echo $_SESSION['dy_nickname'] ?></a>　　　<a href="?a=riki&tag=help"><?php echo _conf( 'WEB_SITE_NAME' ) ?>指南</a>  · <?php echo $_SESSION['dy_nickname'] ?>的<a href="?a=settings">设置</a>
		<?php if( _conf( 'DZ_ON' ) && is_login() ): ?>
		· <a href="<?php echo _conf('DZ_INDEX_URL') ?>webii.php?forward=pm.php" target="_blank">站内邮件<?php  $pm_num = get_user_discuz_pm() ; if( $pm_num > 0) : ?>(<?php echo $pm_num ?>)<?php endif; ?></a>
		<?php endif; ?>
		· <a href="?a=logout" target="">退出</a>
		<?php endif; ?>
		</td>
	</tr>
	</table>

<hr align="left" color="#eff1f2" noShade SIZE="1">
</BODY>
</HTML>