<%@ Page Language="C#" AutoEventWireup="true" CodeFile="reg.aspx.cs" Inherits="user_reg" %>
<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户注册_DianCMS v6.2.0</title>
<link href="images/spring/css.css" rel="stylesheet" type="text/css" />
    <script src="../js/Common.js" type="text/javascript"></script> 
    <script src="../js/<%=B_Lang.getLang() %>/user.js" type="text/javascript"></script>
    <script type="text/javascript" src="../js/PasswordStrength.js"></script>
	<script src="../../js/lhgdialog/lhgcore.lhgdialog.min.js?self=true&skin=ublue" type="text/javascript"></script>
    <!--[if IE 6]>
		<script src="../js/DD_belatedPNG_0.0.8a.js"></script>
		<script>
			DD_belatedPNG.fix('.png_bg, img');
		</script>
<![endif]-->
</head>

<body class="regbody">
	<form runat="server">
	<table width="781" cellpadding="0" cellspacing="0" border="0" align="center">
		<tr><td width="701"><img src="images/spring/logo.png" /></td>
		  <td width="80" valign="bottom"><a href="/"><font color="#FFFFFF">返回首页</font></a></td>
		</tr>
		<tr><td colspan="2" class="regtop"></td></tr>
	</table>
	<table width="781" cellpadding="0" cellspacing="0" border="0" align="center">
		<tr>
			<td class="regtd1">
				<table width="90%" cellpadding="0" cellspacing="0" border="0" align="center">
					<tr>
						<td class="regline" colspan="3">请选择您的用户名</td>
					</tr>
					<tr>
                        <td class="f14" align="right" height="60" width="160">
                            <font color="red">*</font>用户名：                        </td>
                        <td>
                            <asp:TextBox ID="txtUserName" runat="server" Columns="25" CssClass="in1" onchange="RegExists('username',this.value,'')"></asp:TextBox>
                        </td>
                        <td width="320" style="line-height:150%">
                            由字母a～z(不区分大小写)、数字0～9或下划线组成<br />用户名长度为<asp:literal id="LitUserLength" runat="server"></asp:literal>个字符,一个汉字为两个字符<br />
                            <span id="ExistsSpan_username" style="padding: 5px; height: 20px; width: 100%; display: none;
                                line-height: 20px;"></span>
                        </td>
                    </tr>
					<tr>
						<td class="regline" colspan="3">请填写安全设置<span>(&nbsp;以下信息对保护您的帐号安全极为重要，请您慎重填写并牢记&nbsp;)</span></td>
					</tr>
					
                    <tr>
                        <td class="f14" align="right" height="40">
                            <font color="red">*</font>密码：
                        </td>
                        <td>
                            <asp:TextBox ID="txtPassWord" runat="server" CssClass="in1" TextMode="Password" onchange="RegExists('password',this.value,'')" onKeyUp="ps.update(this.value);" Columns="26"></asp:TextBox><br />
                            <script type="text/javascript">
var ps = new PasswordStrength();
ps.setSize("200", "20");
ps.setMinLength(5);</script>
                        </td>
                        <td width="320" rowspan="2">
                            <span style="height: 25px;">密码长度6～30位,字母区分大小写</span><br />
                            <span id="ExistsSpan_password" style="padding: 5px; height: 20px; width: 100%; display: none;
                                line-height: 20px;"></span>
                        </td>
                    </tr>
                    <tr>
                        <td class="f14" align="right" height="40">
                            <font color="red">*</font>再输入一遍密码：
                        </td>
                        <td>
                            <asp:TextBox ID="txtPassWord2" CssClass="in1" runat="server" TextMode="Password" onchange="RegExists('password1',this.value,'')" Columns="26"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="f14" align="right" height="40">
                            <font color="red">*</font>密码提示问题：
                        </td>
                        <td>
                            <asp:DropDownList ID="DropQuestion" runat="server" onchange="SelQuestion(this.value)"><asp:ListItem Value="0">请选择一个问题</asp:ListItem></asp:DropDownList><br/><asp:TextBox ID="txtmyQuestion" runat="server" Style="display: none" Columns="30" CssClass="in1"></asp:TextBox>
                        </td>
                        <td rowspan="2" width="220" style="line-height:150%">
                            密码提示答案长度6～30位,字母区分大小写,一个汉字占两位.用于修复帐号密码<br />
                            <span id="ExistsSpan_answer" style="padding: 5px; height: 20px; width: 100%; display: none;
                                line-height: 20px"></span>
                        </td>
                    </tr>
                    <tr>
                        <td class="f14" align="right" height="40">
                            <font color="red">*</font>密码提示答案：
                        </td>
                        <td>
                            <asp:TextBox ID="txtAnswer" runat="server" Columns="30" CssClass="in1" onchange="RegExists('answer',this.value,'')"></asp:TextBox>
                        </td>
                    </tr>
					<tr>
						<td class="regline" colspan="3">填写个人资料</td>
					</tr>					
                    <tr>
                        <td class="f14" align="right" height="40">
                            <font color="red">*</font>用户昵称：
                        </td>
                        <td>
                            <asp:TextBox ID="txtNickName" runat="server" CssClass="in1"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td class="f14" align="right" height="40">
                            <font color="red">*</font>电子邮件：
                        </td>
                        <td>
                            <asp:TextBox ID="txtEmail" runat="server" CssClass="in1" Columns="30" onchange="RegExists('email',this.value,'')"></asp:TextBox>
                        </td>
                        <td width="220">
                            <span id="ExistsSpan_email" style="padding: 5px; display: none; height: 15px; line-height: 15px;
                                width: 100%;"></span>
                        </td>
                    </tr>
                    <asp:literal id="LitExpand" runat="server"></asp:literal>					
					<tr>
						<td class="regline" colspan="3">填写验证码</td>
					</tr>
					<tbody id="IsVer" runat="server">
                        <tr>
                            <td>
                            </td>
                            <td>
                                <asp:Image ID="imgVerify" runat="server" ImageUrl="../common/VerifyCode.aspx?" onclick="this.src+=Math.random()" Style="cursor: pointer" ToolTip="<%$ Resources:Lang,Login_Switch%>" />
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td class="f14" align="right" height="40">
                                输入上图字符：
                            </td>
                            <td>
                                <asp:TextBox ID="txtVerCode" runat="server" CssClass="in1"></asp:TextBox>
                            </td>
                            <td>
                            </td>
                        </tr>
                    </tbody>					
                    <tr>
                        <td>
                        </td>
                        <td colspan="2">
                            <asp:checkbox id="CheckAgree" runat="server" checked="true" text="我已看过并同意《DianCMS服务条款》" /><asp:literal id="LitAgree" runat="server"></asp:literal>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td height="80" colspan="2">
                            <input name="FilePicPath" type="text" value="user|0" id="FilePicPath" style="display:none" /><asp:ImageButton ID="RegImgageButton" runat="server" ImageUrl="images/regbutton.jpg" onclick="RegImgageButton_Click" />                        </td>
                    </tr>
				</table>
			</td>
		</tr>
	</table>
	<table width="781" cellpadding="0" cellspacing="0" border="0" align="center">
		<tr>
			<td class="regfooter">&nbsp;</td>
		</tr>
	</table>
  <table width="781" align="center">  
		<tr>
			<td align="center" height="100">Copyright &copy; 2009-2017 DianCMS. All rights reserved. 易点内容管理系统网站建设更容易</td>
		</tr>
  </table>
  </form>
</body>
</html>

