﻿<!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>[$WebName$]-会员注册</title>
 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="/Skins/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/Js/regs.js"></script>
<script type="text/javascript" src="/Js/jsapi.js"></script>
<script language="JavaScript" type="text/javascript">
var drag_=false
var D=new Function('obj','return document.getElementById(obj);')
var oevent=new Function('e','if (!e) e = window.event;return e')
function Move_obj(obj){
 var x,y;
 D(obj).onmousedown=function(e){
  drag_=true;
  with(this){
   style.position="absolute";var temp1=offsetLeft;var temp2=offsetTop;
   x=oevent(e).clientX;y=oevent(e).clientY;
   document.onmousemove=function(e){
    if(!drag_)return false;
    with(this){
     style.left=temp1+oevent(e).clientX-x+"px";
     style.top=temp2+oevent(e).clientY-y+"px";
     if(document.getElementById('agreement').offsetTop>(document.body.offsetHeight-document.getElementById('agreement').offsetHeight))
     {
     style.top=(document.body.offsetHeight-document.getElementById('agreement').offsetHeight)+"px";
     }
      if(document.getElementById('agreement').offsetLeft>(document.body.offsetWidth-document.getElementById('agreement').offsetWidth))
     {
     style.left=(document.body.offsetWidth-document.getElementById('agreement').offsetWidth)+"px";
     } 
     if(document.getElementById('agreement').offsetLeft<0)
     {
     style.left="0px";
     } 
     if(document.getElementById('agreement').offsetTop<0)
     {
     style.top="0px";
     }
    }
   }
  }
  document.onmouseup=new Function("drag_=false");
 }
}
</script>
<script language="JavaScript" type="text/javascript">
function getover(star)
{
document.getElementById(star).style.className="buttover";
}
function getout(star)
{
document.getElementById(star).style.className="buttonBg";
}
 function WindowCloseGuide()
     {
     document.getElementById("MODALPANEL").style.display="none";
	 document.getElementById("regdisp").style.display="none";
     }
    function turnit(ss, ii) {
        //循环判断，ss为总列表数,ii为当前列
        for (i = 1; i <= ss; i++) {
            //错误过滤，当i=1至ss中有一项以上出错，自动过滤
            try {
                //当i=ii时展开目录数，否则关闭
                if (i == ii) {
                    //判断i列的目录数是否展开，没有就展开，否则关闭
                    if (document.getElementById("view" + i).style.display == "none") {
                        document.getElementById("view" + i).style.display = "";
                        document.getElementById("img" + i).src = "/Images/icon_19.gif";
                    } else {
                        document.getElementById("view" + i).style.display = "none";
                        document.getElementById("img" + i).src = "/Images/icon_18.gif";
                    }
                }
            } catch (e) { }
        }
    }
	function OpenGuide()
	{
	var topmove= document.documentElement.scrollTop+((document.documentElement.clientHeight-document.getElementById('agreement').offsetHeight) / 6 + document.body.scrollTop);
	document.getElementById("MODALPANEL").style.display="";
	document.getElementById("agreement").style.display="";
	 document.getElementById('agreement').style.left = ((document.body.offsetWidth- document.getElementById('agreement').offsetWidth) / 2)+"px"; 
 document.getElementById('agreement').style.top =topmove+"px";
	}function CloseGuide()
	{
	document.getElementById("MODALPANEL").style.display="none";
	document.getElementById("agreement").style.display="none";
	}
	function Open()
	{
var clearCaches=new Date().getTime();
	 var parss="&par="+clearCaches; 
           
             $.ajax({type: "POST",url: "/httphandler/open_User.ashx",data: parss, success:function(msg){
             if(msg=="1")
             {
             
             }
             else if(msg=="0")
             {
             alert("提示！本网站暂时关闭注册");
             location.href="/";
             }
              else 
             {
             alert(msg);
 location.href="/";
             }
            }}); 
	
	}
</script>
</head>

<body onload="Open()">
<div class="head2">
       <h1 style="cursor:pointer" class="logo"><a href="/" title="[$WebName$]"><img src="[$WebDir$]" /></a></h1> 
 <div class="top_link2">  <a href="/">首页</a> | <a href="/Channel/help/main.aspx">帮助中心</a></div>
</div>
<div class="step_reg"><div><img src="/Images/img_reg.jpg" /></div></div>
<div id="MODALPANEL" style="font-size:14px; color:red;display: none; background-color: #000000;
        position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; z-index: 3;
         text-align: center; vertical-align: middle; filter: alpha(opacity=70);
        -moz-opacity: 0.7; opacity: 0.7;"></div>
<div class="main2">
  <div class="box_title bg_signup"></div>
  <div class="box">
    <div class="bg_box_main clearfix">
      <div class="box_main">
        <div class="reg">
		
<div id="regdisp" style="font-size:12px;background-color: #EDEDED;display:none;
        position: absolute; top: 40%; left: 20%; width: 500px; height: 250px; z-index: 10;
        border: solid 1px #DDDDDD; text-align: center; vertical-align: middle; filter: alpha(opacity=100);
        -moz-opacity: 1; opacity: 1;">
