<%@ page language="C#" autoeventwireup="true" inherits="admin_weixin_createmenu, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title></title>
	<link id="CssName" rel="stylesheet" type="text/css" runat="server" />
</head>
<body>
	<form id="form1" runat="server">
		<table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
			<tr>
				<td>
					<asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
					您现在的位置：<a href="../info.aspx">后台管理</a> >> 创建微信菜单
				</td>
			</tr>
		</table>
		<table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center">
			<tr>
				<td class="bqleft">一级菜单：</td>
				<td class="bqright">
					<table cellspacing="1" cellpadding="0" border="0" width="99%">
						<tr>
							<td>
								<table cellspacing="1" cellpadding="2" border="0">
									<tr>
										<td>菜单名称：</td>
										<td>
											<asp:TextBox ID="txtonename" runat="server" CssClass="in1" Columns="20"></asp:TextBox></td>

									</tr>
									<tr>
										<td>菜单动作：</td>
										<td>
											<asp:RadioButtonList ID="radoneaction" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="sub_button" Selected="True">子菜单</asp:ListItem>
												<asp:ListItem Value="url">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
									</tr>
									<tr>
										<td>链接地址：</td>
										<td>
											<asp:TextBox ID="txtonecontent" runat="server" CssClass="in1" Columns="40"></asp:TextBox></td>

									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td>
								<table align="center" cellpadding="2" cellspacing="1" class="border">
									<tr class="title">
										<td class="t1">子菜单名称</td>
										<td>菜单动作</td>
										<td>链接地址</td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txtonesubname1" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radonesubaction1" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txtonesubcontent1" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txtonesubname2" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radonesubaction2" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txtonesubcontent2" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txtonesubname3" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radonesubaction3" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txtonesubcontent3" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txtonesubname4" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radonesubaction4" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txtonesubcontent4" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txtonesubname5" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radonesubaction5" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txtonesubcontent5" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td class="bqleft">一级菜单：</td>
				<td class="bqright">
					<table cellspacing="1" cellpadding="0" border="0" width="99%">
						<tr>
							<td>
								<table cellspacing="1" cellpadding="2" border="0">
									<tr>
										<td>菜单名称：</td>
										<td>
											<asp:TextBox ID="txttwoname" runat="server" CssClass="in1" Columns="20"></asp:TextBox></td>

									</tr>
									<tr>
										<td>菜单动作：</td>
										<td>
											<asp:RadioButtonList ID="radtwoaction" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="sub_button" Selected="True">子菜单</asp:ListItem>
												<asp:ListItem Value="url">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
									</tr>
									<tr>
										<td>链接地址：</td>
										<td>
											<asp:TextBox ID="txttwocontent" runat="server" CssClass="in1" Columns="40"></asp:TextBox></td>

									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td>
								<table align="center" cellpadding="2" cellspacing="1" class="border">
									<tr class="title">
										<td class="t1">子菜单名称</td>
										<td>菜单动作</td>
										<td>链接地址</td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txttwosubname1" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radtwosubaction1" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txttwosubcontent1" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txttwosubname2" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radtwosubaction2" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txttwosubcontent2" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txttwosubname3" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radtwosubaction3" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txttwosubcontent3" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txttwosubname4" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radtwosubaction4" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txttwosubcontent4" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txttwosubname5" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radtwosubaction5" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txttwosubcontent5" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td class="bqleft">一级菜单：</td>
				<td class="bqright">
					<table cellspacing="1" cellpadding="0" border="0" width="99%">
						<tr>
							<td>
								<table cellspacing="1" cellpadding="2" border="0">
									<tr>
										<td>菜单名称：</td>
										<td>
											<asp:TextBox ID="txtthreename" runat="server" CssClass="in1" Columns="20"></asp:TextBox></td>

									</tr>
									<tr>
										<td>菜单动作：</td>
										<td>
											<asp:RadioButtonList ID="radthreeaction" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="sub_button" Selected="True">子菜单</asp:ListItem>
												<asp:ListItem Value="url">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
									</tr>
									<tr>
										<td>链接地址：</td>
										<td>
											<asp:TextBox ID="txtthreecontent" runat="server" CssClass="in1" Columns="40"></asp:TextBox></td>

									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td>
								<table align="center" cellpadding="2" cellspacing="1" class="border">
									<tr class="title">
										<td class="t1">子菜单名称</td>
										<td>菜单动作</td>
										<td>链接地址</td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txtthreesubname1" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radthreesubaction1" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txtthreesubcontent1" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txtthreesubname2" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radthreesubaction2" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txtthreesubcontent2" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txtthreesubname3" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radthreesubaction3" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txtthreesubcontent3" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txtthreesubname4" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radthreesubaction4" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txtthreesubcontent4" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
									<tr class="tdMoveTr">
										<td class="t1">
											<asp:TextBox ID="txtthreesubname5" runat="server" CssClass="in1" Style="width: 99%;"></asp:TextBox></td>
										<td>
											<asp:RadioButtonList ID="radthreesubaction5" runat="server" RepeatDirection="Horizontal">
												<asp:ListItem Value="url" Selected="True">链接地址</asp:ListItem>
												<asp:ListItem Value="key">事件</asp:ListItem>
											</asp:RadioButtonList></td>
										<td>
											<asp:TextBox ID="txtthreesubcontent5" runat="server" CssClass="in1" Columns="50"></asp:TextBox></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td class="bqleft"></td>
				<td class="bqright" height="50">
					<asp:Button ID="Button1" runat="server" CssClass="btn radius30 pad_0_30" Text=" 保存菜单 " OnClick="Button1_Click" /><asp:Button ID="Button2" runat="server" CssClass="btn radius30 pad_0_30" Text=" 保存并生成微信菜单 " OnClick="Button1_Click" style="margin-left:10px;" /></td>
			</tr>
			<tr>
				<td class="bqleft"></td>
				<td class="bqright">1、请依次设置各菜单名称，如果不需要菜单，请保留菜单名称为空！<br />2、需要【推广海报】时，选择动作菜单为【事件】，链接内容为：V1001_HaiBao<br />3、动作菜单为【链接地址】时，请填写带有http://的路径</td>
			</tr>
		</table>
	</form>
</body>
</html>
