<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo _conf( 'WEB_SITE_SEO_TOP_WORD' ) ?><?php echo $top_title ?> - <?php echo _conf( 'WEB_SITE_NAME' ) ?></title>
<meta name="keywords" content="<?php echo _conf( 'WEB_SITE_SEO_META_KEYWORD' ) ?>">
<meta name="description" content="<?php echo _conf( 'WEB_SITE_SEO_META_DESCRIP' ) ?>">
<?php echo _conf('WEB_SITE_SEO_HEADER_CODE'); ?>
<link href="res/css/douya.css" rel="stylesheet" type="text/css">
</head>

<body>

<?php  
	include_once( ROOT . 'res/tpl/header.tpl.html' );
?>
<table border="0" width="98%" id="table1" cellspacing="5" cellpadding="5" height="400px" align="center">
	<tr>
		<td>
		<!-- main -->
		<form action="/?a=register_save" method="POST" name="register_form">
		<table class="main"><tr><td valign="top" >
    
    <p class="pl">&gt; <a href="/?a=login">已注册请登录</a></p>
    <br/><br/>
    <div style="padding-left:50px;"><span class="m">你的email地址:</span><br/>
    <input name="dy_email" type="text" size="24" maxlength="60" value=""/><br/>
    <span class="pl">用来确认你的身份, <?php echo _conf( 'WEB_SITE_NAME' ) ?>绝不公开你的email。
	<?php
	$allow = _conf( 'WEB_SITE_EMAIL_ALLOW_LIST' );
	$disallow = _conf( 'WEB_SITE_EMAIL_DISALLOW_LIST' );
	if( !empty( $allow ) )
	{
		$list = get_list_nl_explode( $allow );
		echo '<br/>您只能使用如下邮箱进行注册：' . @join( ' , ' , $list );
	}
	elseif( !empty( $disallow ) )
	{
		$list = get_list_nl_explode( $disallow );
		echo '<br/>请不要使用如下邮箱进行注册：' . @join( ' , ' , $list );
	}
	?></span><br/><br/><br/>
    
	<span class="m">给自己设一个密码:</span><br/>
    <input name="dy_password" type="password" size="10" maxlength="20" value=""/><br/>
    <span class="pl">有时候你需要用它登录, 请使用英文字母、符号或数字。</span><br/><br/><br/>
    
	<span class="m">给自己起一个名号:</span><br/>
    <input name="dy_nickname" type="text" size="10" maxlength="15" value=""/><br/>
    <span class="pl">中、英文均可。<?php if( _conf('DZ_ON') ){ echo '<br/>为和Discuz论坛保持一致，填写后将不可修改'; } ?></span><br/><br/>

	<?php  
	$reg_code = _conf( 'WEB_SITE_BETA_CODE' );
	if( !empty( $reg_code ) )
	{
	?>
	<span class="m">Beta测试激活码:</span><br/>
    <input name="dy_regcode" type="text" size="10" maxlength="15" value=""/><br/>
    <span class="pl">请输入Beta测试俄激活码</span><br/><br/>
	
	<?php
	}
	?>
    
		
    <br/><input class="dbutton" type="submit" value="完成注册"/></div>
	
			</form><?php echo $vf_js; ?>
		
		</td>
		<td width="300px" class=top>
		<!-- right -->
		<p class="title_1">我们也觉得注册、登录麻烦透了　· · ·  · </p>
	<div class="info_box">
    在<?php echo _conf( 'WEB_SITE_NAME' ) ?>注册只要2步：<br clear="all"/><br/>
    1. 填写左边的内容; 按"完成注册"键;<br/><br clear="all"/>
    2. 查收你的email, 点击<?php echo _conf( 'WEB_SITE_NAME' ) ?>所发确认信中的链接。<br/>
	</div>
		</td>
	</tr>
</table>
<?php  
	include_once( ROOT . 'res/tpl/footer.tpl.html' );
?>
</body>

</html>