<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HuiYuan.aspx.cs" Inherits="Admin_YongHu_HuiYuan" %>

<!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 runat="server">
    <title>无标题页</title>
    <link rel="Stylesheet" href="../Images/Admin.css" type="text/css" />
</head>
<body>
    <div>
        <div style="height:18px">
        位置：用户管理 &gt; 会员管理
        </div>
        <div style="height:5px"></div>
        <form method="get" action="HuiYuan.aspx">
        <div class="div_yy">
        <table border="0" cellpadding="0" cellspacing="0" style="width:100%">
            <tr>
                <td style="width:300px">
        <input type="button" value="增加会员" onclick="location.href='HuiYuan_ZengJia.aspx'" />
        <input type="button" value="会员资料结构" onclick="location.href='YongHuZiLiaoJieGou.aspx'" />
                </td>
                <td>
            用户：<input type="text" name="yh" maxlength="16" />&nbsp;
            类型：<select name="lx">
                <option value="0">昵称</option>
                <option value="1">ID</option>
                <option value="2">手机号</option>
                <option value="3">标识</option>
            </select>&nbsp;
            用户组：<%=用户组代码 %>&nbsp;
            最后访问：<select name="fw">
            <option value="0">不限</option>
            <option value="1">在线</option>
            <option value="2">一天</option>
            <option value="3">一周</option>
            <option value="4">一月</option>
            <option value="5">三月</option>
            <option value="6">半年</option>
            <option value="7">一年</option>
            </select>&nbsp;<select name="tj">
                <option value="0">之内</option>
                <option value="1">之前</option>
            </select>&nbsp;
            <input type="submit" value="查找" />
                </td>
            </tr>
        </table>
        </div>
        </form>
    </div>
    <div style="font-size:5px">&nbsp;</div>
    <form id="form1" runat="server">
    <table class="tab1" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <table class="tab2" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="tab2_bt">
                            会员列表
                        </td>
                    </tr>
                    <tr>
                        <td>
                        
                <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                    CellSpacing="1" CssClass="tab3" GridLines="None" Width="100%" OnSorting="GridView1_Sorting">
                    <Columns>
                        <asp:BoundField DataField="ID" DataFormatString="{0}" HeaderText="ID" SortExpression="ID">
                            <HeaderStyle Width="5%" />
                            <ItemStyle Width="5%" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="昵称">
                            <HeaderStyle Width="10%" />
                            <ItemStyle Width="10%" />
                            <ItemTemplate>
                                <%# Eval("昵称") %>(<%# Convert.ToBoolean(Eval("性别"))?"男":"女" %>)<br />
                                <a href="HuiYuan_SheZhiXinZhang.aspx?ID=<%# Eval("ID") %>&amp;page=<%=当前页 %>">设置勋章</a>
                                <a href="HuiYuan_ChaKan.aspx?ID=<%# Eval("ID") %>">详细资料</a>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="积分" SortExpression="积分">
                            <HeaderStyle Width="10%" />
                            <ItemStyle Width="10%" />
                            <ItemTemplate>
                                <%# Eval("积分") %>点<br />
                                <a href="HuiYuan_JiFen_JiangLi.aspx?ID=<%# Eval("ID") %>">奖励</a>&nbsp;
                                <a href="HuiYuan_JiFen_KouChu.aspx?ID=<%# Eval("ID") %>">扣除</a>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="等级" SortExpression="等级">
                            <HeaderStyle Width="10%" />
                            <ItemStyle Width="10%" />
                            <ItemTemplate>
                                <%# Eval("等级") %>级
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="所在位置" DataFormatString="{0}" HeaderText="所在位置" />
                        <asp:TemplateField HeaderText="是否加黑" SortExpression="是否加黑">
                            <HeaderStyle Width="10%" />
                            <ItemStyle Width="10%" />
                            <ItemTemplate>
                                <%# Convert.ToBoolean(Eval("是否加黑"))?"加黑":"正常" %>&nbsp;<br />
                                <%# Convert.ToBoolean(Eval("是否加黑"))?"<a href=\"HuiYuan_JiaHei.aspx?c=false&amp;ID="+Eval("ID")+"\">解黑</a>":"<a href=\"HuiYuan_JiaHei.aspx?c=true&amp;ID="+Eval("ID")+"\">加黑</a>" %>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="今日访问次数" DataFormatString="{0}" HeaderText="今日访问次数" SortExpression="今日访问次数">
                            <HeaderStyle Width="10%" />
                            <ItemStyle Width="10%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="最后登录地区" DataFormatString="{0}" HeaderText="最后登录地区">
                            <HeaderStyle Width="13%" />
                            <ItemStyle Width="13%" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="修改">
                            <HeaderStyle Width="10%" />
                            <ItemStyle Width="10%" />
                            <ItemTemplate>
                                <a href="HuiYuan_XiuGai.aspx?ID=<%# Eval("ID") %>">修改</a>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="删除">
                            <HeaderStyle Width="10%" />
                            <ItemStyle Width="10%" />
                            <ItemTemplate>
                                <a href="HuiYuan_ShanChu.aspx?ID=<%# Eval("ID") %>" onclick="if(!confirm('真的要删除吗？')){return false;}">删除</a>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <HeaderStyle CssClass="tab3_bt" />
                </asp:GridView>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
        <asp:HiddenField ID="PaiXuZiDuan" runat="server" Value="ID" />
        <asp:HiddenField ID="PaiXuFangXiang" runat="server" Value="true" />
    </form>
    <div style="font-size:5px">&nbsp;</div>
        <form method="get" action="HuiYuan.aspx">
        <asp:Panel ID="Panel1" runat="server" Style="text-align: right" Width="100%">
            <asp:Label ID="FenYeDaiMa" runat="server" Text="Label"></asp:Label></asp:Panel></form>
</body>
</html>
