<div class="panel">
<%	Set Rsp=Server.CreateObject("ADODB.Recordset")
		Rsp.Open "Select * from employee where id="&Session("employee_id"),conn,1,1
			If Not Rsp.bof and Not Rsp.eof Then
				em_user=TextUnCode(Rsp("em_user"))
				em_role=Rsp("em_role")
				em_code=TextUnCode(Rsp("em_code"))	
				em_email=TextUnCode(Rsp("em_email"))	
				em_tel=TextUnCode(Rsp("em_tel"))					
			Else
				Rsp.close
				Set Rsp=Nothing
				conn.close
				set conn=nothing
				Response.redirect "/"
				Response.end
			End If
		Rsp.close
		

		
	Set Rsp=Nothing
	
	
	
	
%>

	<section>
		<h3><%=em_user%></h3>
		<div class="role_text"><%If em_role=0 then response.write "组长" Else Response.write "组员"%></div>
		<ul class="lxfs">
			<li class="tel"><%=em_tel%></li>
			<li class="mail"><%=em_email%></li>			
		</ul>
		
	</section>
	<div>
	<dl>
		<%if instr(em_code,"BX")=0 Then%>
		<dt><a href="../home.php">客户查找</a>	</dt>
		<%End if%>
		<dt><a href="../customerAdd.asp">客户录入</a>	</dt>			
		<dt id="myCustomer" class="subnav">我的客户
			<div class="list-wraper">
				<a href="../customers.asp">全部客户  (<%=Session("t")%>)</a>				
				<a href="../customers.asp?fliterBusiness=1">经销商  (<%=Session("t1")%>)</a>
				<a href="../customers.asp?fliterBusiness=2">零售  (<%=Session("t2")%>)</a>			
				<a href="../customers.asp?fliterBusiness=3">连锁店铺  (<%=Session("t3")%>)</a>	
				<a href="../customers.asp?fliterBusiness=4">中间商  (<%=Session("t4")%>)</a>							
				<a href="../customers.asp?fliterDeal=2">明确需求  (<%=Session("d2")%>)</a>						
				<a href="../customers.asp?fliterDeal=3">已经成交  (<%=Session("d1")%>)</a>		
				<a href="../customersNew.asp">本月新增</a>	
		<%if instr(em_code,"BX")=0 Then%>				
				<a href="../customersFollow.asp">即将加入公海 </a>
				<a href="../teamSeas.asp">小组公海(60天无更新)</a>				
				<a href="../highSeas.asp">公司公海(120天无更新)</a>
				<a href="../claimRecord.asp" >认领记录</a>
				<a href="../abnormal.asp" class="new">异常客户</a>
				
		<%End if%>
			</div>
		</dt>
		<dt class="subnav">	数据
			<div class="list-wraper">		
				<a href="../dashboard.asp">数据看板</a>		
		<%if instr(em_code,"BX")=0 Then%>
				<a href="../team.asp">本月小组数据</a>	
		<%End if%>
			</div>
		</dt>
		<dt><a href="../tagClound.asp">标签云</a></dt>	
		<%if instr(em_code,"BX")=0 Then%>
		<dt><a href="../silentCustomer.asp" >静默客户</a>	</dt>
		<%End if%>
		<%If em_role=0 Then%>
		<dt class="subnav">我的团队
			<div class="list-wraper">
			<a href="../subcustomers.asp">组员客户</a>
			<a href="../subtagClound.asp">组员客户分析</a>
			</div>	
		</dt>
		<%End If%>
		<dt><a href="../pwdEdit.asp" >修改密码</a>	</dt>
		<dt><a href="../index.php?act=logout" onclick="if(!confirm('确认要退出吗?'))return false;">退出登录</a>	</dt>
	</dl>
	</div>
	<div class="copyright">
	<p>Version 1.5</p>
	</div>
	<%if instr(em_code,"BX")=0 Then%>	
	<div class="statement">***注意事项***<br>所有业务务必全面录入客户资料,如发现有客户重复第一时间与前录入人沟通并妥善将与客户沟通的内容交接到原录入人,如故意隐瞒或者选择无视不交接,自愿接受退还客户及停止一个月官网询盘客户推送的惩罚,情节严重者按照违反公司利益进行辞退!
	</div>
		<%End If%>
</div>