<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../inc/config.asp"-->
<!--#include file="../inc/conn.asp"-->
<!--#include file="checklogin.asp"-->
<!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">
<!--
.style1 {color: #FFFFFF}
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style2 {color: #003300}
-->
</style>
</head>

<body>
<!--#include file="top.asp"-->
<%
dim u_type
u_type=Cint(session("TotCms_UserType"))
if(u_type=0) then
	call Member_P
elseif(u_type=1) then
	Member_E
end if
%>
<%
sub Member_P
	set rs=server.CreateObject("adodb.recordset") 
	rs.open "select * from t_member_p where UserId='"&checkusername&"'",conn,3,1
	if not rs.eof then
%>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#ffffff" class="border">
  <tr>
    <td height="28" colspan="2" class="th_title">◆ 会员信息[<%=rs("UserId")%>] ◆</td>
  </tr>
  <tr>
    <td width="18%" bgcolor="#DFFAFF" class="td_row"><div align="right">姓名：</div></td>
    <td width="82%" bgcolor="#FFFFFF" class="td_row"><%=rs("UserName")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">身份证：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("IdCard")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">生日：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("BornDate")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">性别：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("Sex")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">省市：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("Province")%>-<%=rs("City")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">教育程度：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("Education")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">从事职业：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("Profession")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">收入：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("InCome")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">电话：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("Tel")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">手机：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("Mobile")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">QQ：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("QQ")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">MSN:</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("MSN")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">个人主页：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("HomePage")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">住址：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("Address")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">邮编：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("PostCode")%></td>
  </tr>
</table>
<%
	end if
end sub
%>
<%
sub Member_E
	set rs=server.CreateObject("adodb.recordset") 
	rs.open "select * from t_member_e where UserId='"&checkusername&"'",conn,3,1
	if not rs.eof then
%>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
  <tr>
    <td height="28" colspan="2" bgcolor="#FF9900"><div align="center"><span class="style1">◆ 会员信息[<%=rs("UserId")%>] ◆</span></div></td>
  </tr>
  <tr>
    <td width="17%" height="32" bgcolor="#DFFAFF" class="td_row"><strong>企业名称：</strong></td>
    <td width="83%" bgcolor="#FFFFFF" class="td_row"><%=rs("UserName")%></td>
  </tr>
    <tr>
      <td height="32" bgcolor="#DFFAFF" class="td_row"><strong>头像：</strong></td>
      <td bgcolor="#FFFFFF" class="td_row"><img src="<%=rs("Photo")%>" width="146" height="114"></td>
  </tr>
    <tr>
      <td height="32" bgcolor="#DFFAFF" class="td_row"><strong>企业性质：</strong></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("ComType")%></td>
  </tr>   
	  <tr>
	    <td bgcolor="#DFFAFF" class="td_row"><strong>成立日期：</strong></td>
	    <td bgcolor="#FFFFFF" class="td_row"><%=rs("CreateDate")%></td>
  </tr>
	  <tr>
	    <td bgcolor="#DFFAFF" class="td_row"><strong>联系人：</strong></td>
	    <td bgcolor="#FFFFFF" class="td_row"><%=rs("ContactMan")%></td>
  </tr>
	  <tr>
	    <td bgcolor="#DFFAFF" class="td_row"><strong>经营范围：</strong></td>
	    <td bgcolor="#FFFFFF" class="td_row"><%=rs("BusinessScope")%></td>
  </tr>
	  <tr>
	    <td bgcolor="#DFFAFF" class="td_row"><strong>电话：</strong></td>
	    <td bgcolor="#FFFFFF" class="td_row"><%=rs("Tel")%></td>
  </tr>
	  <tr>
	    <td bgcolor="#DFFAFF" class="td_row"><strong>传真：</strong></td>
	    <td bgcolor="#FFFFFF" class="td_row"><%=rs("Fax")%></td>
  </tr>
	  <tr>
	    <td bgcolor="#DFFAFF" class="td_row"><strong>地址：</strong></td>
	    <td bgcolor="#FFFFFF" class="td_row"><%=rs("Address")%></td>
  </tr>
    <tr>
	    <td bgcolor="#DFFAFF" class="td_row"><strong>邮编：</strong></td>
	    <td bgcolor="#FFFFFF" class="td_row"><%=rs("PostCode")%></td>
  </tr>
	  <tr>
	    <td bgcolor="#DFFAFF" class="td_row"><strong>Email：</strong></td>
	    <td bgcolor="#FFFFFF" class="td_row"><%=rs("Email")%></td>
  </tr>
	  <tr>
	    <td bgcolor="#DFFAFF" class="td_row"><strong>网址：</strong></td>
	    <td bgcolor="#FFFFFF" class="td_row"><%=rs("HomePage")%></td>
  </tr>
  <tr>
	    <td bgcolor="#DFFAFF" class="td_row"><strong>公司简介：</strong></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("Demons")%></td>
  </tr>
</table>
<%
	end if
end sub
%>
</body>
</html>
<%
call connclose()
%>