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

📄 step.asp

📁 admin/admin.asp是WAP的后台管理登陆页面
💻 ASP
字号:
<% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %>
<%
'=================================================
' Copyright 2007-05 jinqiu. All Rights Reserved.
' Last Update: 2007-05-15   HTTP://www.wapfs.net
'=================================================
%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<!--#include file="conn.asp"-->
<!--#include file="char.asp"-->
<%
  set rs=server.createobject("adodb.recordset")
  sql="select * from Aclass where id="&request("id")
  rs.open sql,conn,3,3
classurl=rs("classurl")
classname=rs("class")
rs.close
set rs=nothing
%> 
<wml>
<head>
<meta http-equiv='Cache-Control' content='no-Cache'/>
<meta http-equiv='Cache-Control' content='max-age=0'/>
</head>
<card id='main' title='<%=untow(classname)%>'>
<p><% if classurl<>"" then 
response.write ""&ubbcodex(classurl)&"<br/>"
end if %> 
<% 
        set rs = server.createobject("adodb.recordset")
        sql="select * from ANclass where classid="&request("id")&" order by nclasstop"
	rs.open sql,conn,1,1
	if rs.eof and rs.bof then
		response.write "&#x8FD8;&#x6CA1;&#x6709;&#x4EFB;&#x4F55;&#x680F;&#x76EE;<br/>"
	else
	do while not rs.eof
        if rs("nclasson")=0 then
	response.write "<a href='lang.asp?classid="&rs("classid")&"&amp;nclassid="&rs("nclassid")&"'>"&untow(rs("nclass"))&"</a>"&tmow(rs("nclassbr"))&""
        else
        response.write ""&untow(rs("nclassurl"))&""&tmow(rs("nclassbr"))&""
        end if 
%>
<%  
	rs.movenext  
	loop  
	end if  
	rs.close  
%>
<br/>-------------<br/>
<%
  set rsguang=server.createobject("adodb.recordset")
  rsguang.open "select id,title from guanggao where classid='b"&request("id")&"'",conn,1,1
if rsguang.bof and rsguang.eof then
response.write ""
else
response.write "<a href='vguang.asp?id="&rsguang("id")&"'>"&rsguang("title")&"</a>*<br/>"
end if
rsguang.close
%><a href='index.asp'>&#x8FD4;&#x56DE;&#x9996;&#x9875;</a>   
</p>
</card>
</wml>

⌨️ 快捷键说明

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