📄 add.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%response.buffer=true%>
<!--#include file="conn.asp"-->
<%
pno=request.serverVariables("HTTP_X_UP_CALLING_LINE_ID")
pno=right(pno,11)
ids=request.QueryString("ids")
if ids="" or ids<0 then ids=0
%>
<%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">
<wml>
<head>
<meta http-equiv="Cache-Control" content="no-Cache"/>
<meta http-equiv="Cache-Control" content="max-age=0"/>
</head>
<% if pno="" then response.redirect "index.asp" %>
<%
set rst=server.createobject("ADODB.Recordset")
Sql="select * from bookclass where num='" & pno & "' order by ClassID asc"
rst.open Sql,conn,1,2
%>
<card title="添加书签">
<p>网站名称:</p>
<p><input name="site<%=minute(now)%><%=second(now)%>" type="text" format="*M" emptyok="true" maxlength="15"/></p>
<p>网站地址:</p>
<p><input name="url<%=minute(now)%><%=second(now)%>" type="text" format="*M" emptyok="true" maxlength="30" value="http://"/></p>
<p>网址分类:
<select title="分类" name="fenlei<%=minute(now)%><%=second(now)%>" value="<%=ids%>">
<%
i=1
do while not rst.eof
%>
<option value="<%=rst("ClassID")%>"><%=rst("ClassName")%></option>
<%
i=i+1
rst.movenext
loop
rst.Close
set rst=nothing
%>
</select><br/>
<anchor>[提交书签]
<go href="save.asp" method="post" accept-charset="utf-8">
<postfield name="ids" value="$(fenlei<%=minute(now)%><%=second(now)%>)"/>
<postfield name="site" value="$(site<%=minute(now)%><%=second(now)%>)"/>
<postfield name="url" value="$(url<%=minute(now)%><%=second(now)%>)"/>
</go>
</anchor>
<br/>-----<br/>
<a href="index.asp">[书签首页]</a><br/>
<a href="..">[网站首页]</a>
</p>
</card>
</wml>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -