<!--#include file="head.asp"-->
<style>body{background-color: #fff;}</style>

<link rel="stylesheet" href="/kindeditor/themes/default/default.css" />
<script charset="utf-8" src="/kindeditor/kindeditor.js"></script>
<script charset="utf-8" src="/kindeditor/lang/zh-CN.js"></script>

<% 
'call iszizhu()
%>


<%
act=SafeRequestform("act")

if act="add" then
biaoti1=SafeRequestform("biaoti1")
pic1=SafeRequestform("pic1")

if trim(biaoti1)="" then call PopErr("请填写商品认证说明")
if trim(pic1)="" then call PopErr("请上传商品认证相关截图")

sql="select * from aypicsite where aypuid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3
rs.addnew
rs("aypuid")=clng(request.Cookies("aynameid"))
rs("ayptit")=biaoti1
rs("aypcon")=pic1
rs("aypfang")=1
rs("aypzt")=0
rs.update
rs.close

call logadd(request.Cookies("aynameid"),"商品认证信息添加成功"&uid,0,0)
conn.Execute("Insert Into aymsn(aymsnbt,aymsnurl) values('"&request.Cookies("aytrueuser")&"审核商品','adminuserpic.asp?id="&request.Cookies("aynameid")&"')")
call PopErr2("商品认证信息添加成功","renzheng")
end if


if act="sfzadd" then
sfz1=SafeRequestform("sfz1")
sfz2=SafeRequestform("sfz2")
if trim(sfz1)="" then call PopErr("请上传身份证正面")
if trim(sfz2)="" then call PopErr("请上传身份证背面")

sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3

	if cint(rs("sfzisok"))=1 then call PopErr("已经实名认证过了")
	if cint(rs("sfzisok"))=2 then call PopErr("已经实名还在审核中")
	
	rs("sfzisok")=2
	rs("sfz1")=sfz1
	rs("sfz2")=sfz2
	rs.update

rs.close

call logadd(request.Cookies("aynameid"),"实名认证信息提交成功"&uid,0,0)
conn.Execute("Insert Into aymsn(aymsnbt,aymsnurl) values('"&request.Cookies("aytrueuser")&"审核实名','adminuserpicsfz.asp?id="&request.Cookies("aynameid")&"')")
call PopErr2("实名认证信息提交成功","renzheng")
end if
%>

<main>
<div  class="container">
<div class="ui-lrctnei">
<%call userleft()%>
<div class="r"> 
<div class="ui-content">
                        
					
                            
<div class="neiye">

                   
                                                     
            <!-------------------------------------- 开始 -------------------------------------->
            <div class="neibiaoti"></div>
            <div class="neibiaoti2">手机认证</div>
                	<div class="gexian"></div>
                    <div class="neitablewu">
					<%
                    sql="select * from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
                    rs.open sql,conn,1,1
                    %>
    				<table width="604">
                 		<tr>
                            <td width="72" align="right">
							  <%if rs("istelrz")=1 then%>
                              <img src="<%=ossurl%>images/renzheng/rztel.jpg" width="20" alt="已认证" title="已认证"/>
                              <%else%>
                              <img src="<%=ossurl%>images/renzheng/rztelh.jpg" width="20" alt="未认证" title="未认证"/>
                              <%end if%>
                            </td>
                            <td width="1352">
							&nbsp;手机号码 ：<%=rs("aytel")%>
                            <%if rs("istelrz")=1 then%>
                            <span style="color: #693">[已认证]</span>
                            <%else%>
                            <a href="telrenzheng">[点击认证]</a>
                            <%end if%>
                            </td>
                        </tr>
                        <!--
           		  		<tr>
                            <td width="110" align="center">
							<%'if rs("ismailrz")=1 then%>
                            <img src="<%'=ossurl%>images/renzheng/rzmail.jpg" width="30" alt="已认证" title="已认证"/>
                            <%'else%>
                            <img src="<'%=ossurl%>images/renzheng/rzmailh.jpg" width="30" alt="未认证" title="未认证"/>
                            <%'end if%>
                            </td>
                            <td>
                            电子邮箱 ：<%'=trim(rs("aymail"))%>
							<%'if rs("ismailrz")=1 then%>
                            <span style="color: #FF6600">[已认证]</span>
                            <%'else%>
                            <a href="mailrenzheng">[点击认证]</a>
                            <%'end if%>
                            </td>
                        </tr>
                        -->

                    </table>
					</div>
            <!-------------------------------------- 结束 -------------------------------------->
            
            
            
            
            
            <br> <br> <br> 
                        
            <div class="neibiaoti"></div>
            <div class="neibiaoti2">实名认证<span style="color:#F60">【认证成功 全网费率降至2%】</span></div>
                	<div class="gexian"></div>
                    <div class="neitablewu">
                    <form action="" method="post" name="myform" id="myform">
    				<table width="800">
           		  		<tr>
                            <td width="115" align="right">商家姓名：</td>
                          <td width="1309"><%=rs("aytrueuser")%></td>
                        </tr>
                            <tr>
                                <td width="115" align="right">身份证号：</td>
                                <td>
								<%
                                if trim(rs("ayshenfenzheng"))<>"" and isnull(trim(rs("ayshenfenzheng")))=false then 
                                response.Write left(trim(rs("ayshenfenzheng")),3)&"************"&right(trim(rs("ayshenfenzheng")),3)
                                end if
                                %>
                                </td>
                            </tr>
                        
                        
                        
                        

                    <%if cint(rs("sfzisok"))=0 or cint(rs("sfzisok"))=3 then%>    
					<script>
								KindEditor.ready(function(K) {
									var uploadsfz1 = K.uploadbutton({
										button : K('#uploadsfz1')[0],
										fieldName : 'imgFile',
										url : '/kindeditor/asp/upload_shiming.asp?dir=image',
										afterUpload : function(data) { 
											if (data.error === 0) {
												var url = K.formatUrl(data.url, '');
												urlcon=url.replace("/kindeditor/asp/../../","/"); 
												K('#sfzurl1').val(urlcon);
												consfz1.innerHTML='<br><a href='+urlcon+' target=_blank><img src='+urlcon+' width=130 height=100/></a>';
											} else {
												alert(data.message);
											}
										},
										afterError : function(str) {
											alert('自定义错误信息: ' + str);
										}
									});
									uploadsfz1.fileBox.change(function(e) {
										uploadsfz1.submit();
									});
								});
								KindEditor.ready(function(K) {
									var uploadsfz2 = K.uploadbutton({
										button : K('#uploadsfz2')[0],
										fieldName : 'imgFile',
										url : '/kindeditor/asp/upload_shiming.asp?dir=image',
										afterUpload : function(data) { 
											if (data.error === 0) {
												var url = K.formatUrl(data.url, '');
												urlcon=url.replace("/kindeditor/asp/../../","/"); 
												K('#sfzurl2').val(urlcon);
												consfz2.innerHTML='<br><a href='+urlcon+' target=_blank><img src='+urlcon+' width=130 height=100/></a>';
											} else {
												alert(data.message);
											}
										},
										afterError : function(str) {
											alert('自定义错误信息: ' + str);
										}
									});
									uploadsfz2.fileBox.change(function(e) {
										uploadsfz2.submit();
									});
								});
							</script>  

							<%if cint(rs("sfzisok"))=3 then%>
                            <tr>
                                <td width="115" align="right">审核状态：</td>
                                <td  style="color:#F00">【审核失败，请上传与姓名和身份证号一致的身份证正反面，清晰可见，四周完整无遮盖】</td>
                            </tr>
                            <%end if%>
                        
           		  		<tr>
                            <td width="115" align="right">身份证正面：</td>
                            <td>
							<input name="sfz1" type="hidden" class="ke-input-text" id="sfzurl1" value="" readonly="readonly" /> <input type="button" id="uploadsfz1" value="上传身份证正面" />&nbsp;&nbsp;<span style="color:#A0A0A0">[不超过2M]</span>
                            <span id="consfz1"></span>
                            </td>
                        </tr>
           		  		<tr>
                            <td width="115" align="right">身份证背面：</td>
                            <td>
							<input name="sfz2" type="hidden" class="ke-input-text" id="sfzurl2" value="" readonly="readonly" /> <input type="button" id="uploadsfz2" value="上传身份证背面" />&nbsp;&nbsp;<span style="color:#A0A0A0">[不超过2M]</span>
                            <span id="consfz2"></span>
                            </td>
                        </tr>
           		  		<tr>
                            <td width="115"></td>
                            <td> <input style="cursor:pointer"  class="logindlregedit" type="submit" name="Submit" value=" 提 交 实 名 认 证 " >
                            <input name="act" type="hidden" value="sfzadd"/>
                            </td>
                        </tr>
                 		<%end if%>
                 		
                 
                        
                        
                        
                        
                         
                        
                        <%if cint(rs("sfzisok"))=2 then%>
           		  		<tr>
                            <td width="115" align="right">审核状态：</td>
                            <td style="color:#F93">【审核中】</td>
                        </tr>
                        <%end if%>
                        
                        <%if cint(rs("sfzisok"))=1 then%>
           		  		<tr>
                            <td width="115" align="right">审核状态：</td>
                            <td style="color:#693">【身份证已上传 实名认证成功】</td>
                        </tr>
                        <%end if%>
                        
                        
                    </table>
                    </form>
					</div>
            		<%rs.close%>
            
            		<!-------------------------------------- 结束 -------------------------------------->
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <br> <br> <br> <br> <br>
            
            
            
					<script>
								KindEditor.ready(function(K) {
									var uploadbutton1 = K.uploadbutton({
										button : K('#uploadButton1')[0],
										fieldName : 'imgFile',
										url : '/kindeditor/asp/upload_kuozhan.asp?dir=image',
										afterUpload : function(data) { 
											if (data.error === 0) {
												var url = K.formatUrl(data.url, '');
												urlcon=url.replace("/kindeditor/asp/../../","/"); 
												K('#picurl1').val(urlcon);
												con1.innerHTML='<a href='+urlcon+' target=_blank><img src='+urlcon+' width=100 height=100/></a>';
											} else {
												alert(data.message);
											}
										},
										afterError : function(str) {
											alert('自定义错误信息: ' + str);
										}
									});
									uploadbutton1.fileBox.change(function(e) {
										uploadbutton1.submit();
									});
								});
							</script>  
            
            <div class="neibiaoti"></div>
            <div class="neibiaoti2">商品认证<span style="color:#F60">【认证成功 送加急提现1万元流量】</span></div>
                	<div class="gexian"></div>
                    <div class="neitablewu">
                    <form action="" method="post" name="myform" id="myform">
    				<table>
           		  		<tr>
                            <td width="114" align="right">商品截图：</td>
                          <td width="1310"><input name="pic1" type="hidden" class="ke-input-text" id="picurl1" value="" readonly="readonly" /> <input type="button" id="uploadButton1" value="上传截图" />
                          &nbsp;&nbsp;<span style="color:#A0A0A0">[如：卡密充值场景截图，商品内部使用场景截图 <span style="color:#F60">至少提供三个使用场景]</span></span>
                          <br><span id="con1"></span>
                          </td>
                        </tr>
                        
           		  		<tr>
                            <td width="114" align="right">商品说明：</td>
                            <td><input name="biaoti1" type="text" id="biaoti1" size="30" class="reginput">
                            &nbsp;&nbsp;<span style="color:#A0A0A0">[如：本截图为商品充值场景截图]</span>
                            </td>
                        </tr>

           		  		<tr> 
                            <td width="114"></td>
                            <td> <input style="cursor:pointer"  class="logindlregedit" type="submit" name="Submit" value=" 提 交 商 品 认 证 " >
                            <input name="act" type="hidden" value="add"/>
                            </td>
                        </tr>
                    </table>
                    </form>
					</div>
            
            
            		<!-------------------------------------- 结束 -------------------------------------->
            
					<%
					sql="select * from aypicsite where aypuid="&clng(request.Cookies("aynameid"))&" and aypfang=1 order by aypid desc" 
					rs.open sql,conn,1,3
					if not(rs.bof and rs.eof) then 
                    %>
                    <br><br>
           			<div class="neibiaoti"></div>
            		<div class="neibiaoti2">已提交商品认证信息</div>
                	<div class="gexian"></div>
                    <%do while not rs.eof%>
                    <div class="neitablewu">
    				<table>
           		  		<tr>
                            <td width="180" align="right">商品认证信息说明：</td>
                            <td><%=trim(rs("ayptit"))%></td>
                        </tr>
           		  		<tr>
                            <td width="180" align="right">商品认证提交时间：</td>
                            <td><%=rs("aypdate")%></td>
                        </tr>
           		  		<tr>
                            <td width="180" align="right">商品认证审核状态：</td>
                            <td>
							<%
							if cint(rs("aypzt"))=0 then response.Write "审核中"
							if cint(rs("aypzt"))=1 then response.Write "审核通过"
							if cint(rs("aypzt"))=2 then response.Write "审核失败"
							
							if cint(rs("aypzt"))=2 then
								if cint(rs("aypshibaizt"))=1 then response.Write " [请至少提供三个使用场景截图]"
								if cint(rs("aypshibaizt"))=2 then response.Write " [上传场景无效或无法判定，请重新上传]"
								if cint(rs("aypshibaizt"))=3 then response.Write " [上传场景提交重复，请重新上传]"
								if cint(rs("aypshibaizt"))=4 then response.Write " [上传场景涉及非法违规内容]"
								if cint(rs("aypshibaizt"))=5 then response.Write " [需提供会员相关内容，请重新上传]"
							end if
							%>
                            </td>
                        </tr>
           		  		<tr>
                            <td width="110" align="right">商品认证信息截图：</td>
                          <td><a href=<%=rs("aypcon")%> target=_blank><img src=<%=rs("aypcon")%> width=100 height=100/></a></td>
                        </tr>
                    </table>
					<div class="gexian"></div>
					</div>
					<%
                    rs.movenext
                    loop
                    end if
                    rs.close
                    %>
                    
                    
                    
            
            		<br> <br> 
                    <div class="mzsmbox2">
                    提示：如需修改邮箱以及预留手机请联系管理员，<%=webname%>在非紧急状况下不会泄露商户邮箱以及手机号,验证码可能会有延时,或查看是否被拦截<br> 
                    提示：商品认证是为了确保商品销售的合法性，安全性。<br>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;商家请正确，真实上传所售商品使用场景或商品运行内容相关截图。<br>
                    注意：商品认证至少提供三个使用场景。如果商品为软件，请软件全屏截图。如果商品为浏览器访问使用，请浏览器全屏截图并包含域名网址，网站必须备案！<br>
                    注意：实名认证身份证信息，<%=webname%>只做认证使用，不会用作其他用途，商家可添加水印，可标注【只为<%=jname%>实名认证使用，其他用途无效】
                    </div>

            
            
           

        <div class="clearfix"></div>



</div>








</div>
</div>
</div>
</div>
</main>


<footer>
<div class="container">
</div>
</footer>

</body>
</html>