<%@Page Language="C#" Inherits="IWMS.Pages.MemberList" EnableSessionState="false" EnableViewState="false" %>
<!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" lang="zh">
<head>
<!--#include file="inc/html_head.inc"-->
<script type="text/javascript">
	$(function(){
		$("table.grid tr").mouseover(function(){this.className="tdbg-dark";})
			.mouseout(function(){this.className="tdbg";});
	});
</script>
</head>
<body>

<!--#include file="head.inc" -->
<div id="navbar">
<div class="l"></div>
<div class="r"></div>
<div class="m">
	<!--#include file="inc/navclass.inc"-->
</div>
</div>

<div id="navsub">
<div class="l"></div>
<div class="r"></div>
<div class="m">
</div>
</div>

<div id="middle">
<div class="mframe">
<div class="tl"></div>
<div class="tr"></div>
<div class="tm">
	<div style="float:right"><a href="memberList.aspx">所有会员</a>&nbsp; &nbsp;
		<a href="?ad=1">管理员</a>&nbsp;</div>
	<span class="tt"><asp:Literal id="ltTitle" runat="server"/>&nbsp; &nbsp; 会员总数 <%=sState.MemberNum%></span>
</div>
<div class="wrapper">
<div class="ml"></div>
<div class="mr"></div>
<div class="mm">
	<center><asp:Label id="msg" runat="server"/></center>
	<%
	if(CurUser.UserID==0){
		phTable.Visible=false;
		msg.Text="限登录会员查看";
	}else{
		BindList(15);
	}
	%>
	<asp:PlaceHolder id="phTable" runat="server">
	<table class="grid" cellpadding="6" cellspacing="0" width="100%" border="1" rules="all">
	<thead class="gridHead"><tr><td width="140">会员名</td>
		<td>邮箱</td>
		<td width="40">性别</td>
		<td width="80">QQ</td>
		<td width="150">MSN</td>
		<td width="80">注册日期</td>
		<td width="100">文章/发帖</td>
		</tr></thead>
	<asp:Repeater id="rpUser"
		runat="server">
			<ItemTemplate>
				<tr align="center"><td>
					<a href="memberProfile.aspx?id=<%#Eval("id")%>"><%#Eval("name")%></a>
				</td><td>
					<%#(bool)Eval("hideEmail") ? "保密" : Eval("email","<a href=\"mailto:{0}\">{0}</a>")%>
				</td><td>
					<%#(bool)Eval("male") ? "男" : "女"%>
				</td><td>
					<%#Eval("qq")%>
				</td><td>
					<%#Eval("msn")%>
				</td><td>
					<%#((DateTime)Eval("addDate")).ToString("yyyy-MM-dd")%>
				</td><td>
					<%#Eval("addNum")%>/<%#Eval("postNum")%>
				</td></tr>
			</ItemTemplate>
	</asp:Repeater>
	</table>
	</asp:PlaceHolder>
	<asp:Literal id="ltPage" runat="server"/></div>
</div>
<div class="bl"></div>
<div class="br"></div>
<div class="bm"></div>
</div>
</div>

<!--#include file="foot.inc" -->

</body>
</html>