<?php
	!defined('DIRCMS_MANAGE') && exit('Access Denied!');
?>
<!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=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="admin/template/css/left.css" type="text/css" rel="stylesheet" />
<title>左侧菜单</title>
<script src="images/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" charset="utf-8" src="admin/template/js/admin.js"></script>
</head>

<body oncontextmenu="return false" ondragstart="return false" onSelectStart="return false">
	<div class="div_bigmenu">
		<div class="div_bigmenu_nav_down" id="nav_1" onclick="javascript:lefttoggle(1);">常用操作</div>
		<ul id="ul_1">
			<li><a href="<?php echo ADMIN_FILE;?>?file=config&tab=1" target='main'>网站配置</a></li>
			<?php if(in_array('content',$mymenu)){?><li> <a href="<?php echo ADMIN_FILE;?>?file=content&action=manage" target='main'>内容管理</a></li><?php }?>
			<?php if(in_array('member',$mymenu)){?><li> <a href="<?php echo ADMIN_FILE;?>?file=member&action=manage" target='main'>会员管理</a></li><?php }?>
			<?php if(in_array('guestbook',$mymenu)){?><li> <a href="<?php echo ADMIN_FILE;?>?file=guestbook&action=manage" target='main'>网站留言</a></li> <?php }?>
			<?php if(in_array('link',$mymenu)){?><li> <a href="<?php echo ADMIN_FILE;?>?file=other&action=flink" target='main'>友情链接</a></li><?php }?>
			<?php if(in_array('ads',$mymenu)){?><li> <a href="<?php echo ADMIN_FILE;?>?file=other&action=ads" target='main'>广告管理</a></li><?php }?>
			<?php if(in_array('template',$mymenu)){?><li> <a href="<?php echo ADMIN_FILE;?>?file=template&action=manage" target='main'>模板布局</a></li><?php }?>
		</ul>
	</div>
	<?php if(in_array('member',$mymenu)){?>
	<div class="div_bigmenu">
		<div class="div_bigmenu_nav_down" onclick="javascript:lefttoggle(2);" id="nav_2">个人信息</div>
		<ul id="ul_2">
			<li> <a href="member/index.php?file=user&action=editphoto" target='main'>上传头像</a></li>
			<li> <a href="<?php echo ADMIN_FILE;?>?file=member&action=edit&id=<?php echo $_userid;?>" target='main'>修改资料</a></li>
			<li> <a href="<?php echo ADMIN_FILE;?>?file=member&action=edit&id=<?php echo $_userid;?>" target='main'>修改密码</a></li>
			<li> <a href="javascript:void(0);" onClick="self.top.location.href='<?php echo ADMIN_FILE;?>?file=login&action=logout'">注销退出</a></li>
		</ul>
	</div>
	<?php }?>
</body>
</html>
