<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
?>
<?php
$public_diyr['pagetitle']='注册会员';
$url="<a href=../../../>首页</a>&nbsp;>&nbsp;<a href=../cp/>会员中心</a>&nbsp;>&nbsp;注册会员";
require(ECMS_PATH.'e/template/incfile/header1.php');
?>
<style type="text/css">

body {
	font-size:12px;
	color:#333;
	
	font-family:'宋体'
}
ul {
	list-style:none
}
img {
	border:0px;
}
a {
	color:#333;
	text-decoration:none;
}
a:hover {
	color:#666;
	text-decoration:underline;
}
.toptitle {
	width:800px;
	
	margin:10px auto;
}
.m1 {
	width:7px;
	height:46px;
	float:left;
	
}
.m2 {
	width:800px;
	float:left;
	height:30px;
	padding-top:3px;
	
	background:#FFF
}
.m3 {
	width:9px;
	height:46px;
	float:right;
	
}
.reg101 {
	clear:both;
	border-bottom:1px solid #DFDFDF;
	border-left:1px solid #DFDFDF;
	border-right:1px solid #DFDFDF;
}
.line01{ clear:both; height:1px; overflow:hidden; line-height:1px; width:100%;}
</style>
<script language="javascript">
function reloadimg(){
	document.getElementById("keypic").src='../../ShowKey/?v=reg&id='+Math.random();
	}
	function ckf(){
	obj = document.userinfoform;
	var reg=/^\w+@\w+.(\w+.\w+|\w+)$/;
	if(obj.username.value==''){alert('请输入用户名!');obj.username.focus();return false;}
	if(obj.password.value==''){alert('请输入密码!');obj.password.focus();return false;}
	if(obj.repassword.value==''){alert('请输入重复密码!');obj.repassword.focus();return false;}
	if(obj.email.value==''){alert('请输入电子邮件地址!');obj.email.focus();return false;}
	if(obj.key.value==''){alert('请输入验证码!');obj.key.focus();return false;}
	if(obj.password.value!=obj.repassword.value){alert('两次密码输入不一致!');obj.password.focus();return false;}
	 if(!reg.test(obj.email.value))
    {
        alert("请正确输入电子邮件地址");
        obj.email.focus();
        return false;
    }
	if(!obj.xieyi.checked){
		alert("您没有同意《网站免责申明》");
        return false;
		}
	return true;
	}
</script>

<div class="toptitle">
  <div>
  	<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0 auto">
        <tbody><tr bgcolor="#F7F7F7">
          <td width="187" height="40" style="font-size:14px;font-family:'微软雅黑'; font-weight:bold; padding-left:45px;">用户注册信息</td>
          <td width="613" align="right"><img src="/skin/member/images/regstep.png" width="258" height="30"></td>
      </tr>
    </tbody></table>
    <table width="800" border="0" align="center" cellpadding="0" cellspacing="0" style="clear:both; margin:0px auto;">
        <tbody><tr>
          <td width="556" valign="top"><form name="userinfoform" method="post" action="/e/member/doaction.php" onsubmit="return ckf();">
              <input type="hidden" name="enews" value="register">
        <table width="465" height="360" border="0" cellpadding="0" cellspacing="5">
                <tbody><tr>
                  <td width="114" align="right"><span style="font-family:'微软雅黑'; font-size:12px; text-align:justify">用户名：</span></td>
                  <td width="420"><input type="text" name="username" id="username" style="background:url(/skin/member/images/input.png) repeat-x; width:200px; padding:5px; border:1px solid #CCC"> <span style="color:#666666">*</span></td>
                </tr>
                <tr>
                  <td align="right"><span style="font-family:'微软雅黑'; font-size:12px; text-align:justify">密码：</span></td>
                  <td><input type="password" name="password" id="password" style="background:url(/skin/member/images/input.png) repeat-x; width:200px; padding:5px; border:1px solid #CCC">
                  <span style="color:#666666"> *</span></td>
                </tr>
                <tr>
                  <td align="right"><span style="font-family:'微软雅黑'; font-size:12px; text-align:justify">再次输入密码：</span></td>
                  <td><input type="password" name="repassword" id="repassword" style="background:url(/skin/member/images/input.png) repeat-x; width:200px; padding:5px; border:1px solid #CCC"> <span style="color:#666666">*</span></td>
                </tr>
                <tr>
                  <td align="right"><span style="font-family:'微软雅黑'; font-size:12px; text-align:justify">邮箱：</span></td>
                  <td><input type="text" name="email" id="email" style="background:url(/skin/member/images/input.png) repeat-x; width:200px; padding:5px; border:1px solid #CCC"> <span style="color:#666666">*</span></td>
                </tr>
                <?php
	@include($formfile);
	?>
                <tr>
                  <td align="right"><span style="font-family:'微软雅黑'; font-size:12px; text-align:justify">验证码：</span></td>
                  <td><input type="text" name="key" id="key" style="background:url(/skin/member/images/input.png) repeat-x; width:80px; padding:5px; border:1px solid #CCC">&nbsp;&nbsp;&nbsp;&nbsp;<img id="keypic" src="../../ShowKey/?v=reg"> <a href="javascript:reloadimg();">看不清，换一张？</a></td>
                </tr>
                <tr>
                  <td align="right">&nbsp;</td>
                  <td></td>
                </tr>
