<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Admin_Template.aspx.vb" Inherits="LuckBetBBS.Forum.Admin.Admin_Template" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>Admin_Template</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<asp:repeater id="TemplateInfo" runat="server">
				<ItemTemplate>
					<tr align="left">
						<td height="23" class="Forumrow" align="center">
							<asp:label id="DefaultUse" runat='server' /></td>
						<td class="Forumrow" align="center">
							<asp:label id="TemplateName" runat='server' /></td>
						<td class="Forumrow" align="center">
							<asp:HyperLink id="EditLink" runat="server" text="修改模版" />
							|
							<asp:HyperLink id="DelLink" runat="server" text="删除" /></td>
					</tr>
				</ItemTemplate>
				<HeaderTemplate>
					<br>
					<table width="95%" border="0" cellspacing="1" cellpadding="3" class="tableBorder">
						<tr>
							<th height="23" colspan="3" align="left">
								模版管理</th>
						</tr>
						<tr align="left">
							<td height="23" class="forumrowHighlight" colspan="3">注意：<br>
								①在这里，您可以新建和修改模板，可以编辑论坛语言包和风格，可以新建模板页面，操作时请按照相关页面提示完整填写表单信息。<br>
								②论坛当前正在使用的默认模板不能删除<br>
								③如果修改分模板页面名称或删除分模板页面请在关闭论坛之后操作,否则可能会影响论坛访问。</td>
						</tr>
						<tr align="left">
							<td height="23" class="bodytitle" width="20%" align="center"><b>当前默认</b></td>
							<td class="bodytitle" align="center"><b>模版名称</b></td>
							<td class="bodytitle" width="30%" align="center"><b>操作</b></td>
						</tr>
				</HeaderTemplate>
				<FooterTemplate>
					</table>
				</FooterTemplate>
			</asp:repeater><br>
			<table class="tableBorder" cellSpacing="1" cellPadding="3" width="95%" border="0">
				<tr>
					<th align="left" colSpan="2" height="23">
						模板操作</th></tr>
				<tr align="left">
					<td class="Forumrow" height="23">新建模板：<input id="New_TemplateName" type="text" name="textfield" runat="server">
						<input id="Submit1" type="submit" value="添加" name="Submit" runat="server">
						<br>
						说明：新建模板将把当前论坛默认模版数据复制到新的模板中 <INPUT id="New_DefID" type="hidden" name="Hidden1" runat="server"></td>
					<td class="Forumrow">源模板：<asp:dropdownlist id="OldID" runat="server"></asp:dropdownlist>&nbsp;目标模板：<asp:dropdownlist id="NewID" runat="server"></asp:dropdownlist>
						<input type="submit" value="模版克隆" name="Submit2" id="Submit2" runat="server">
						<br>
						说明：模板克隆将用源模版数据覆盖目标模板中的所有数据
					</td>
				</tr>
				<tr align="left">
					<td class="Forumrow" height="23">模版改名：<asp:dropdownlist id="Edit_ID" runat="server"></asp:dropdownlist>改名为：<input id="Edit_TemplateName" type="text" name="textfield2" runat="server">
						<input type="submit" value="修改" name="Submit3" id="Submit4" runat="server">
					</td>
					<td class="Forumrow" height="23">将模版：<asp:dropdownlist id="Default_ID" runat="server"></asp:dropdownlist>&nbsp;<input type="submit" value="设为默认" name="Submit4" id="Submit3" runat="server"></td>
				</tr>
			</table>
			<a id="based"></a>
			<Script Language="Javascript" Src="../../Inc/southidcj2f.Js"></Script>
		</form>
		<%BBS.Footer()%>
	</body>
</HTML>
