<%@ Page language="c#" Codebehind="CustomTexts.aspx.cs" AutoEventWireup="false" Inherits="SK.MemberWeb.admin.CustomTexts" %>
<%@ Register TagPrefix="uc1" TagName="footer" Src="modules/footer.ascx" %>
<%@ Register TagPrefix="uc1" TagName="header" Src="modules/header.ascx" %>
<!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="600" border="0" cellPadding="5" cellSpacing="0" bgcolor="#FFFFFF" style="margin-left:10px; margin-top:10px; margin-bottom:10px">
                                                   <TR>
                                                    <TD bgcolor="#DEDEDE" colspan="3">&nbsp;<B>自定义文本管理</B></TD>
                                                  </TR>
                                                
												     <TR>
                                                    <TD height="1" bgcolor="#999999" colspan="3"></TD>
                                                  </TR>
												      <TR>
                                                    <TD height="1" bgcolor="#CCCCCC" colspan="3"></TD>
                                                  </TR>
												       <TR>
                                                    <TD height="1" bgcolor="#EDEDED" colspan="3"></TD>
                                                  </TR>
                                     <TR bgColor="#EFEFEF">
                                        <TD height="28"><strong>自定义名称</strong></TD>
                                        <TD height="28" align="center" width="50"><strong>编辑</strong></TD>
                                        <TD height="28" align="center" width="50"><strong>删除</strong></TD>
                                      </TR>
                                      <asp:repeater id="lstCustomText" Runat="server">
                                        <ItemTemplate>
                                          <TR>
                                            <TD height="28">&nbsp;<a href='CustomText_Edit.aspx?id=<%# DataBinder.Eval(Container, "DataItem.CustomTextID") %>' ><%# DataBinder.Eval(Container, "DataItem.CustomName") %></a></TD>
                                            <TD height="28" align="center"><a href='CustomText_Edit.aspx?id=<%# DataBinder.Eval(Container, "DataItem.CustomTextID") %>' ><img src='images/edit_x.gif' border="0"></a></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.CustomTextID") %>' ID="Linkbutton1"> </asp:linkbutton></TD>
                                          </TR>
                                              <TR>
                                                    <TD height="1" bgcolor="#CCCCCC" colspan="3"></TD>
                                                  </TR>
                                        </ItemTemplate>
                                      
                                      </asp:repeater>
                                  </TABLE></td>
                    </tr>
                </table></td>
              </tr>
            </table>
			<uc1:footer id="Footer1" runat="server"></uc1:footer>
	</FORM>
	</body>
</HTML>
