lianjie.asp
来自「admin/admin.asp是WAP的后台管理登陆页面」· ASP 代码 · 共 41 行
ASP
41 行
<%
'=================================================
' 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"-->
<%
dim sql
dim rs
dim title
dim content
set rs=server.createobject("adodb.recordset")
sql="update article set hits=hits+1 where articleID="&request("id")
rs.open sql,conn,1,3
sql="select * from article where articleID="&request("id")
rs.open sql,conn,1,1
if not rs.eof then
name=rs("title")
url=rs("content")
end if
rs.close
%>
<wml>
<head>
<meta http-equiv='Cache-Control' content='no-Cache'/>
<meta http-equiv='Cache-Control' content='max-age=0'/>
</head>
<card id='card' title='<%=untow(name)%>'>
<onevent type='onenterforward'>
<go href='<%=untow(url)%>'/>
</onevent>
<p align='center'>
<a href='<%=untow(url)%>'>正在链接!</a></p>
</card>
</wml>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?