<!--#include file="../inc/config.asp"-->
<!--#include file="../inc/conn.asp"-->
<!-- #include file="inc/Session.asp" -->
<!-- #include file="inc/checkrole.asp" -->
<%
'''''''''''''''''''''''''''''''''''''''''''''''
call checkPrevilege(Session("Name"),"p20")
'''''''''''''''''''''''''''''''''''''''''''''''
dim id,utype
id=trim(request.QueryString("id"))
%>
<html>
<head>
<title>会员管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #FFFFFF;
	font-size:12px;
}
.style1 {
	color: #FFFFFF;
	font-weight: bold;
}
.td_row{ padding:2px 5px; line-height:20px;}
form{margin:0;}
.pad{ padding:10px; line-height:20px;}
-->
</style>
<link href="style/global.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><iframe src="right_top.htm" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" height="30" width="100%"></iframe></td>
  </tr>
</table>

<%
set rs=server.CreateObject("adodb.recordset") 
rs.open "select * from t_member where UserId='"&id&"'",conn,3,1
if not rs.eof then
	utype=rs("UserType")
%>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" class="border">
  <tr>
    <td height="28" colspan="2" bgcolor="#FF9900"><div align="center"><span class="style1">◆ 会员[<%=rs("UserId")%>]活跃度统计 ◆</span></div></td>
  </tr>
  <tr>
    <td align="right" bgcolor="#DFFAFF" class="td_row">会员类别：</td>
    <td bgcolor="#FFFFFF" class="td_row">
    <%
		if(utype=0) then
			response.Write("<span style=""color:green;"">个人会员</span>&nbsp;")
		else
			response.Write("<span style=""color:red;"">企业会员</span>&nbsp;")
		end if
		%>
    </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("Email")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">注册日期：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("RegDate")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">注册IP：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("RegIp")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">上次登录IP：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("LastLoginIp")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">上次登录日期：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("LastLoginDate")%></td>
  </tr>
  <tr>
    <td bgcolor="#DFFAFF" class="td_row"><div align="right">登录次数：</div></td>
    <td bgcolor="#FFFFFF" class="td_row"><%=rs("LoginNum")%></td>
  </tr>
</table>
<br>

<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#eeeeee">
  <tr>
    <td height="24" align="center" bgcolor="#F9F9F9"><strong>旅游线路数量统计</strong></td>
    <td align="center" bgcolor="#F9F9F9"><strong>酒店信息统计</strong></td>
    <td align="center" bgcolor="#F9F9F9"><strong>问答统计</strong></td>
    <td align="center" bgcolor="#F9F9F9"><strong>文章统计</strong></td>
  </tr>
  <tr>
    <td height="24" bgcolor="#FFFFFF" class="pad"></td>
    <td bgcolor="#FFFFFF" class="pad"></td>
    <td bgcolor="#FFFFFF" class="pad"></td>
    <td bgcolor="#FFFFFF" class="pad"></td>
  </tr>
</table>
<%
end if
rs.close
set rs=nothing
%>
<p align="center"><input type="button" value="返回" onClick="history.back();"></p>
</body>
</html>
<%
call connclose()
%>