<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MemberLog.aspx.cs" Inherits="web.admin.MemberLog" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Member</title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="images/adminstyle.css" type="text/css" rel="stylesheet">

	</HEAD>
		<body rightmargin="0" leftmargin="0" topmargin="0" >
	
		<form id="Form1" method="post" runat="server" >
<table width="100%" height="550" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
<div class="top">
          <table width="100%" align="center" cellpadding="0" cellspacing="0" background="img/labelbg.gif" bgcolor="#EDF6FF">
            <tr>
		      <td height="32" class="tl"></td>
		<td class="tm"><span class="tt">会员管理 &gt;&gt; 会员登陆日志管理</span></td>
		      <td class="tm2"><span class="tt"></span></td>
		<td class="tr"></td>
	</tr>
</table>
</div>
        <div class="mframe"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td class="ml"></td>
    <td  class="mm" align="left" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
                    <td bgcolor="#FFFFFF" valign="top" ><br>
                      <table width="96%" border="0" align="center">
                        <tr>
                          <td><asp:Button ID="pdel" runat="server" Text="批量删除" OnClick="pdel_Click" /></td>
                        </tr>
                      </table>
                      <br>
                      <table width="100%" align="center" cellpadding="0"  cellspacing="0">
                        <tr>
		<td class="ml1"></td>
		<td class="mm1">
<table  cellSpacing="0" cellPadding="0" width="96%" align="center" border="0">
                  
				<tr>
					<td class="forumRowHighlight" height="23">
				   <asp:GridView ID="mypp" runat="server" AutoGenerateColumns="False" BorderStyle="Solid" BorderWidth="1px" Width="99%" HorizontalAlign="Center" BorderColor="#E0E0E0" DataKeyNames="id"  >
            <Columns>
            
                <asp:TemplateField HeaderText="ID">
                    <ItemTemplate>
                        &nbsp;&nbsp;<asp:Label ID="id" runat="server" Text= <%# Eval("ID")%>></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle Font-Size="12px" />
                    <ItemStyle HorizontalAlign="Center" />
                
                </asp:TemplateField>
                  <asp:TemplateField HeaderText="会员ID">
                    <ItemTemplate>
                        &nbsp;&nbsp;<asp:Label ID="pid" runat="server" Text=' <%#Eval("memid")%> '></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle Font-Size="12px" />
                      <ItemStyle HorizontalAlign="Center" />
                
                </asp:TemplateField>
               
                  <asp:TemplateField HeaderText="会员名称">
                    <ItemTemplate>
                       &nbsp;&nbsp;<asp:Label ID="Name" runat="server" Text=' <%#Eval("memname")%> '></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle Font-Size="12px" />
                      <ItemStyle HorizontalAlign="Center" />
                
                </asp:TemplateField>
                <asp:TemplateField HeaderText="IP">
                    <ItemTemplate>
                       &nbsp;&nbsp;<asp:Label ID="ip" runat="server" Text=' <%#Eval("memip")%> '></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle Font-Size="12px" />
                      <ItemStyle HorizontalAlign="Center" />
                
                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="查看该会员的登陆记录">
                       <ItemTemplate>
                            <a href="?mid=<%#Eval("memid") %>"
                                        >
                                        [查看该会员的登陆记录]</a>&nbsp;
                              
                      </ItemTemplate>
                    <HeaderStyle Font-Size="12px" HorizontalAlign="Center" Width="200px" />
                    <ItemStyle HorizontalAlign="Center" Width="200px" />
               
                   
                </asp:TemplateField>
                <asp:TemplateField HeaderText="全(反)选">
                    <HeaderTemplate>
                        <asp:CheckBox ID="ckall" runat="server" AutoPostBack="True" OnCheckedChanged="ckall_CheckedChanged"
                            Text="全(反)选" />
                    </HeaderTemplate>
                    <ItemStyle HorizontalAlign="Center" Width="50px" />
                    <HeaderStyle Width="100px" />
                    <ItemTemplate>
                        <asp:CheckBox ID="ckx" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
               
            
            </Columns>
            <RowStyle Height="32px" />
            <HeaderStyle BackColor="AliceBlue" Height="35px" ForeColor="LightSalmon" CssClass="head" />
           
        </asp:GridView>
            <p class="pagemenu" style="text-align: right">
                    	<span>
                    		共<asp:Literal ID="lttotal" runat="server"></asp:Literal>
                    	    条，第<asp:Literal ID="ltcurpage" runat="server">1</asp:Literal>页/共<asp:Literal ID="lttotalpage" runat="server"></asp:Literal>页
                     	</span>
                    	<span class="padd1">
                    		<asp:LinkButton ID="lbfirst" runat="server" OnClick="lbfirst_Click" ToolTip="第一页" ><img src="images/first-icon.gif" border="0"/></asp:LinkButton>
                        	<asp:LinkButton ID="pre" runat="server"  ToolTip="上一页" OnClick="pre_Click" ><img src="images/left-icon.gif" id="IMG1" border="0"/></asp:LinkButton>
                        	<asp:LinkButton ID="lbup" runat="server" OnClick="lbup_Click" CssClass="pageA">上一页</asp:LinkButton>
                        	<asp:LinkButton ID="lbdown" runat="server" OnClick="lbdown_Click" CssClass="pageA">下一页</asp:LinkButton>
                        	<asp:LinkButton ID="next" runat="server" ToolTip="下一页" OnClick="next_Click" ><img src="images/right-icon.gif" border="0"/></asp:LinkButton>
                        	<asp:LinkButton ID="lblast" runat="server" OnClick="lblast_Click" ToolTip="最后一页"><img src="images/last-icon.gif" border="0"/></asp:LinkButton>
                        </span>
                    </p>
					
					</td>
				</tr>
			</table>
		</td>
		<td class="mr1"></td>
	</tr>
</table>
                    </td>
  </tr>
</table>


<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>
</td>
    <td  class="mr"></td>
  </tr>
</table>
<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>

</div>
    </td>
  </tr>
</table>
		</form>
	</body>
</HTML>
