<%@ Page language="c#" Codebehind="WebLogs.aspx.cs" AutoEventWireup="false" Inherits="SK.MemberWeb.admin.WebLogs" %>
<%@ Register TagPrefix="uc1" TagName="header" Src="modules/header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="footer" Src="modules/footer.ascx" %>
<%@ Register TagPrefix="cc1" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>站点日志管理</title>
		<META http-equiv="Content-Type" content="text/html; charset=utf-8">
		<LINK href="images/style.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<FORM id="Form1" method="post" runat="server">
			<uc1:header id="Header1" runat="server"></uc1:header>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td bgcolor="#E9E7E3"><table width="1001" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="200" height="300" valign="top" bgcolor="#404040"><table width="184" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px;">
                        <tr>
                          <td height="33" background="Images/LeftMenuTopBg.png">&nbsp;&nbsp;&nbsp;&nbsp;<font color="#FFFFFF" style="font-size:14px"><b>系统设置管理</b></font></td>
                        </tr>
                      </table>
                        <table width="182" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:5px">
                          <tr>
                            <td height="5" bgcolor="#D4D0C8"></td>
                          </tr>
                       	    <tr>
                            <td height="26" bgcolor="#D4D0C8">&nbsp;&nbsp;<img src="Images/LeftMenuAR.png" width="9" height="10" align="absmiddle" />&nbsp;&nbsp;<font style="font-size:13px"><a href="MainSet.aspx">系统基本设置</a></font></td>
                          </tr>
                          <tr>
                            <td height="26" bgcolor="#D4D0C8">&nbsp;&nbsp;<img src="Images/LeftMenuAR.png" width="9" height="10" align="absmiddle" />&nbsp;&nbsp;<font style="font-size:13px"><a href="WebLogs.aspx">系统日志管理</a></font></td>
                          </tr>
                    
                          <tr>
                            <td height="26" bgcolor="#D4D0C8">&nbsp;&nbsp;<img src="Images/LeftMenuAR.png" width="9" height="10" align="absmiddle" />&nbsp;&nbsp;<font style="font-size:13px"><a href="CustomText_Add.aspx">添加自定义文本</a></font></td>
                          </tr>
                          <tr>
                            <td height="26" bgcolor="#D4D0C8">&nbsp;&nbsp;<img src="Images/LeftMenuAR.png" width="9" height="10" align="absmiddle" />&nbsp;&nbsp;<font style="font-size:13px"><a href="CustomTexts.aspx">自定义文本管理</a></font></td>
                          </tr>
                          <tr>
                            <td height="5" bgcolor="#D4D0C8"></td>
                          </tr>
                      </table></td>
                      <td valign="top" bgcolor="#E9E7E3">
					  
					   <TABLE width="700" border="0" cellPadding="5" cellSpacing="0" bgcolor="#FFFFFF" style="margin-left:10px; margin-top:10px; margin-bottom:10px">
                                                   <TR>
                                                    <TD bgcolor="#DEDEDE" colspan="6">&nbsp;<B>站点日志管理</B></TD>
                                                  </TR>
                                                
												     <TR>
                                                    <TD height="1" bgcolor="#999999" colspan="6"></TD>
                                                  </TR>
												      <TR>
                                                    <TD height="1" bgcolor="#CCCCCC" colspan="6"></TD>
                                                  </TR>
												       <TR>
                                                    <TD height="1" bgcolor="#EDEDED" colspan="6"></TD>
                                                  </TR>
                                        <TR>
                                          <TD height="30" colspan="6">日志类型：
                                            <asp:DropDownList id="dpWebLogType" runat="server" AutoPostBack="True" CssClass="search"></asp:DropDownList>&nbsp;&nbsp;<asp:Button id="btnDelete" runat="server" Text=" 删除所有日志 " CssClass="login"></asp:Button></TD>
                                        </TR>
                                        <TR bgColor="#ededed">
                                          <TD height="28" width="200">&nbsp;时间</TD>
                                          <TD height="28" width="80">&nbsp;日志类型</TD>
                                          <TD height="28" width="300">&nbsp;日志内容</TD>
                                          <TD height="28" width="70" align="center">&nbsp;操作员</TD>
                                          <TD height="28" width="50" align="center">&nbsp;删除</TD>
                                        </TR>
                                        <TR>
                                          <TD height="1" colspan="5" bgcolor="#cccccc"></TD>
                                        </TR>
                                        <asp:repeater id="lstWeblog" Runat="server">
                                          <ItemTemplate>
                                            <TR>
                                              <TD height="28"><%#DataBinder.Eval(Container,"DataItem.CreateTime")%></TD>
                                              <TD height="28">&nbsp;<%# ShowType(DataBinder.Eval(Container, "DataItem.LogType")) %></TD>
                                              <TD height="28"><%# DataBinder.Eval(Container, "DataItem.Content") %></TD>
                                              <TD height="28" align="center"><%# DataBinder.Eval(Container, "DataItem.MemberName") %></TD>
                                              <TD height="28" align="center"><asp:linkbutton runat="server" Text="<img src='images/cancel_x.gif' border=0>" CommandName="Delete"  CausesValidation="false" OnLoad="Delete_Load" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.WebLogID") %>' ID="Linkbutton1" NAME="Linkbutton1"> </asp:linkbutton></TD>
                                            </TR>
                                              <TR>
                                          <TD height="1" colspan="5" bgcolor="#cccccc"></TD>
                                        </TR>
                                          </ItemTemplate>
                                         
                                        </asp:repeater>
                                        <TR>
                                          <TD align="center" colSpan="6" height="40">
									<cc1:AspNetPager id="pager" runat="server" CssClass="mypager"></cc1:AspNetPager></TD>
                                        </TR>
                                                                        </TABLE>     </td>
                    </tr>
                </table></td>
              </tr>
            </table>
			<uc1:footer id="Footer1" runat="server"></uc1:footer>
	</FORM>
	</body>
</HTML>
