index.asp

来自「一个查询某一个域名是否被注册的源代码 socket连接HTTP请求 网络编程」· ASP 代码 · 共 56 行

ASP
56
字号
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%response.buffer=true%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<!--#include file="conn.asp"-->
<% if pno="" then response.redirect "../index.asp" %>
<?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"> 
<wml>
<head>
<meta http-equiv="Cache-Control" content="no-Cache"/>
<meta http-equiv="Cache-Control" content="max-age=0"/>
</head>

<card title="我的书签">
<p>
<%
set rst=server.createobject("ADODB.Recordset")
Sql="select * from bookclass where num='" & pno & "' order by ClassID asc"
rst.open Sql,conn,1,2
%>
<a href="http://202.106.185.44/mynet/index.jsp?id=L0054">*网易百万现金*</a><br/>
-----<br/>

<%
if rst.recordcount = 0 then
rst.addnew
rst("ClassID")=0
rst("ClassName")="默认分类"
rst("num")=pno
rst.update
response.redirect "index.asp"
end if
if rst.recordcount > 0 then
i=1
do while not rst.eof
%>
<a href="list.asp?ids=<%=rst("ClassID")%>"><%=rst("ClassName")%></a>
<%
if i Mod 2=0 or i=rst.recordcount then
response.Write "<br/>"
else
response.Write "-"
end if
i=i+1
rst.movenext
loop
rst.Close
set rst=nothing
%>
<%end if%>
-----<br/>
<a href="class.asp">[栏目管理]</a>&nbsp;
<a href="../">[网站首页]</a>
</p>
</card>
</wml>

⌨️ 快捷键说明

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