{lib(verify_upload.php)}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=gbk" />
<title>{cfg:(sys,site_name)}</title>
<link rel="stylesheet" type="text/css" href="../img/css.css"/>
<script src="{$web_url}/plus/js/init.php?act=init_js"></script>
<script src="{$web_url}/images/js/common.js"></script>
<script src="{$web_url}/images/js/ajax.js"></script>
<style>
body{width:460px;text-align:left;padding-left:20px}
.me_li1{float:left;width:450px;margin-top:20px}
.me_li2{float:left;width:450px;line-height:22px;color:#666666;margin-top:20px}
</style>
<script>
function me_verifyemail(){
	document.myform.subok.value="发送中";
	document.myform.subok.disabled=true;
	yj_ajax_post(document.myform,function(data){
		document.myform.subok.value="申请";
		document.myform.subok.disabled=false;
		var obj_msg=get_json_obj(data);
		if(!obj_msg.isnull){
			alert(obj_msg.msg);
			if(obj_msg.id==0){
				window.open("?app=verify&step={$get_step}","_top");
			}
		}else{
			alert("发生错误，请稍后再试");
		}
	});

}
</script>
</head>
<body>
{if($get_act=="save")}
	{if($this_msg=="")}
		<script>
			window.open("?app=verify&step={$get_step}","_top");
		</script>
	{else}
		<div class="me_li3">{$this_msg}</div>
	{/if}
{else if($get_act=="email")}
	<form name="myform" method="post" action="?">
	<input type="hidden" name="app" value="verify_upload">
	<input type="hidden" name="type" value="{$get_type}">
	<input type="hidden" name="act" value="sendemail">
	<input type="hidden" name="isajax" value="1">
	<div class="me_li1">邮箱：<input type="text" name="txtemail" value="{$this_email}">&nbsp;<input type="button" name="subok" value="申请" class="btn_67" onclick="me_verifyemail();" id="id_btn_email"></div>
	<div class="me_li2">
	<b>温馨提示： </b><br>
	1、我们将会发一封验证邮件到你填的邮箱<br>
	2、然后你登录到邮箱按相应提示操作激活<br>
	</div>
	</form>
{else}
	<form name="myform" method="post" action="?" enctype="multipart/form-data">
	<input type="hidden" name="app" value="verify_upload">
	<input type="hidden" name="type" value="{$get_type}">
	<input type="hidden" name="step" value="{$get_step}">
	<input type="hidden" name="act" value="save">
	<div class="me_li1">照片：<input type="file" name="file_1" id="file_1">&nbsp;<input type="submit" name="subok" value="上 传" class="btn_67"></div>
	<div class="me_li2">
	<b>温馨提示： </b><br>
	1、照片支持格式：{$this_allowpic}。<br>
	2、每张照片大小不要超过{$this_allowsize}。<br>
	</div>
	</form>
{/if}
</body>
</html>