ROOM_qkhy.asp
资源名称:wap.rar [点击查看]
上传用户:sking1122
上传日期:2020-09-24
资源大小:1005k
文件大小:2k
源码类别:
手机WAP编程
开发平台:
ASP/ASPX
- <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%><?xml version="1.0" encoding="utf-8"?>
- <%response.buffer=true%>
- <%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
- <!--#include file="conn.inc"-->
- <!--#include file="cnscucsb.asp"-->
- <wml><%
- '====================================================================
- ' 请你保留这段说明,这并不会影响你的速度. 电脑交流:http://www.cnscu.cn
- ' 程序制作:横云 掌上校园收倾心整理收集于互联网,感谢你的支持!
- ' 升级时间: 2008-2-5 主页地址:HTTP://wap.cnscu.cn
- ' E-Mail: cnscu@126.com 客服QQ:554904632 QQ群:30493504 QQ群2:46659883
- '====================================================================
- %> <head><meta http-equiv='Cache-Control' content='no-cache'/>
- </head>
- <card title="清空聊天室">
- <p>
- <%ltid=usb(request("ltid"))
- cz=usb(request("cz"))
- idpp=usb(request("idpp"))
- idp=usb(request("idp"))
- if idp<>"" then iiii=idp
- if idp="" then iiii=idpp
- %>
- 清除谁的发言<br/><%
- response.write "<select name='idp'><option>以输入框为准</option>"
- set rsez=server.createobject("ADODB.Recordset")
- aqlz="select nini,id from cnscu_gr where cstr(z)="<id&" order by id desc"
- rsez.open aqlz,conn,1,2
- z=1
- do while not rsez.eof
- dim nini
- nam=rsez("nini")
- if len(nam)>8 then nam=left(nam,8)
- Response.write "<option value='"&ubb(rsez("id"))&"'>" & ubb(nam) & "</option>"
- z=z+1
- rsez.movenext
- loop
- rsez.close
- set rsez=nothing
- Response.write "</select>"%><br/>
- ID:<input name="idpp" emptyok="true" value=""/><br/>
- <anchor title="确定提交">[确定提交]
- <go href="ROOM_qkhy.asp?cnscu=<%=cnscu%>&ltid=<%=ltid%>&cz=1" method="post" accept-charset='utf-8'>
- <postfield name="idpp" value="$(idpp)"/>
- <postfield name="idp" value="$(idp)"/>
- </go>
- </anchor><br/>
- <%if cz<>"" then%>
- <%
- sql="delete from ltid Where CStr(fid)='" & iiii & "'"
- conn.Execute(sql)
- %>
- 清除成功。。
- <%end if%>
- <br/>**********<br/>
- <a href="ROOM.asp?ltid=<%=ltid%>&cnscu=<%=cnscu%>">返回聊天</a>|
- <a href="index.asp?ltid=<%=ltid%>&cnscu=<%=cnscu%>">社区首页</a>
- </p>
- </card>
- </wml>