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

<%

'验证安全吗
if SafeRequestform("catanquan")="anquan" then
anquanma=trim(SafeRequestform("anquanma"))
tourl=trim(SafeRequest("tourl"))

if anquanma="" then call PopErr("请填写支付密码")

sql="select aynameid,ayanquan from ayname where aynameid="&clng(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,1
if trim(rs("ayanquan"))<>"0" or trim(rs("ayanquan"))="" then
	if md5(anquanma)<>trim(rs("ayanquan")) then 
	
		if request.Cookies("codeerr")="" then response.Cookies("codeerr")=1:else:response.Cookies("codeerr")=request.Cookies("codeerr")+1:end if
		if request.Cookies("codeerr")>4 then
		conn.Execute("Insert Into ayiph(ayipn)values('"&userinip&"')")
		end if
		
	call logadd(request.Cookies("aynameid"),"查看库存卡支付密码错误",0,1)
	call PopErr("支付密码输入错误")
	end if
	response.Cookies("codeerr")=""
	response.Cookies("yanzheng")=md5("chaku"&request.Cookies("aynameid")&ptjiami)
	call logadd(request.Cookies("aynameid"),"支付密码验证成功",4,0)
	response.Redirect tourl
else
call PopErr2("请先设置支付密码","anquan")
end if
rs.close
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">
					<table>
                  		<tr>
                          <td>

            <form action="" method="post" name="formyz" id="formyz">
            &nbsp;输入支付密码：
			<input name="anquanma" class="reginputpass" type="password" id="anquanma">
	  		<input name="tourl" type="hidden" id="shangid" value="<%=tourl%>">
            <input name="catanquan" type="hidden" id="catanquan" value="anquan">
      		&nbsp;&nbsp;<input type="submit" name="Submit" value="     确 定     " class="logindlregedit">
            </form>

                         </td>
                        </tr>
                    </table>
       		</div>
            <div class="gexian20"></div>

            <!-------------------------------------- 结束 -------------------------------------->
                                                     
                   
            <div class="gexian20"></div>
            <div class="mzsmbox2" style="padding-top:20px;">
            提示：为保证账号安全，请先通过支付密码验证！如果未设置支付密码请<a href="anquan">【点击链接设置或修改支付密码！】</a><br>
            同时建议开启更多账号安全方式，如登录授权，绑定密保卡！并且定期更换账号密码！
            </div>
            </div>
            


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



</div>








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


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

</body>
</html>