<%Response.AddHeader "X-Frame-Options","SAMEORIGIN"%>
<!--#include virtual="/inc/conn.asp"-->
<!--#include virtual="/inc/sitecon.asp"-->
<!doctype html>
<html>
<head>
<meta charset="gb2312">
<link href="/Template/Template5/css/akstyle.css" rel="stylesheet" type="text/css" />
<script src="/Template/Template5/js/jquery.min.js"></script>
<script src="/Template/Template5/js/jquery.flexslider-min.js"></script>
<title>发卡平台-自动发卡平台-<%=webname%></title>
<meta name="keywords" content="<%=webkeywords%>">
<meta name="description" content="<%=webdescription%>">
</head>
<body>

<%
function cbname(url) 
cbname=false
if Ubound(split(trim(Request.ServerVariables("URL")),url))>0 then cbname=true
end Function
%>

<div class="toplogin">
<div class="login conter">
    <div class="loginl left">
    &nbsp;&nbsp;&nbsp;&nbsp;
        <a href="<%=xinlangweibo%>" target="_blank" rel="nofollow">新浪微博</a>&nbsp;&nbsp;&nbsp;
        <!--
        <a href="<%'=tengxunweibo%>" target="_blank" rel="nofollow">腾讯微博</a>&nbsp;&nbsp;
        -->
        <%if gongzhonghaopic<>"" then%>
        <div id="Layer1" style="display:none"><img src="<%=gongzhonghaopic%>"  width="230" height="230"/></div> 
        &nbsp;<a onMouseOver="Layer1.style.display='';" onMouseOut="Layer1.style.display='none';"  style="cursor:pointer" rel="nofollow">微信公众号</a>
        <%end if%>
    </div>
    <div class="loginr right">

		<%if request.Cookies("aynameid")="" then%> 
			<%if isqqkfon="yes" then%>
            <a href="https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=<%=qqkfappid%>&redirect_uri=<%=qqkfre%>&state=log" rel="nofollow"><img src="<%=ossurl%>Template/Template5/images/qqdl.png" width="20" style="padding-bottom:4px;"> QQ登录</a>
            <%end if%>
                    
            <%if iswxkfon="yes" then%>
            <a href="https://open.weixin.qq.com/connect/qrconnect?appid=<%=wxkfappid%>&redirect_uri=<%=wxkfre%>&response_type=code&scope=snsapi_login&state=log#wechat_redirect" rel="nofollow"><img src="<%=ossurl%>Template/Template5/images/wxdl.png" width="20" style="padding-bottom:4px;"> 微信登录</a>
            <%end if%>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <%end if%>
    
	<%if request.Cookies("aynameid")<>"" then

        rs.open "select aynameid,ayyue,aytrueuser from ayname where aynameid="&request.Cookies("aynameid")&"" ,conn,1,1
        if rs.eof then 	call PopErr2("请重新登录！","/index/exit")
		
		if wapurl<>"" then
		wapurl=replace(wapurl,"https://"," ")
		wapurl=replace(wapurl,"http://"," ")
		wapurl=replace(wapurl,"/"," ")
		end if
		
		if cint(request.Cookies("ayjibie"))=0 then
		muluurl="u"
		else
		muluurl="user"
		end if

		set rsnum=conn.execute("select count(*) as num from aytongzhi where t4=1 and aytongzhiuser="&clng(request.Cookies("aynameid"))&" and aytongzhidu=0")
		tongzhisum=rsnum("num")

    	response.Write "手机站："&wapurl&" | ID:"&trim(rs("aytrueuser"))&" | <a href="&request.Cookies("yurl")&"/"&muluurl&"/mess>站内信箱("&tongzhisum&")</a> | <a href="&request.Cookies("yurl")&"/"&muluurl&"/index>会员中心</a> | <a href="&request.Cookies("yurl")&"/chaxun target=_blank >订单查询</a> | <a href="&request.Cookies("yurl")&"/index/exit>安全退出</a>"

    rs.close
    else
	
	response.Write " <a href=/index/log rel=nofollow>账号登录</a> | <a href=/index/reg rel=nofollow>账号注册</a> | <a href=/index/pass rel=nofollow>忘记密码</a> |"
    response.Write " <a style=color:#F60 href=/tousu rel=nofollow>订单投诉/进展/撤销</a> | <a style=color:#F60 href=/chaxun rel=nofollow>订单查询</a>"
    
	end if%>
    </div>
</div>
</div>
<div class="clearit"></div>

<div class="topbox conter">
    <div class="topl left">

    <a href="/"><img style="padding-right:50px;" src=<%=weblogo%> alt=<%=webname%> title=<%=webname%>></a>
    <a href="/" <%if cbname("index.asp") then response.Write("style=color:#9ad400")%>>首页</a>
    <a href="/index/zj" <%if cbname("zj.asp") then response.Write("style=color:#9ad400")%>>公司资质</a>
    <a href="/index/guanyu" <%if cbname("guanyu.asp") then response.Write("style=color:#9ad400")%>>关于我们</a>
    <a href="/class/t2">最新动态</a>
    <a href="/index/lx" <%if cbname("lx.asp") then response.Write("style=color:#9ad400")%>>联系我们</a>
    </div>
	<div class="topr right">
    <%if showtel="yes" then%>
    <img src="<%=ossurl%>Template/Template5/images/toptel.jpg" width="35" height="90" style="margin-top:1px"><%=fuwutel%>
    <%end if%>
    </div>
</div>
<div class="clearit"></div>
</head>