<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeBehind="sysdiary.aspx.cs" Inherits="jiaowu.diary.sysdiary" %>

<%@ Register src="../fenye.ascx" tagname="fenye" tagprefix="uc1" %>

<!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 id="Head1" runat="server">
    <title></title>
    <link href="../css/table.css" rel="stylesheet" type="text/css" />
		<script language="JavaScript" src="../js/common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
     <div class="place">
                    <asp:SiteMapPath ID="SiteMapPath1" runat="server" Height="27px" Width="309px">
                    </asp:SiteMapPath>
    </div>	
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr align="right">
                <td  width="95%"><asp:CheckBox ID="CheckBox2" runat="server" 
            AutoPostBack="True" oncheckedchanged="CheckBox2_CheckedChanged" Text="全选" />
        </span>
        &nbsp;<img height="14" src="../images/010.gif" width="14" />
        <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click" 
            OnClientClick="return confirm('确定删除吗？无法恢复！')">删除</asp:LinkButton>
        &nbsp;&nbsp;<img height="14" src="../images/Excel.gif" 
      width="14" /><asp:LinkButton ID="LinkButton2" runat="server" onclick="LinkButton2_Click1">导出EXCEL</asp:LinkButton>
                    &nbsp;&nbsp;&nbsp;
                    &nbsp;</td>
            </tr>
        </table>
        <table width="100%"  border="0" bgcolor="#B8E4FF" class="line_table">
            <tr bgcolor="#FFFFFF">
              <td class="style11"><span lang="zh-cn">操作人</span></td>
              <td class="style9">
                  <asp:DropDownList ID="ddlUser" runat="server" AppendDataBoundItems="True">
                      <asp:ListItem Value="0">全部人员</asp:ListItem>
                  </asp:DropDownList>
                </td>
              <td class="style14"><span lang="zh-cn">时间</span></td>
              <td class="style15">
                  <asp:TextBox ID="txtstar" runat="server" onfocus="HS_setDate(this)" 
                      Width="85px"></asp:TextBox>
                  <span lang="zh-cn">至<asp:TextBox ID="txtend" runat="server" 
                      onfocus="HS_setDate(this)" Width="85px"></asp:TextBox>
                  </span>
                </td>
                <td class="style16">
                    <span lang="zh-cn">事件</span></td>
                <td>
                    <asp:TextBox ID="txtcaozuo" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr bgcolor="#FFFFFF" align="center">
              <td colspan="6">
                  <asp:Button ID="ButtonSel" runat="server" onclick="ButtonSel_Click" Text="搜索" />
                  <span class="center_title_1"><span class="STYLE1">&nbsp;<input name="Submit" 
                      type="reset" value="重 置" /> </span></span></td>
              </tr>
          </table>
					<asp:GridView ID="gdv" runat="server" AllowPaging="True" 
            AllowSorting="True" AutoGenerateColumns="False"
                        CssClass="sys_grid"  OnSorting="gdv_Sorting" 
            OnRowDeleting="gdv_RowDeleting"  Width="100%" EmptyDataText="没有或没有符合条件的专业信息！">
                        <HeaderStyle CssClass="sys_grid_head_cell"/>
                        <Columns>
                            <asp:TemplateField HeaderText="全选">
                            <ItemTemplate>
                             <asp:CheckBox ID="CheckBox1" runat="server" />
                            </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="id" HeaderText="ID"  SortExpression="id"/>                        
                            <asp:BoundField DataField="duixiang" HeaderText="姓名" SortExpression="duixiang"/>
                             <asp:BoundField DataField="adminid" HeaderText="操作人" SortExpression="adminid"/>
                             <asp:BoundField DataField="caozuo" HeaderText="事件" SortExpression="caozuo" />
                            <asp:BoundField DataField="shijian" HeaderText="时间" SortExpression="shijian" />
                            <asp:BoundField DataField="ip" HeaderText="IP" SortExpression="ip"/>
                            <asp:CommandField HeaderText="删除" ShowCancelButton="False" 
                                ShowDeleteButton="True"  DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除记录吗？无法恢复！')&quot;&gt;删除&lt;/div&gt; "/>
                        </Columns>                        
                        <PagerSettings Visible="False" />
                        <RowStyle HorizontalAlign="Center" Height="25px" />
                    </asp:GridView>
                        <uc1:fenye ID="fenye1" runat="server" />
    </div>
    </form>
</body>
</html>

