<!--#include virtual="/inc/conn.asp"-->
<!--#include virtual="/inc/sitecon.asp"-->
<!--#include virtual="/inc/chkuser.asp"-->
<%
if trim(SafeRequest("mcode"))<>"" then
call chkmcode(trim(SafeRequest("mi")),trim(SafeRequest("mcode")),trim(SafeRequest("yurl")),trim(SafeRequest("mp"))) 
end if
call lognamemai("0,99")
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link href="/Template/Template4/css/css.css" rel="stylesheet" type="text/css">
<SCRIPT src="/Template/Template4/js/jquery-1.7.1.min.js" type=text/javascript></SCRIPT>
<SCRIPT src="/Template/Template4/js/gg.js" type=text/javascript></SCRIPT>

<!--[if lte IE 6]>
<style type="text/css">
body { behavior:url("css/csshover.htc"); }
</style>
<![endif]-->
</head>
<body>

<%

if request.Cookies("aynameid")="" then 
response.Redirect "/index/log?err=01"
response.End()
end if

sub iszizhu()
sql="select top 1 * from ayzizhu where zyzizhuisok=1 and ayzizhuuid="&trim(request.Cookies("aynameid"))&"" 
rs.open sql,conn,1,3
if not(rs.bof and rs.eof) then
	if DateDiff("d",rs("ayzizhudate"),now())>3 then
	rs.delete
	call PopErr2("您的请求已过时效，可以联系管理员重新申请！","index")
	end if
response.Redirect("aotoedit")
response.end
end if
rs.close
end sub

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

sub toptz
sql="select top 6 * from aytongzhi where t1=1 and aytongzhikejian=0 order by aytongzhisx,aytongzhiid desc" 
rs.open sql,conn,1,1
if rs.bof and rs.eof then
rs.close
response.Write("暂无最新信息")
else
do while not rs.eof%>
<a href="/notice/<%=trim(rs("suijiid"))%>" target="_blank" style="<%=rs("aytongzhibtys")%>">
<%if len(trim(rs("aytongzhibiao")))>100 then
response.Write left(rs("aytongzhibiao"),100)&"……"
else
response.Write rs("aytongzhibiao")
end if%></a>
<%rs.movenext 
loop
rs.close
end if
end sub

'紧急通知
sql="select top 5 * from aytongzhi where t7=1 and aytongzhikejian=0 order by aytongzhisx,aytongzhiid desc" 
rs.open sql,conn,1,1
if not(rs.bof and rs.eof) then%>
<DIV class=noticet>
<DIV class=noticeBox>
<%do while not rs.eof%>
<a href="/notice/<%=trim(rs("suijiid"))%>" target="_blank" style="<%=rs("aytongzhibtys")%>">
<%if len(trim(rs("aytongzhibiao")))>66 then
response.Write left(rs("aytongzhibiao"),66)&"……"
else
response.Write rs("aytongzhibiao")
end if%></a>
<%rs.movenext 
loop%>
</DIV>
<A class=close_noticet></A></DIV>
<%
end if
rs.close


url1=""
if request.Cookies("yurl")<>"" then 
yurl=request.Cookies("yurl")
url1=request.Cookies("yurl")&"u/"
urlold1=request.Cookies("yurl")&"u/"
else
yurl=weburl
end if
%> 

<SCRIPT src="/Template/Template4/js/Library.js" type=text/javascript></SCRIPT>
<SCRIPT src="/Template/Template4/js/index.js" type=text/javascript></SCRIPT>

<div id="top" >
<div class="top"  style="width:1200px;"> 
<div style="float:left;"><A href="<%=weburl%>" target="_top"><IMG src="<%=weblogo%>" alt=爱卡支付 title=爱卡支付></A></div>
<div style="float:right;"> 
<%if request.Cookies("aynameid")<>"" then

sql="select aynameid,ayyue from ayname where aynameid="&request.Cookies("aynameid")&"" 
rs.open sql,conn,1,1
if rs.bof and rs.eof then call PopErr2("账号不存在，或已被删除！","/index/exit")
%>
ID:<%=request.Cookies("aynameid")%> TEL：<%=request.Cookies("aytrueuser")%> | 
    <%
	set rst=server.CreateObject("adodb.recordset")
	rst.open "select * from aytongzhi where t4=1 and aytongzhiuser="&clng(request.Cookies("aynameid"))&" and aytongzhidu=0 order by aytongzhiid desc",conn,1,1
	messnum=rst.RecordCount
	rst.close
	%>
