<?php include mayi_tpl('inc_header');?><link rel=stylesheet href=template/css/new.exchange.css><link rel=stylesheet href=template/css/new.my.css><link href=../template/global/magic-check.css rel=stylesheet><script src="<?php echo $mymps_global['SiteUrl']?>/template/default/js/global.js"></script><script language=javascript src=template/jquery.172.min.js></script><script src="<?php echo $mymps_global['SiteUrl']?>/template/default/js/validator.common.js"></script><script src="<?php echo $mymps_global['SiteUrl']?>/template/default/js/validator.js"></script><script src="<?php echo $mymps_global['SiteUrl']?>/template/default/js/sendsms.js"></script><script language=javascript src=template/javascript.js></script><body class=blue><div class=container><div id=main class="main section-setting"><div class="clearfix main-inner"><div class=content><div class="clearfix content-inner"><div class=location><?=$location?></div><div class=content-main><div class=content-main-inner><div class=pwrap><div class=pbody><div class="cleafix pagetab-wrap"><ul class=pagetab><li><a href="?m=certify&ac=person" <?php if($ac == 'person') echo 'class="current"'; ?>><span>身份证认证</span></a></li> <?php if($if_corp == 1){?> <li><a href="?m=certify&ac=com" <?php if($ac == 'com') echo 'class="current"'; ?>><span>执照认证</span></a></li> <?php }?> <li><a href="?m=certify&ac=sjrz" <?php if($ac == 'sjrz') echo 'class="current"'; ?>><span>手机认证</span></a></li></ul></div><div id=msg_success></div> <?php if($certifylang){?> <div id=msg_error class=errormsg><?php echo $certifylang; ?></div> <?php } else {?> <div id=msg_error></div> <?php }?> <?php if(in_array($ac,array('person','com'))){?> <form method=post name=form1 action="?m=certify&ac=<?=$ac?>" enctype=multipart/form-data onSubmit="return CertifySubmit()"><div class="formgroup section-setting"><div class=formrow><h3 class=label>当前状态：</h3><div class=form-enter> <?php if($per_certify == 1){?> <img src=../images/person1.gif alt=已通过身份证认证> <?php }else{?> <img src=../images/person0.gif alt=未通过身份证认证> <?php }?> <?php if($com_certify == 1 && $if_corp == '1'){?> <img src=../images/company1.gif alt=已通过营业执照认证> <?php }else{?> <img src=../images/company0.gif alt=未通过营业执照认证> <?php }?> <?php if($row['sj_certify'] == 1){?> <img height=20 src=../images/sj1.gif alt=已通过手机短信认证> <?php }else{?> <img height=20 src=../images/sj0.gif alt=未通过手机短信认证> <?php }?> </div></div> 
<?php if($appkey && $ac == 'person'){?> 
<div class=formrow>
<h3 class=label>真实姓名：</h3>
<div class=form-enter>
<input type=text class=text name=cname id=cname value="<?php echo $row['cname']?>" min=4 max=20 placeholder=请输入您的真实姓名>
</div>
</div>
<div class=formrow><h3 class=label>手机号：</h3><div class=form-enter><input type=text class=text name=mobile id=mobile value="<?php echo $row['mobile']?>" <?php if($row['sj_certify']==1){?> readonly <?php }?> min=4 max=20 placeholder=请输入您的手机号码></div></div>
<div class=formrow><h3 class=label>身份证号：</h3><div class=form-enter><input type=text class=text name=sfz id=sfz value="<?php echo $row['sfz']?>" min=4 max=20 placeholder=请输入您的身份证号码> <?php if($row[per_certify]==1 && $row[sfz]) echo '<font color=green>身份证号已认证</font>';?></div></div> 
<?php }elseif($ac == 'person'){?> 
<div class=formrow><h3 class=label>选择文件：</h3><div class=form-enter><script>var MagicUploadName="certify_image"</script><div id=ShowMagicUpload></div><div class=clear10></div><div class=magic-notice>请确保图片清晰。图片格式为 jpg,png,gif ，不超过 <?=$mymps_global[cfg_upimg_size]?>KB 。<br>在上传过程中，如果长时间停止，请取消重传；或将图片缩小后重传。</div><script src=../template/global/magic-upload.js></script></div></div> 
<?php }?>
<?php if($ac=='com' && $if_corp==1){?> 
<div class=formrow><h3 class=label>选择文件：</h3><div class=form-enter><script>var MagicUploadName="certify_image"</script><div id=ShowMagicUpload></div><div class=clear10></div><div class=magic-notice>请确保图片清晰。图片格式为 jpg,png,gif ，不超过 <?=$mymps_global[cfg_upimg_size]?>KB 。<br>在上传过程中，如果长时间停止，请取消重传；或将图片缩小后重传。</div><script src=../template/global/magic-upload.js></script></div></div> 
<?php }?>
 <div class="formrow formrow-action"><h3 class=label>&nbsp;</h3><span class=minbtn-wrap><span class=btn><input type=submit value="提 交" <?php if($row[per_certify]==1 && $row[sfz]) echo 'disabled';?> class=button name=certify_submit></span></span></div></div></form> <?php }elseif($ac == 'sjrz'){?> <script>function checksubmit(){return""==$("#reg_mobile").val()?(alert("请输入手机号码"),$("#reg_mobile").focus(),!1):""==$("#checkcode").val()?(alert("请先输入正确图形验证码"),$("#checkcode").focus(),!1):""!=$("#smscheckcode").val()||(alert("请先输入手机收到的验证码"),$("#smscheckcode").focus(),!1)}function chk_authcode(){var c=$("#checkcode").val(),e="../index.php?mod=javascript&part=chk_authcode&value="+c;c&&$.get(e,function(c){return"success"===c||(alert(c),$("#checkcode").focus(),$("#checkcode").val(""),!1)})}function chk_smsauthcode(){var c=$("#smscheckcode").val(),e="../index.php?mod=javascript&part=chk_smsauthcode&value="+c;c&&$.get(e,function(c){return"success"===c||(alert(c),$("#smscheckcode").focus(),!1)})}</script><form method=post name=form1 action="?m=certify&ac=sjrz" onSubmit="return checksubmit()"><div class="formgroup section-setting"><div class=formrow><h3 class=label>当前状态：</h3><div class=form-enter><?php if($per_certify == 1){?><img src=../images/person1.gif alt=已通过身份证认证><?php }else{?><img src=../images/person0.gif alt=未通过身份证认证><?php }?><?php if($com_certify == 1 && $if_corp == '1'){?><img src=../images/company1.gif alt=已通过营业执照认证><?php }else{?><img src=../images/company0.gif alt=未通过营业执照认证><?php }?><?php if($sj_certify == 1){?><img height=20 src=../images/sj1.gif alt=已通过手机短信认证><?php }else{?><img height=20 src=../images/sj0.gif alt=未通过手机短信认证><?php }?></div></div><div class=formrow><h3 class=label>手机号码：</h3><div class=form-enter><?php if($row[sj_certify] == 0){?><input type=text class=text name=mobile id=reg_mobile value="<?php echo $row['mobile']?>" min=4 max=20 placeholder=请输入您的手机号码><?php }else{?><font color=#ff4500><?php echo $row['mobile']?></font><font color=green>已通过短信认证</font><?php }?></div></div><?php if($sj_certify == 0){?><div class=formrow><h3 class=label>图片验证码：</h3><div class=form-enter><input id=checkcode name=checkcode onchange=chk_authcode() type=text class=txt min=1 placeholder=图片验证码><img src="../<?=$mymps_global[cfg_authcodefile]?>" id=checkcode align=absmiddle title=看不清，请点击刷新 onclick='this.src=this.src+"?"' class=authcode></div></div><div class=formrow><h3 class=label>短信验证码：</h3><div class=form-enter><input id=smscheckcode name=smscheckcode type=text onchange=chk_smsauthcode() class=txt min=1 placeholder=短信验证码><input type=button name=sendmsg value=点击获取手机验证码 onclick=sendmsgbutton() id=sendmsg class=disabled></div></div><div class="formrow formrow-action"><h3 class=label>&nbsp;</h3><span class=minbtn-wrap><span class=btn><input type=submit value=提交 class=button name=certify_submit></span></span></div><?php }else {?><br><br><?php }?></div></form><?php }?><?php if($ac == 'com'){ ?><div class=alertmsg style=text-indent:5px><p><strong>执照审核注意事项：</strong></p><p>（1） 上传的营业执照需为加盖公章的副本复印件或扫描件；</p><p>（2） 证件要求完整、清晰；</p><p>（3） 证件上必须有工商部门的有效盖章；</p><p>（4） 证件必须在有效期内，并有年检盖章；</p><p>（5） 用户填写联系人姓名要求是真实姓名，名称要求与证件信息一致。</p><p>（6）如果有任何疑问请联系客服(周一至周五9:00 ~ 18:00 周六周日10:00 ~ 18:00)，电话：<?=$mymps_global[SiteTel]?></p></div><?php }?></div><div class=pfoot><p><b>-</b></p></div></div></div></div></div></div></div></div><?php include mayi_tpl('inc_foot');?></div></body>