<%@ page language="C#" masterpagefile="~/SiteServer/MasterPage/PageTemplate.Master" autoeventwireup="true" inherits="SiteServer_System_SystemErrorLog_Default, v5star.Web" title="Untitled Page" theme="Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <aspx:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"  HeadOPTxt="查看" HeadTitleTxt="系统出错日志">
    </aspx:HeadMenuWebControls>
    <aspx:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <aspx:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="出错日志列表" Tab_Visible="False">
            <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                <tr>
                    <td class="table_title">
                        日志文件选择
                        <asp:DropDownList ID="FileLogList" AutoPostBack="true" runat="server" OnSelectedIndexChanged="FileLogList_SelectedIndexChanged">
                        </asp:DropDownList>
                    </td>
                </tr>
            </table>
            <asp:GridView ID="GridView1" runat="server">
                <Columns>
                    <asp:BoundField HeaderText="时间" DataField="LogDateTime"/>
                    <asp:BoundField HeaderText="内容" ItemStyle-HorizontalAlign="left" HtmlEncode="true" DataField="LogTxt"/>
                    <asp:TemplateField HeaderText = "用户IP">
                        <ItemTemplate>
                           <span title="<%#Eval("LogErrorUrl")%>"><%#FrameWork.Common.GetIPLookUrl((string)Eval("LogUserIp"))%></span>
                        </ItemTemplate>
                    </asp:TemplateField>
                    
                </Columns>
            </asp:GridView>
           <aspx:CutePager ID="CutePager1" runat="server" OnPageChanged="CutePager1_PageChanged"
                ShowCustomInfoSection="Left">
            </aspx:CutePager>
        </aspx:TabOptionItem>
    </aspx:TabOptionWebControls>
</asp:Content>