<tr>
                  <td align="right">&nbsp;</td>
                  <td><input name="xieyi" type="checkbox" id="xieyi" checked="checked">
                    我已看过并同意<a style="text-decoration:underline" href="#">《网络服务协议》</a></td>
                </tr>

                <tr>
                  <td align="right">&nbsp;</td>
                  <td height="50"><input type="submit" style="background:url(/skin/member/images/register.jpg);cursor:pointer; width:135px; height:33px; border:0px; color:#FFF;font-size:14px; font-weight:bold; " value="同意协议并注册"></td>
                </tr>
              </tbody></table>
            </form></td>
          <td width="20" align="center"><img src="/skin/member/images/linel.png" width="1" height="376"></td>
          <td width="304" valign="top">
          <table width="258" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0 auto">
              <tbody><tr>
                    <td height="35" style="font-size:14px">我已经有帐户了：</td>
        </tr>
              <tr>
                <td height="50" align="center"><input type="submit" style="background:url(/skin/member/images/quicklogin.jpg);cursor:pointer; width:250px; height:33px; border:0px; color:#FFF;font-size:14px; font-weight:bold; " value="马上登陆" onclick="location.href='/e/member/login/'"></td>
              </tr>
              <tr>
                <td height="30" align="center"><img src="/skin/images/rightBg.png" width="258" height="1"></td>
              </tr>
              <!-- <tr>
                <td height="30">你也可以用MSN的帐号登录：</td>
              </tr>
            <!--  <tr>
                <td height="50">
                <img src="/skin/images/btn_qq.png" width="24" height="24" /> <img src="/skin/images/btn_sina.png" width="24" height="24" /> <img src="/skin/images/btn_renren.png" width="24" height="24" /> <img src="/skin/images/btn_tqq.png" width="24" height="24" /> <img src="/skin/images/btn_sohu_gr.png" width="24" height="24" /> <img src="/skin/images/btn_netease_gr.png" width="24" height="24" /> <img src="/skin/images/btn_douban_gr.png" width="24" height="24" /> 
                </td>
              </tr>
              <tr>
                <td style="line-height:25px;"> 可以免去记忆多个帐号的麻烦<br />
                  可以免去注册时的邮箱验证<br />
                  可以方便的将这里的精彩内容转发MSN<br />
                  ……<br />
                </td>-->
              
              <tr><td>
              <div style=" font-size:12px; padding-left:10px; color: #666666; line-height:34px;">
              
              输入你的广告用语在这里<br>
              输入你的广告用语在这里<br>
              输入你的广告用语在这里<br>
              输入你的广告用语在这里<br>
              输入你的广告用语在这里<br>
              </div>
              
              </td></tr>
            </tbody></table>          
          </td>
      </tr>
    </tbody></table>
  </div>
</div>
<?php
require(ECMS_PATH.'e/template/incfile/footer.php');
?>