📄 jwhy.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%response.buffer=true%>
<%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.inc"-->
<wml>
<head>
<meta http-equiv="Cache-Control" content="no-Cache"/>
<meta http-equiv="Cache-Control" content="max-age=0"/>
<meta http-equiv="Expires" content="Mon, 1 Jan 1990 00:00:00 GMT"/>
</head>
<%if myid="0" then response.redirect "66hc_grdl.asp?cw=6"
'---接收数据----
did=request.QueryString("did")
'---结束接收----
%>
<card title="加为好友" ontimer="gr_zl.asp?sb=<%=sb%>&id=<%=did%>">
<timer value="10"/>
<p>
<%
if did=myid then response.redirect "gr_zl.asp?cw=1&sb="&sb&"&id="&did&""
set rs=Server.CreateObject("ADODB.Recordset")
rspl="select * from 66hc_my where cstr(cid)="&myid&" and cstr(did)="&did
rs.open rspl,conn,1,2
if rs.eof then
'---开始增加----
rs.addnew
if did<>"" then rs("did")=did
if myid<>"" then rs("cid")=myid
rs.update
Else
response.redirect "gr_zl.asp?cw=2&sb="&sb&"&id="&did&""
end if
rs.close
set rs=nothing
set rsl=Server.CreateObject("ADODB.Recordset")
rspll="select * from siti_Duanxin"
rsl.open rspll,conn,1,2
rsl.addnew
rsl("content")="会员"&myni&"(id:"&myid&")将您加为好友,希望你们多多联系哦"
rsl("sitis")=did
rsl("nickname")="0"
rsl.update
rsl.close
set rsl=nothing
%>
加好友成功,<br/>正在返回..<br/>
************<br/>
<a href='index.asp?sb=<%=sb%>'>泡书首页</a>
</p>
</card>
</wml>
<%endConnection()%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -