<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="Admin_Log, HoWaveVGO" title="日志管理" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
	       <table class="adminheading">
               <tr>
                  <th valign="middle" class="menus" style="height: 54px; width: 629px;" align="left">
                      网站日志管理</th>
                  <td align="right">
                  <div style="width:125px; text-align:left;">
                    <div style="width:75px;float:left; text-align:center;">
                        <a class="toolbar" 
            onmouseover="MM_swapImage('deleteconfirm','','../Images/Manage/delete_f2.png',1);" 
            onmouseout="MM_swapImgRestore()" 
            href="javascript:if%20(document.adminForm.boxchecked.value%20==%200){%20alert('Please%20make%20a%20selection%20from%20the%20list%20to%20删除');}else{hideMainMenu();submitbutton('deleteconfirm')}">
            <img src="../ims_img/Manage/delete.png" 
            alt="删除" name="deleteconfirm" width="32" height="32" border="0" 
            align="middle" id="deleteconfirm" /><br />
                            批量删除</a></div>
                     <div style="width:50px;float:left; text-align:center;">
                           <asp:Image  ID="help" runat="server" AlternateText="帮助"  ImageUrl="../ims_img/Manage/help.png" /><BR>
                           帮助
                     </div></div>
              </td>
              <td class="rtdw"></td>
             </tr>
          </table> 
  
   <table class="adminlist" width="100%">
     <tr>
       <td style=" vertical-align:top; width:100%" >       
           <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:HowaveConnectionString %>"
                SelectCommand="SELECT * FROM [HL_Log]"></asp:SqlDataSource>
           <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
                AutoGenerateColumns="False" CellPadding="4" DataKeyNames="LogID" DataSourceID="SqlDataSource1"
                ForeColor="#333333" GridLines="None"
                Width="100%">
        <Columns>
            <asp:BoundField DataField="VisitUrl" HeaderText="访问地址" SortExpression="VisitUrl" >
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="OperatInfo" HeaderText="操作信息" SortExpression="OperatInfo" >
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="OperaTime" HeaderText="操作时间" SortExpression="OperaTime" >
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="Operator" HeaderText="操作人" SortExpression="Operator" >
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="OperatorIP" HeaderText="IP地址" SortExpression="OperatorIP" >
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
        </Columns>
        
        <EditRowStyle BackColor="#2461BF" />
        <SelectedRowStyle BackColor="#D1DDF1" font-Bold="True" ForeColor="#333333" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" Horizontalalign="Center" />
        <HeaderStyle BackColor="#507CD1" font-Bold="True" ForeColor="White" />
        <alternatingRowStyle BackColor="White" />
    </asp:GridView>
   
   </td>
  </tr>
  <tr>
     <td>
        <br /><br />
        <table class="adminform">
           <tr>
              <td style="width:100px">日志搜索</td>
              <td  style="width:100px" align="left"> 
                  <asp:TextBox ID="SearchLog" runat="server"></asp:TextBox>
              </td>
              <td align="left">
                  <asp:Button ID="SearchLogButton" runat="server" Text="搜索" />
              </td>
           </tr>
        </table> 
     </td>
  </tr>
 </table> 
 
</asp:Content>