<!--
<a href="<%'=request.Cookies("yurl")%>/u/mess">站内信箱(<%'=messnum%>)</a> |
-->
<a href="<%=request.Cookies("yurl")%>/u/index" target="_top">会员中心</a> |
<a href="<%=request.Cookies("yurl")%>/chaxun" target="_blank" >订单查询</a> | <a href="/index/exit" target="_top">安全退出</a>
	<%if request.Cookies("admindaiguan")="yes" then%>
	&nbsp;<A href="qxdaiguan.asp?act=quxiao"><strong>[取消代管]</strong></A>
	<%end if%>
<%rs.close
else%>
<a href="<%=request.Cookies("yurl")%>/index/log" target="_top" >买家登录</a> | 
<a href="<%=request.Cookies("yurl")%>/chaxun" target="_blank" >订单查询</a>
<%end if%>
</div>
</div>
</div>

<DIV class=navbox>
<DIV class=globalnav>

<!-- 一级分类 -->
<A id="o_1" href="<%=urlold1%>index" target="_top"><SPAN>账户信息</SPAN></A>

<A id="o_4" href="<%=urlold1%>mydingdan" target="_top"><SPAN>交易管理</SPAN> </A>

<%if pichost<>"/" then%>
<A id="o_5" href="<%=pichost%>u/tousu?mi=<%=request.Cookies("aynameid")%>&mcode=<%=request.Cookies("aysignmd5")%>&yurl=<%=yurl%>&mp=<%=request.Cookies("useripd")%>" target="_top"><SPAN>投诉举报</SPAN> </A>
<%else%>
<A id="o_5" href="<%=urlold1%>tousu" target="_top"><SPAN>投诉举报</SPAN> </A>
<%end if%>


</DIV>
<!-- 一级分类 结束 -->




<DIV class=subnav>

<!-- 管理中心 开始  -->
<div id="t_1" style="display:none">
<A id="s_1_1" href="<%=urlold1%>index" style="cursor:pointer" target="_top"><SPAN>管理中心</SPAN></A> 
<SPAN class=line>|</SPAN><A id="s_1_2" href="<%=urlold1%>myname" style="cursor:pointer" target="_top"><SPAN>账户设置</SPAN></A> 
<SPAN class=line>|</SPAN><A id="s_1_3" href="<%=urlold1%>anquan" style="cursor:pointer" target="_top"><SPAN>安全中心</SPAN></A> 
<SPAN class=line>|</SPAN><A id="s_1_7" href="<%=urlold1%>mess" style="cursor:pointer" target="_top"><SPAN>站内信</SPAN></A>
<SPAN class=line>|</SPAN><A id="s_1_8" href="<%=urlold1%>kuaijielog" style="cursor:pointer" target="_top"><SPAN>快捷登录</SPAN></A>
</div>

<!-- 交易管理  -->
<div id="t_4" style="display:none">
<A id="s_4_2" href="<%=urlold1%>mydingdan" style="cursor:pointer" target="_top"><SPAN>订单交易查询</SPAN></A> 
</div>


<!-- 投诉举报  -->
<div id="t_5" style="display:none">

<%if pichost<>"/" then%>
<A id="s_5_1" href="<%=pichost%>u/tousu?mi=<%=request.Cookies("aynameid")%>&mcode=<%=request.Cookies("aysignmd5")%>&yurl=<%=yurl%>&mp=<%=request.Cookies("useripd")%>" style="cursor:pointer" target="_top"><SPAN>提交投诉</SPAN></A> 
<%else%>
<A id="s_5_1" href="<%=urlold1%>tousu" style="cursor:pointer" target="_top"><SPAN>提交投诉</SPAN></A> 
<%end if%>
<SPAN class=line>|</SPAN>
<%if pichost<>"/" then%>
<A id="s_5_2" href="<%=pichost%>u/tousulist?mi=<%=request.Cookies("aynameid")%>&mcode=<%=request.Cookies("aysignmd5")%>&yurl=<%=yurl%>&mp=<%=request.Cookies("useripd")%>" style="cursor:pointer" target="_top"><SPAN>投诉列表</SPAN></A> 
<%else%>
<A id="s_5_2" href="<%=urlold1%>tousulist" style="cursor:pointer" target="_top"><SPAN>投诉列表</SPAN></A> 
<%end if%>

</div>



</div>


</DIV>
</DIV>
