📄 customercsz.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin/Masterpage/Page.Master" CodeBehind="Customercsz.aspx.cs" Inherits="YXShop.Web.Admin.WebsiteInstall.Customercsz" %>
<%@ Register src="../Control/SelectProduct.ascx" tagname="SelectProduct" tagprefix="uc1" %>
<%@ Register Assembly="DatePicker" Namespace="CustomControls" TagPrefix="cc1" %>
<asp:Content ID="Contenthaed" runat="server" ContentPlaceHolderID="head">
<script src="../Ajax/CheckCorrelation.js" type="text/javascript"></script>
<script src="../JS/Calendar.js" type="text/jscript"></script>
<script src="../JS/CheckDataFunction.js" type="text/jscript"></script>
<script type="text/jscript" language="javascript">
function rdate()
{
alert("@@@@@");
var mystr=document.getElementById("dpStart").value;
alert(mystr);
var mystr1=document.getElementById("dpEnd").value;
mystr=mystr.replace("-","").replace("-","");
mystr1=mystr1.replace("-","").replace("-","");
alert(mystr);
if(mystr>=mystr1)
alert("对不起,日期A必须小于日期B!");
else
alert("日期正确!");
}
</script>
</asp:Content>
<asp:Content ID="Contenttitel" runat="server" ContentPlaceHolderID="ContentPlaceTitle">
用户参数配置
</asp:Content>
<asp:Content ID="Contentmian" runat="server" ContentPlaceHolderID="ContentPlaceHolderMain">
<table width="100%" border="0" cellspacing="1" cellpadding="1" class="hy" bgcolor="#5D8FB2">
<tr>
<td width="31%"><div align="right">是否开启会员注册功能:</div></td>
<td width="69%">
<asp:RadioButtonList ID="zcgn" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="是" Value="1"></asp:ListItem>
<asp:ListItem Text="否" Value="0" Selected="True"></asp:ListItem>
</asp:RadioButtonList> </td>
</tr>
<tr>
<td width="31%"><div align="right">是否允许Email多次注册:</div></td>
<td width="69%">
<asp:RadioButtonList ID="dczc" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="是" Value="1"></asp:ListItem>
<asp:ListItem Text="否" Value="0" Selected="True"></asp:ListItem>
</asp:RadioButtonList></td>
</tr>
<tr>
<td><div align="right">注册后是否赠送点券:</div></td>
<td>
<asp:RadioButtonList ID="zsdj" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="是" Value="1"></asp:ListItem>
<asp:ListItem Text="否" Value="0" Selected="True"></asp:ListItem>
</asp:RadioButtonList> </td>
</tr>
<tr>
<td><div align="right">是否启用回答问题验证:</div></td>
<td>
<asp:RadioButtonList ID="wtyz" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="是" Value="1"></asp:ListItem>
<asp:ListItem Text="否" Value="0" Selected="True"></asp:ListItem>
</asp:RadioButtonList> </td>
</tr>
<tr>
<td><div align="right">设置问题一:</div></td>
<td><asp:TextBox ID="txtwt1" runat="server" Width="55%" MaxLength="50"></asp:TextBox> </td>
</tr>
<tr>
<td><div align="right">问题一回答:</div></td>
<td><asp:TextBox ID="txthd1" runat="server" Width="55%" MaxLength="50"></asp:TextBox> </td>
</tr>
<tr>
<td><div align="right">设置问题二:</div></td>
<td><asp:TextBox ID="txtwt2" runat="server" Width="55%"></asp:TextBox> </td>
</tr>
<tr>
<td><div align="right">问题二回答:</div></td>
<td><asp:TextBox ID="txthd2" runat="server" Width="55%" MaxLength="50"></asp:TextBox> </td>
</tr>
<tr>
<td><div align="right">是否需要管理员认证:</div></td>
<td> <asp:RadioButtonList ID="glyrz" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="是" Value="1"></asp:ListItem>
<asp:ListItem Text="否" Value="0" Selected="True"></asp:ListItem>
</asp:RadioButtonList> </td>
</tr>
<tr>
<td><div align="right">注册是否需要邮件验证:</div></td>
<td>
<asp:RadioButtonList ID="yjrz" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="是" Value="1"></asp:ListItem>
<asp:ListItem Text="否" Value="0" Selected="True"></asp:ListItem>
</asp:RadioButtonList> </td>
</tr>
<tr>
<td><div align="right">会员找回密码方式:</div></td>
<td> <asp:RadioButtonList ID="mmfs" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="是" Value="1"></asp:ListItem>
<asp:ListItem Text="否" Value="0" Selected="True"></asp:ListItem>
</asp:RadioButtonList> </td>
</tr>
<tr>
<td><div align="right">禁止注册用户名:</div></td>
<td><asp:TextBox ID="txtjzceyhm" runat="server" Width="55%" TextMode="MultiLine"></asp:TextBox>
(<span class="Description">户名请用“|”符号分开</span>)</td>
</tr>
<tr>
<td><div align="right">会员注册的必填和选填:</div></td>
<td><table width="100%" border="0">
<tr>
<td width="7%">可用项:</td>
<td width="8%"> </td>
<td width="85%">必填项:</td>
</tr>
<tr>
<td rowspan="5">
<asp:ListBox ID="lbOption" runat="server" Height="273px"
Width="216px"></asp:ListBox></td>
<td><input id="Button6" type="button" value=">>" Width="56px" onclick="AddItem('<%=lbOption.ClientID%>','<%=lbbx.ClientID%>')"/></td>
<td rowspan="2">
<asp:ListBox ID="lbbx" runat="server" Height="113px"
Width="158px"></asp:ListBox></td>
</tr>
<tr>
<td>
<input id="Button2" type="button" value="<<" Width="56px" onclick="DelItem('<%=lbbx.ClientID%>')" />
</td>
</tr>
<tr>
<td> </td>
<td>选填项:</td>
</tr>
<tr>
<td><input id="Button3" type="button" value=">>" Width="56px" onclick="AddItem('<%=lbOption.ClientID%>','<%=lbxt.ClientID%>')"/></td>
<td rowspan="2">
<asp:ListBox ID="lbxt" runat="server" Height="122px"
Width="158px" onselectedindexchanged="ListBox2_SelectedIndexChanged"></asp:ListBox></td>
</tr>
<tr>
<td><input id="Button4" type="button" value="<<" Width="56px" onclick="DelItem('<%=lbxt.ClientID%>')" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><div align="right">会员注册发送验证内容:</div></td>
<td><asp:TextBox ID="txtqz" runat="server" Width="55%"></asp:TextBox> </td>
</tr>
<tr>
<td><div align="right">会员注册后所属会员组:</div></td>
<td>
<asp:DropDownList ID="DropDownList1" runat="server" Width="55%"> </asp:DropDownList> </td>
</tr>
<tr>
<td><div align="right">新会员注册时赠送积分:</div></td>
<td><asp:TextBox ID="txtcesjf" runat="server" MaxLength="10" Width="55%"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator3"
runat="server" ControlToValidate="txtcesjf" ErrorMessage="必须是数字"
ValidationExpression="^(-?\d+)(\.\d+)?$"></asp:RegularExpressionValidator> </td>
</tr>
<tr>
<td><div align="right">会员登陆一次赠送积分:</div></td>
<td><asp:TextBox ID="txtdlsjf" runat="server" MaxLength="10" Width="55%"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator2"
runat="server" ControlToValidate="txtdlsjf" ErrorMessage="必须是数字"
ValidationExpression="^(-?\d+)(\.\d+)?$"></asp:RegularExpressionValidator> </td>
</tr>
<tr>
<td><div align="right">赠送点券数量:</div></td>
<td><asp:TextBox ID="txtdjsl" runat="server" Width="55%" MaxLength="10"></asp:TextBox>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtdjsl"
ErrorMessage="请输入整数" Operator="DataTypeCheck" Type="Integer"></asp:CompareValidator> </td>
</tr>
<tr>
<td><div align="right">赠送起始时间:</div></td>
<td>
<cc1:DatePicker ID="dpStart" runat="server" txtWidth="70" /> </td>
</tr>
<tr>
<td><div align="right">赠送结束时间:</div></td>
<td>
<cc1:DatePicker ID="dpEnd" runat="server" txtWidth="70" />
<asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
</td>
</tr>
<tr>
<td><div align="right">会员登录是否启用验证: </div></td>
<td><asp:RadioButtonList ID="hyrz" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="是" Value="1"></asp:ListItem>
<asp:ListItem Text="否" Value="0" Selected="True"></asp:ListItem>
</asp:RadioButtonList></td>
</tr>
<tr>
<td><div align="right">是否允许多人同时使用同一会员号:</div></td>
<td>
<asp:RadioButtonList ID="tyhuh" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="是" Value="1"></asp:ListItem>
<asp:ListItem Text="否" Value="0" Selected="True"></asp:ListItem>
</asp:RadioButtonList> </td>
</tr>
<tr>
<td><div align="right">会员的资金与点券的兑换比率:</div></td>
<td>每<asp:TextBox ID="txtzj" runat="server" MaxLength="10" Width="72px"></asp:TextBox>
元钱可兑换
<asp:TextBox ID="TextBox2" runat="server" Width="72px"></asp:TextBox>
点点券
<asp:RegularExpressionValidator ID="RegularExpressionValidator4"
runat="server" ControlToValidate="txtzj" ErrorMessage="必须是数字"
ValidationExpression="^(-?\d+)(\.\d+)?$"
Display="Dynamic"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator8"
runat="server" ControlToValidate="TextBox2" ErrorMessage="必须是数字"
ValidationExpression="^(-?\d+)(\.\d+)?$"
Display="Dynamic"></asp:RegularExpressionValidator> </td>
</tr>
<tr>
<td><div align="right">会员的资金与有效期的兑换比率:</div></td>
<td>每<asp:TextBox ID="TextBox3" runat="server" Width="72px"></asp:TextBox>
元钱可兑换
<asp:TextBox ID="TextBox4" runat="server" Width="72px"></asp:TextBox>
天有效期<asp:RegularExpressionValidator ID="RegularExpressionValidator5"
runat="server" ControlToValidate="TextBox3" ErrorMessage="必须是数字"
ValidationExpression="^(-?\d+)(\.\d+)?$"
Display="Dynamic"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator9"
runat="server" ControlToValidate="TextBox4" ErrorMessage="必须是数字"
ValidationExpression="^(-?\d+)(\.\d+)?$"
Display="Dynamic"></asp:RegularExpressionValidator> </td>
</tr>
<tr>
<td><div align="right">会员的积分与点券的兑换比率:</div></td>
<td>每<asp:TextBox ID="TextBox5" runat="server" Width="72px"></asp:TextBox>
分积分可兑换
<asp:TextBox ID="TextBox6" runat="server" Width="72px"></asp:TextBox>
点点券<asp:RegularExpressionValidator ID="RegularExpressionValidator6"
runat="server" ControlToValidate="TextBox5" ErrorMessage="必须是数字"
ValidationExpression="^(-?\d+)(\.\d+)?$"
Display="Dynamic"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator10"
runat="server" ControlToValidate="TextBox6" ErrorMessage="必须是数字"
ValidationExpression="^(-?\d+)(\.\d+)?$"
Display="Dynamic"></asp:RegularExpressionValidator> </td>
</tr>
<tr>
<td><div align="right">会员的积分与有效期的兑换比率:</div></td>
<td>每<asp:TextBox ID="TextBox8" runat="server" MaxLength="10" Width="72px"></asp:TextBox>
分积分可兑换
<asp:TextBox ID="TextBox9" runat="server" MaxLength="10" Width="72px"></asp:TextBox>
天有效期<asp:RegularExpressionValidator ID="RegularExpressionValidator7"
runat="server" ControlToValidate="TextBox8" ErrorMessage="必须是数字"
ValidationExpression="^(-?\d+)(\.\d+)?$"
Display="Dynamic"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator11"
runat="server" ControlToValidate="TextBox9" ErrorMessage="必须是数字"
ValidationExpression="^(-?\d+)(\.\d+)?$"
Display="Dynamic"></asp:RegularExpressionValidator> </td>
</tr>
<tr>
<td><div align="right">点券名称:</div></td>
<td><asp:TextBox ID="txtdjmc" runat="server" Width="55%" MaxLength="25"></asp:TextBox> </td>
</tr>
<tr>
<td><div align="right">点券的单位:</div></td>
<td><asp:TextBox ID="txtdjdw" runat="server" Width="55%" MaxLength="10"></asp:TextBox> </td>
</tr>
<tr>
<td> </td>
<td align ="center"><asp:Button ID="Button1" runat="server" Text="提交"
Width="131px" OnClick="Button1_Click" /> </td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -