{#include file="header.html"#}
<!-- 注册选项-->
<div class="active-tip">
	<p class="right">{#$uimsg.reg_intro#}</p><p class="left">{#$uimsg.reg_haveaccounts#}<strong><a href="login.php">{#$uimsg.reg_log#}</a></strong>!</p>
</div>
<!-- 内容 -->
<div id="container">
<script src="{#$PB_ENV.PB_URL#}templates/digg2008/js/reg.js" type="text/javascript"></script>


<div class="active-main">
	<div class="active-title">{#$uimsg.reg_title#}</div>
	<form action="register.php?action=reg{#$forward#}" method="post" id="regform" name="regform" onsubmit="return regsubmit();">
		<!-- 用户名 -->
		<ul class="active-s">
			<li class="active-ss">{#$uimsg.username#}</li>
			<li class="active-sss"><input type="text" name="username" id="username" value="" onblur="ckusername()" size="25" maxlength="15" /><span class="active-ajax" id="ckusername"></span></li>
		</ul>
    	<p class="active-ck">{#$regmsg.register_username_intro#}</p>
		<!-- 电子邮件 -->
		<ul class="active-s">
			<li class="active-ss">{#$uimsg.email#}</li>
			<li class="active-sss"><input type="text" name="email" id="email" value="" onBlur="ckemail()" size="25" /><span class="active-ajax" id="ckemail"></span></li>
		</ul>
		<p class="active-ck">{#$regmsg.register_email_intro#}</p>
		<!-- 密码 -->
		<ul class="active-s">
			<li class="active-ss">{#$regmsg.register_pw#}</li>
			<li class="active-sss"><input type="password" name="password" id="password" value="" onBlur="ckpw()" size="25" /><span class="active-ajax" id="ckpw"></span></li>
		</ul>
		<p class="active-ck">{#$regmsg.register_pw_intro#}</p>
		<!-- 密码确认 -->
		<ul class="active-s">
			<li class="active-ss">{#$uimsg.rpassword#}</li>
			<li class="active-sss"><input type="password" name="rpassword" id="rpassword" value="" onBlur="ckrpw()" size="25" /><span class="active-ajax" id="ckrpw"></span></li>
		</ul>
		<p class="active-ck">{#$regmsg.register_rpw_intro#}</p>
		<!-- 邀请码 -->
		{#if $invite eq "1"#}
		<ul class="active-s">
			<li class="active-ss">{#$uimsg.invitecode#}</li>
			<li class="active-sss"><input type="text" name="invite" id="invite" value="" onblur="ckinvite()" size="25" /><span class="active-ajax" id="ckinvite"></span></li>
		</ul>
		<p class="active-ck">{#$regmsg.register_invite_intro#}</p>
		{#/if#}
		<!-- 验证码 -->
		{#if $pb_gdcheck.reg eq "1"#}
		<ul class="active-s">
			<li class="active-ss">{#$uimsg.captcha#}</li>
			<li class="active-sss"><input type="text" name="captcha" id="captcha" value="" onblur="ckcaptcha()" title="{#$uimsg.captcha_intro#}" size="25" maxlength="4" /><span class="active-ajax" id="ckcaptcha"></span></li>
		</ul>
		<p class="active-ck"><img src="{#$PB_ENV.PB_URL#}checkcode.php" onclick="refreshCheckcode()" id="checkcode" alt="{#$uimsg.captcha_refresh#}" />&nbsp;{#$uimsg.captcha_notice#}</p>
		{#/if#}
		<br />
		<!--隐私政策-->
		<p class="active-ck"><input type="checkbox" class="checkbox" name="privacy" id="privacy" value="1" onclick="ckprivacy(this)" checked="checked" />{#$uimsg.reg_privacy_intro#}<br /><br /><span class="active-ajax" id="ckprivacy"></span></p>
		<p class="active-submit"><input type="hidden" name="verifyhash" id="verifyhash" value="{#$verifyhash#}" /><input type="submit" name="submit" id="submit" value="{#$uimsg.reg_finish#}" class="button" /><span id="registsending" style="display:none;">{#$uimsg.register_sending#}</span></p>
	</form>
</div>
	
<!-- 右侧 -->
<div class="side-cool">
	<div class="regcool"><img alt="" src="templates/pbdigg/images/register-icon-stories.gif" /><p><h3>{#$uimsg.reg_digg#}</h3>{#$uimsg.reg_digg_intro#}</p>
	</div>
	<div class="regcool"><img alt="" src="templates/pbdigg/images/register-icon-conversation.gif" /><p><h3>{#$uimsg.reg_share#}</h3>{#$uimsg.reg_share_intro#}</p>
	</div>
	<div class="regcool"><img alt="" src="templates/pbdigg/images/register-icon-community.gif" /><p><h3>{#$uimsg.reg_communion#}</h3>{#$uimsg.reg_communion_intro#}</p>
	</div>
</div>
<div class="clear"></div></div>
<script type="text/javascript">
<!--
var pb_url = '{#$PB_ENV.PB_URL#}';
var pb_template = 'digg2008';
var verifyhash = '{#$verifyhash#}';
var reg_minname = {#$profile.reg_minname#};
var reg_maxname = {#$profile.reg_maxname#};
var reg_name_len = '{#$regmsg.register_username_len_tip#}';
var ajax_response_loading = '{#$uimsg.ajax_response_loading#}';
var ajax_response_failed = '{#$uimsg.ajax_response_failed#}';
var reg_email_error = '{#$regmsg.register_email_error#}';
var reg_pw_error = '{#$regmsg.register_pw_error#}';
var reg_pw_nmatch = '{#$regmsg.register_rpw_error#}';
var reg_invite_error = '{#$uimsg.invitecode_error#}';
var captcha_error = '{#$uimsg.captcha_error#}';
var reg_privacy_error = '{#$uimsg.reg_privacy_error#}';
//-->
</script>
<!-- footer -->
{#include file="footer.html"#}
<!-- footer -->

</body>
</html>