⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userinfo_top.asp

📁 创建和运行动态、交互的Web服务器应用程序
💻 ASP
字号:
<% 
if request.cookies("bookshop")("username")="" then
   response.write "未处理订单"&"("&"<a href=myuser.asp?action=dingdan>0</a>"&")" 
                                
else

dim dacx
set dacx=server.CreateObject("adodb.recordset")
    dacx.Open "select distinct(dingdan) from shop_action where username='"&request.Cookies("bookshop")("username")&"' and zhuangtai=1 ",conn,1,1
    if dacx.recordcount=0 then
       response.write "未处理订单"&"("&"<a href=myuser.asp?action=dingdan>0</a>"&")" 
    else
       response.write "未处理订单"&"("&"<a href=myuser.asp?action=dingdan><font color=red>"&dacx.recordcount&"</font></a>"&")" 
    end if
    dacx.Close
set dacx=nothing

end if
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -