<%@ page language="C#" autoeventwireup="true" inherits="Rest_Member_RestManage_MemberTemplate, DoodiiShop" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<asp:repeater id="rep" runat="server" enableviewstate="False" onitemdatabound="rpt_ItemDataBound">
        <HeaderTemplate>
            <table class="NewTable mt10 fl" style="width:650px;">
                <tr>
                    <th>
                        会员ID</th>
                    <th>
                        会员邮箱</th>
                    <th>
                        会员昵称</th>
                    <th>
                        注册时间</th>
                    <th>
                        详细资料</th>
                    <th>
                        操作</th>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr style="height: 30px; text-align: center;" class="repMenuClassTr1" onmouseover="this.className='repMenuClassOver'"
                onmouseout="this.className='repMenuClassTr1'">
                <td>
                    <%#Eval("UserId")%></td> 
                <td>
                    <%#Eval("Email") %></td>
                <td>
                    <%#Eval("Nickname") %>
                </td>                
                <td><%#Eval("regTime") %>
                    </td>         
                <td><a href="javascript:GetUserInfo(<%#Eval("UserId") %>)">查看</a>
                    </td>
                <td>
                <a href="javascript:resetPassword(<%#Eval("UserId")%>);">初始化密码</a>  
                <a href="javascript:delUser(<%#Eval("UserId")%>);">删除</a>
                </td>
           </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr style="height: 30px; text-align: center;" class="repMenuClassTr2" onmouseover="this.className='repMenuClassOver'"
                onmouseout="this.className='repMenuClassTr2'">
                <td>
                    <%#Eval("UserId")%></td>
                <td>
                    <%#Eval("Email") %></td>
                <td>
                    <%#Eval("Nickname") %>
                </td>                
                <td><%#Eval("regTime") %>
                    </td>     
                <td><a href="javascript:GetUserInfo(<%#Eval("UserId") %>)">查看</a>
                    </td>
                <td>
                    <a href="javascript:resetPassword(<%#Eval("UserId")%>);">初始化密码</a>  
                <a href="javascript:delUser(<%#Eval("UserId")%>);">删除</a>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:repeater>
<div style="width: 650px; text-align: center; float: left; padding: 2px 0 0 0;">
    <br />
    <PageControl:myPageControl ID="MyPageControl1" runat="server" PageSize="10" TotalRecord="20"
        JavascriptFunction="pageChange" IsDoPostBack="False" ItemSize="5" PageInfoShow="False" />
    <div style="float: right;">
        会员数量：<span style="color: red;"><%=cnt.ToString() %>个</span>
    </div>
</div>
<style>
.repMenuClassOver
{
    background-color:#FFFACD;
}
.repMenuClassTr1
{
    background-color:#ffffff;
}
.repMenuClassTr2
{
    background-color:#f4f4f4;
}
</style>
