<%@ page language="C#" autoeventwireup="true" inherits="admin_shop_umanage, s1.chapk.com" debug="true" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<!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="../css/table.css" type="text/css" media="all" /> 
    <script src="../../tool/select.js" type="text/javascript"></script>      
</head>
<body>
    <form id="form1" runat="server">
    
<div class="my_alt">
会员管理
</div>
<table>
<tr>
<td>请选择查找条件：</td>
<td>
            <asp:DropDownList ID="dropAddPurview" runat="server">
                <asp:ListItem Value="username">帐号</asp:ListItem>
                <asp:ListItem Value="uname">姓名</asp:ListItem>
                <asp:ListItem Value="address">地址</asp:ListItem>
            </asp:DropDownList>
</td>
<td>
<asp:TextBox ID="txtkey" runat="server"></asp:TextBox>
            <asp:Button ID="Button1" runat="server" CssClass="BUTTON" Text=" 搜索 " OnClick="Button1_Click" /><asp:Label ID="LAB_WHERE" runat="server" Visible="false"></asp:Label>
</td>
</tr>
</table>
<asp:datagrid id="data1" runat="server" AutoGenerateColumns="False" 
        BorderColor="#CCCCCC" BorderWidth="1px" Width="100%" CellPadding="3">
						<Columns>
							<asp:BoundColumn Visible="False" DataField="Id" ReadOnly="True">
								<HeaderStyle Width="0px"></HeaderStyle>
							</asp:BoundColumn>
							<asp:TemplateColumn HeaderText="选择">
								<HeaderStyle Width="30px"></HeaderStyle>
								<HeaderTemplate>
								<asp:CheckBox id="chkHeader" runat="server" Text="" AutoPostBack="False" onclick="javascript:SelectAll(this);"></asp:CheckBox>
								</HeaderTemplate>
								<ItemTemplate>
									<asp:CheckBox id="CheckBox1" runat="server"></asp:CheckBox>
								</ItemTemplate>
                                <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                    Font-Underline="False" HorizontalAlign="Center" />
							</asp:TemplateColumn>
                            <asp:HyperLinkColumn DataNavigateUrlField="Id"
                                DataTextField="username" HeaderText="帐号" DataNavigateUrlFormatString="UEdit.aspx?Id={0}">
                                <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                    Font-Underline="False" HorizontalAlign="Left" />
                                <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                    Font-Underline="False" HorizontalAlign="Left" />
                            </asp:HyperLinkColumn>
                            <asp:BoundColumn DataField="uname" HeaderText="级别"></asp:BoundColumn>
                            <asp:BoundColumn DataField="phone" HeaderText="手机"></asp:BoundColumn>
                            <asp:BoundColumn DataField="addtime" HeaderText="注册时间">
                                <HeaderStyle Width="160px" />
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="money1" HeaderText="帐户金额" DataFormatString="{0:f1}"></asp:BoundColumn>
                            <asp:BoundColumn DataField="money2" HeaderText=" 消费金额" 
                                DataFormatString="{0:f1}"></asp:BoundColumn>
                            <asp:BoundColumn DataField="score" HeaderText="积分"></asp:BoundColumn>
                            <asp:HyperLinkColumn DataTextField="state" DataTextFormatString="&lt;img src='../images/option{0}.gif'&gt;"
                                HeaderText="状态"></asp:HyperLinkColumn>
                            <asp:HyperLinkColumn DataNavigateUrlField="Id" Text="&lt;img src='../Images/edit.gif' border='0'&gt;" DataNavigateUrlFormatString="UEdit.aspx?Id={0}">
                                <HeaderStyle Width="40px" />
                            </asp:HyperLinkColumn>
						</Columns>
            <HeaderStyle BackColor="#EEEFF1" Font-Bold="True" Font-Italic="False" Font-Overline="False"
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" />
    <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
        Font-Underline="False" HorizontalAlign="Center" />
</asp:datagrid>
<table id="nodata1" runat="server">
<tr>
<td>暂无记录</td>
</tr></table>
<table>
<tr><td>
                    <webdiyer:AspNetPager ID="Pager1" runat="server" CustomInfoHTML="共%RecordCount%条记录 页次%CurrentPageIndex%/%PageCount% 每页%PageSize%条"
                        CustomInfoStyle="" FirstPageText="[首页]" LastPageText="[末页]" NextPageText="[下一页]"
                        OnPageChanging="Pager1_PageChanging" PrevPageText="[上一页]" ShowCustomInfoSection="Left"
                        AlwaysShow="True" PageSize="20">
                    </webdiyer:AspNetPager>
</td>
<td><asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="审核" />
    <asp:Button ID="Button2" runat="server" Text="删除" OnClick="Button2_Click" /></td>
</tr>
</table>
    </form>
</body>
</html>