<div  onmouseover='Move_obj("regdisp")' style="line-height:30px; padding:5px;  height:30px; font-size:12px; background-color:#EDEDED; "><span style="float:left;font-size:14px;font-weight:700;"> 温馨提示！ </span><span style="float:right; padding-right:5px; cursor:pointer;" onclick="WindowCloseGuide()">关 闭</span></div>
<div id="regspace" style=" vertical-align:middle; line-height:20px; margin:0px 5px 5px 5px;font-size:14px; background-color:#FFFFFF; height:205px;" ></div></div>
	<h2>填写基本信息</h2>
	<table class="reg_info"  border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
		<tbody><tr>
			<th style="line-height:30px" valign="top"><span style="color:red">*</span>会员名:</th>
			<td  class="tdw" style="line-height:20px;">
			  <input type="text" id="NS_UserName" style="width:220px;"  maxlength="12"  onblur="this.value=this.value.replace(/[^a-zA-Z0-9]/g,'');getBlurEvent('NS_UserName')" size="30" name="input" /><img id="imgname" style="display:none; width:20px; height:20px" src="/Images/true.jpg" />  </td>
			<td valign="top" style="line-height:30px;padding:0px" ><p id="NS_UserNameField.error" class="regmsgp" style="color:red;display:none;  margin-top:2px; margin-bottom:5px"> </p><em style=" padding-top:5px;" >请使用6-12位英文字母和数字，注册后不能修改</em></td>
		</tr>
		<tr>
			<th  valign="top"  style="line-height:30px"   ><span style="color:red">*</span>密码:</th>

			<td  style="line-height:40px;" class="tdw"><input name="netsoftok._fmm.r.p"
                        id="NS_Password" type="password" style="width:220px;"  onblur="this.value=this.value.replace(/[^a-zA-Z0-9_]/g,'');getBlurEvent('NS_Password')"><img id="imgNS_Password"  style="display:none; width:20px; height:20px;" src="/Images/true.jpg" /> </td>
			<td valign="top" style="line-height:30px"><p id="NS_PasswordField.error" class="regmsgp" style="color:red;display:none;  margin-top:2px; margin-bottom:5px"></p><em style=" padding-top:5px;">请使用6-20位英文数字、下划线或其组合。</em></td>
		</tr>
		<tr>
			<th valign="top"   style="line-height:30px"   ><span style="color:red">*</span>确认密码:</th>
			<td style="line-height:30px;"  class="tdw"><input name="netsoftok._fmm.r.r"
                        id="NS_RePassword" type="password" style="width:220px;"
                        onblur="this.value=this.value.replace(/[^a-zA-Z0-9_]/g,'');getBlurEvent('NS_RePassword')"><img id="imgPassword" style="display:none; width:20px; height:20px;" src="/Images/true.jpg" /></td>
			<td valign="top" style="line-height:30px"><p id="NS_RePasswordField.error" class="regmsgp" style="color:red; margin-top:2px;display:none;margin-bottom:5px"></p><em style=" padding-top:5px;">请再次输入密码进行确认</em></td>
		</tr>
	
		<tr>
			<th valign="top"   style="line-height:30px"   ><span style="color:red">*</span>常用邮箱:</th>
			<td  style="line-height:20px;"    class="tdw"><input type="text"  name="netsoftok._fmm.r.e" id="NS_UserEmail"  onblur="this.value=this.value.replace(/[^\.a-zA-Z0-9@_-]/g,'');getBlurEvent('NS_UserEmail')" style="width:220px;" ><img id="imgEmail" style="display:none; width:20px; height:20px;" src="/Images/true.jpg" /></td>
			<td valign="top" style="line-height:30px"><p  id="NS_UserEmailField.error" class="regmsgp" style="color:red;display:none;  margin-top:2px; margin-bottom:5px"></p><em style=" padding-top:5px;">请填写真实邮箱。</em></td>
		</tr>
		<tr>
			<th    style="line-height:30px" ><span style="color:red">*</span>验证码:</th>
			<td    style="line-height:20px; "  class="tdw"><input type="text" size="6" name="netsoftok._fmm.r.u.c" id="NS_RegCheckCode" onblur="this.value=this.value.replace(/[^0-9a-zA-Z]/g,'');getBlurEvent('NS_RegCheckCode')" />
			 <img id='NS_RegCheckCode' name="NS_RegCheckCode" title="点击，换一张" style="cursor: pointer;  vertical-align:top;width:100px; height:30px" src='/httphandler/webrandomcode_sys.ashx?'
                                    alt="点击，换一张" onclick="this.src=this.src+'?'"/><p id="NS_RegCheckCodeField.error"  class="displayP"></p></td>
			
			<td valign="top" style="line-height:30px"><em>(不区分大小写)</em></td>
		</tr>
		<tr>
			<th></th>
			<td style="text-align:left"><input type="checkbox" id="NS_Reg_Sure" checked="checked" value="1" />我已阅读并同意<font onclick="OpenGuide()" style="cursor: pointer; color:#FF0000" title="点击查看注册条款">《[$WebName$]注册条款》</font></td>
			</tr>
	</tbody></table>
	
	
	<div class="sub">
    <input name="" onclick="return Ns_Check_UserRegister_ActionFun();" type="image" src="/Images/btn_reg.jpg" />
	</div>
	
	<dl class="xiey">
		<dd>
		 
		<div id="agreement"  style=" background-color:#FFFFFF; width:800px; position:absolute; z-index:10; display:none;  border:solid 3px #D6D6D6"><div style=" padding:10px; text-align:center" onmouseover='Move_obj("agreement")'> [$userReg$]</div><div style=" text-align:center; margin:10px;"><input onclick="CloseGuide()"  class="buttonBg" type="button" value="关  闭" /></div></div>
		
		</dd>
	</dl>
</div>
      </div>
    </div>
  </div>

</div> 
{@MT_Bottom}
</body>
</html>
