<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ScDiary.aspx.cs" Inherits="TopWinCMS.WebUI.Admin.SecurityCenter.ScReport" %>

<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>
<%@ Register Assembly="TopWinCMS.WebControls" Namespace="TopWinCMS.WebControls" TagPrefix="cc1" %>
<!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 href="../Style.css" type="text/css" rel="stylesheet" />

    <script language="javascript" type="text/javascript" src="../TopWin.js"></script>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Expires" content="0" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Pragma" content="no-cache" />

    <script language="javascript" type="text/javascript" src="../../Images/skysoft.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table id="NavigationPath" border="0" cellpadding="4" cellspacing="0" width="100%">
                <tr>
                    <td width="50%">
                        <img src="../../Images/arrow.gif" />
                        您现在的位置：&nbsp;
                        <asp:Label ID="LB_Path" runat="server"></asp:Label>
                    </td>
                    <td width="50%">
                    </td>
                </tr>
            </table>
            <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" CssClass="GridView"
                DataKeyNames="ID">
                <HeaderStyle CssClass="HeaderStyle" />
                <Columns>
                    <asp:TemplateField HeaderText="选择">
                        <ItemStyle HorizontalAlign="Center" Width="30px" />
                        <ItemTemplate>
                            <asp:CheckBox ID="CB_SelectID" runat="server" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="ID" HeaderText="ID">
                        <ItemStyle HorizontalAlign="Center" Width="40px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Remark" HeaderText="说明" />
                    <asp:BoundField DataField="UpDateTime" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}"
                        HeaderText="发生时间" HtmlEncode="False">
                        <ItemStyle HorizontalAlign="Center" Width="120px" />
                    </asp:BoundField>
                </Columns>
            </asp:GridView>
            <table width="99%">
                <tr>
                    <td align="left" style="width: 65px">
                        &nbsp;<input name="chk_SelectAll" onclick="javascript:SelectAll(this);" type="checkbox"
                            value="chk_SelectAll" />全选
                    </td>
                    <td>
                        &nbsp;
                        <asp:Button ID="BT_Delete" runat="server" Text="删除" OnClick="BT_Delete_Click" OnClientClick="return confirm('您确定要删除？');"
                            CssClass="btn" />
                        &nbsp;
                        <asp:Button ID="BT_Clear" runat="server" OnClick="BT_Clear_Click" OnClientClick="return confirm('您确定要删除？');"
                            Text="清空" CssClass="btn" />
                    </td>
                </tr>
            </table>
            <div class="pagefield">
                <cc1:PageNavigation ID="PageNavigation1" runat="server" 
                    OnPageChanging="PageNavigation1_PageChanging" CustomInfoSectionWidth="200px">
                </cc1:PageNavigation>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>
            <td style="width: 92px" align="right">
                说明：
            </td>
            <td align="left">
                反复出现“实时监控引擎启动”并不是不正常。当没有人访问网站 IIS 6 过了若干时间会进行资源回收，<br />
                这样整个网站就停了，实时监控引擎也停了。不过一但有人访问网站，马上就网站就启动实时监控引擎也跟着启动了。<br />
                修改了Web.config和Bin文件夹里面的文件，也导致网站重新启动。
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
