<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../inc/config.asp"-->
<!--#include file="../inc/conn.asp"-->
<!--#include file="checklogin.asp"-->
<%
dim u_type
u_type=Cint(session("TotCms_UserType"))
%>
<!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" />
<title>Untitled Document</title>
<style type="text/css">
<!--
a{font-size:12px; color:#000000; text-decoration:none;}
.title{ font-size:12px; font-weight:bold; color:#ff6600;}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #DBE7F5;
	font-size:12px;
}
ul{ margin:0px; padding:0px;}
li{ margin:0px; padding:0px; line-height:25px;}
.left_topic{
	display:block;
	margin:1px 0px 0px 0px;
	padding:0px;
	height:30px;
	text-align:center;
	line-height:30px; 	
	cursor:pointer;
	font-size:12px;
	color:#008080;
	border-bottom:1px solid #eee;
}
.left_topic a:link{ color:#008080;}
.left_topic a:hover{ color:#008080;}
.left_topic a:visited{ color:#008080;}

.left_topic:hover {height:30px; color:#fff; font-weight: bold; background-color:#008080;}
.left_topic:hover a:link{ color:#FFF;}
.left_topic:hover a:hover{ color:#FFF;}
.left_topic:hover a:visited{ color:#FFF;}
.left_topic.on{background-color:#FF0000}
.left_nav{ background-color:#FFF;}
.left_nav ul{ text-align:center; display:block; margin:0px; padding:0px;}
.left_nav li{margin-top:0px;height:24px;line-height:24px; text-align:center; background-image:url(../images/left_bg2.gif);}

-->
</style>
<script type="text/javascript">
function LeftShow(cid){
	for(var i=0;i<=5;i++){
		if(exitsDiv('leftnav_'+i)){
			document.getElementById('leftnav_'+i).style.display='none';
		}
	}
	document.getElementById('leftnav_'+cid).style.display='block';
}
function exitsDiv(divid){
	var chkid=document.getElementById(divid);
	if(chkid != null){return true; }
	else {return false; }
}
</script>
</head>

<body>
<div align="center" style="line-height:20px;"><a href="main.asp" target="mainFrame"><strong>
      <span class="title">会员中心</span></strong></a><br />
<%=checkusername%> [<span style="color:#F00;"><%if(u_type=1) then response.Write("企业会员") else response.Write("个人会员") end if%></span>]

<hr size="1" noshade="noshade" style="margin:0px; padding:0px; border:0px solid #eeeeee;" /></div>
<h2 class="left_topic" onclick="LeftShow(0)"><a href="main.asp" target="mainFrame">资料管理</a></h2>
<div class="left_nav" id="leftnav_0">
	<ul>   
    <li><a href="<%if(u_type=1) then response.Write("member_enterprise.asp") else response.Write("member_personal.asp") end if%>" target="mainFrame">修改资料</a></li>
		<li><a href="u_modpass.asp" target="mainFrame">修改密码</a></li>
  </ul>
</div>
<%
if(u_type=1) then
%>
<h2 class="left_topic" onclick="LeftShow(5)"><a href="main.asp" target="mainFrame">商家黄页</a></h2>
<div class="left_nav" id="leftnav_5" style="display:none">
	<ul>
		<li><a href="/u/show.asp?id=<%=checkusername%>" target="_blank">查看主页</a></li>
		<li><a href="member_news.asp" target="mainFrame">新闻管理</a></li>
		<li><a href="member_job.asp" target="mainFrame">招聘管理</a></li>
		<li><a href="member_product.asp" target="mainFrame">产品管理</a></li>
		<li><a href="member_commen.asp" target="mainFrame">评论管理</a></li>
		
  </ul>
</div>
<%
end if
%>
<h2 class="left_topic" onclick="LeftShow(1)"><a class="bgleft" href="#">问答管理</a></h2>
<div class="left_nav" id="leftnav_1" style="display:none">
	<ul>   
    <li><a href="ask.asp" target="mainFrame">我的提问</a></li>
    <li><a href="answer.asp" target="mainFrame">我的回答</a></li>
    
  </ul>
</div>
<h2 class="left_topic"><a href="favs.asp" target="mainFrame">收藏夹</a></h2>
<h2 class="left_topic"><a href="../logout.asp" target="_parent">退出</a></h2>


</body>
</html>
<%
call connclose()
%>