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

<%@ Import Namespace="D.Common" %>
<!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" />
	<script src="../../js/Common.js" type="text/javascript"></script>
	<script src="../../js/date/date.js" type="text/javascript"></script>
	<script src="../../js/lhgdialog/lhgcore.lhgdialog.min.js?self=true&skin=<%=Function.GetCssNameColor()%>" type="text/javascript"></script>
</head>
<body>
	<form id="form1" runat="server" onkeydown="Save()">
		<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> >> <a href="surveylist.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">
					<asp:TextBox ID="txtName" MaxLength="50" runat="server" CssClass="in1"></asp:TextBox><font color="#ff0066">*</font>
				</td>
			</tr>
			<tr>
				<td class="bqleft">英文名称：
				</td>
				<td class="bqright">D_Survey_U_<asp:TextBox ID="txtEnName" runat="server" MaxLength="20" CssClass="in1"></asp:TextBox><font
					color="#ff0066">*</font>
				</td>
			</tr>
			<tr>
				<td class="bqleft">调查方案：
				</td>
				<td class="bqright">
					<asp:DropDownList ID="DropVoteLimit" runat="server">
						<asp:ListItem Value="0">请选择调查方案</asp:ListItem>
					</asp:DropDownList>
				</td>
			</tr>
        <tr>
            <td class="bqleft">
                启用时间限制：
            </td>
            <td class="bqright">
                <asp:RadioButtonList ID="txtIsUnlockTime" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="True">启用</asp:ListItem>
                    <asp:ListItem Selected="True" Value="False">不启用</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                开始时间：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtStartTime" MaxLength="50" runat="server" onClick="date({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})" CssClass="in1"></asp:TextBox><font
                    color="#ff0066">*</font>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                结束时间：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtEndTime" MaxLength="50" runat="server" onClick="date({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})" CssClass="in1"></asp:TextBox><font
                    color="#ff0066">*</font>
            </td>
        </tr>
			<tr>
				<td class="bqleft">管理员后台录入模板：
				</td>
				<td class="bqright">
					<asp:TextBox ID="txtAdminTemplate" runat="server" Columns="50" CssClass="in1" Style="float: left"></asp:TextBox>
					<input id="Button3" type="button" value="选择模板" class="btn" onclick="WinOpenLhgDialog('选择模板','../template/SelectTemplate.aspx?ControlId=txtAdminTemplate',650,450,'')" style="float: left" /><font
						color="#ff0066">*</font>
				</td>
			</tr>
			<tr>
				<td class="bqleft">录入信息后：<br />
					(针对以HTML方式调用)
				</td>
				<td class="bqright">
					<table cellpadding="2" cellspacing="0" border="0">
						<tr>
							<td colspan="2">
								<asp:RadioButtonList ID="RadioSkip" runat="server">
									<asp:ListItem Value="1" Selected="True">系统默认</asp:ListItem>
									<asp:ListItem Value="2">弹出js提示框,不跳转</asp:ListItem>
									<asp:ListItem Value="3">弹出js提示框,并跳转到</asp:ListItem>
									<asp:ListItem Value="4">不提示，直接转到指定页面</asp:ListItem>
								</asp:RadioButtonList>
							</td>
						</tr>
						<tr>
							<td align="right">js提示框提示语言：</td>
							<td>
								<asp:TextBox ID="txtSkipLang" runat="server" Text="成功发布信息" Columns="40" CssClass="in1"></asp:TextBox></td>
						</tr>
						<tr>
							<td align="right">指定页面地址：</td>
							<td>
								<asp:TextBox
									ID="txtSkipUrl" runat="server" Columns="40" Text="http://" CssClass="in1"></asp:TextBox>输入{Id}可获得添加信息Id值
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td class="bqleft" style="height: 26px">积分设置：
				</td>
				<td class="bqright" style="height: 26px">
					<asp:TextBox ID="txtIntegral" MaxLength="5" runat="server" Columns="5" CssClass="in1">0</asp:TextBox>
					如需要扣除2点积分请设置为-2，不设置请为0
				</td>
			</tr>
			<tr>
				<td class="bqleft">显示验证码：
				</td>
				<td class="bqright">
					<asp:RadioButtonList ID="txtIsValidate" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="True">显示</asp:ListItem>
						<asp:ListItem Selected="True" Value="False">不显示</asp:ListItem>
					</asp:RadioButtonList>
				</td>
			</tr>
			<tr>
				<td class="bqleft">状态：
				</td>
				<td class="bqright">
					<asp:RadioButtonList ID="radIsStatus" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="True" Selected="True">启用</asp:ListItem>
						<asp:ListItem Value="False">停止</asp:ListItem>
					</asp:RadioButtonList>
				</td>
			</tr>
			<tr>
				<td class="bqleft"></td>
				<td class="bqright" align="center" height="40">
					<asp:Button ID="DianCMS_Submit" runat="server" Text=" 确定(Ctrl+s) " CssClass="btn radius30 pad_0_30" OnClick="btnSubmit_Click" />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>
