<?php
	!defined('MEMBER_CENTER') && exit('Access Denied!');
?>
<!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=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<base href="<?php echo $DIRCMS['site_url'];?>" />
<title><?php echo $memlang['audit_sms'];?>-<?php echo $DIRCMS['site_name'];?></title>
<link href="member/template/images/register.css" rel="stylesheet" type="text/css">
<script language="javascript" type="text/javascript" src="images/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="images/js/css.js"></script>
<script language="javascript">
$(document).ready(function()
{
	$('#smschecktxt').focus();

});
</script>
</head>
<body>
<div class="header-bg">
  <div class="header">
    <h1><a href="<?php echo $DIRCMS['site_url'];?>"><img src="member/template/images/logo.png" alt="<?php echo $DIRCMS['site_name'];?>" title="<?php echo $DIRCMS['site_name'];?>"></a></h1>
    <div class="h-link"><a href="<?php echo $DIRCMS['site_url'];?>"><?php echo $memlang['index'];?></a>|<a href="sitemaps.xml" target="_blank"><?php echo $memlang['rss'];?></a>|<a href="javascript:void(0);" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('<?php echo $DIRCMS['site_url'];?>');" title="<?php echo $DIRCMS['site_name'];?><?php echo $memlang['homepage'];?>"><?php echo $memlang['homepage'];?></a>|<a href="javascript:window.external.addFavorite('<?php echo $DIRCMS['site_url'];?>','<?php echo $DIRCMS['site_name'];?>');"><?php echo $memlang['addfavorite'];?></a></div>
  </div>
</div>

	<div class="regBox">	
		<h1 class="regSuccessTit"><?php echo $memlang['audit_sms'];?></h1>
	  	<div class="regSuccess">
			<div class="title">恭喜，您已经注册成功！您的会员帐号为：<b><?php echo $registerinfo['username'];?></b></div>
			<div class="msg">为确保帐户安全，我们已向您的手机：<font color="#FF6600"><?php echo $registerinfo['telephone'];?></font> 发送了验证短信，请您立即验证手机！</div>
			<div><form action="member/index.php" name="smscheckform" id="smscheckform" method="post"><input type="hidden" name="file" value="login" /><input type="hidden" name="action" value="smsactivate" />验证码：<input type="text" size="4" name="smscheck" id="smschecktxt"  style="line-height:30px; height:30px" /> &nbsp;<input type="button"  onclick="$.post('<?php echo $DIRCMS['site_url'];?>member/index.php?file=login&action=smscodecheck',{data:$('#smschecktxt').val()},function(data){if(data=='err'){alert('短信验证码错误!');$('#smschecktxt').val('');$('#smschecktxt').focus();return false;}else{$('#smscheckform').submit();return true;}});" value="" class="smsbutton" /></form></div>
			<div class="guild">如果您没有收到验证短信<br />
			  验证短信到达需要2-3分钟，若您长时间未收到验证短信，建议您联系网站管理员进行人工审核!
			</div>
		</div>
	</div>
<div class="footer">
  <p class="copyright"><?php echo $DIRCMS['copyright'];?></p>
  <p class="copyright"><?php echo $DIRCMS['icpno'];?></p>
</div>
</body>
</html>