ROOM_add.asp
资源名称:wap.rar [点击查看]
上传用户:sking1122
上传日期:2020-09-24
资源大小:1005k
文件大小:3k
源码类别:
手机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>
- <%
- pag=10
- cw=usb(request("cw"))
- ltid=usb(request("ltid"))
- dj=usb(request("dj"))
- t=usb(request("t"))
- if t="" then tou="暂无"
- if t<>"" then tou="<img src='"&t&"' alt='logo...'/>"
- %>
- <%if cw="1" then%>
- 标题不能为空<br/>
- <%end if%>
- <%if cw="2" then%>
- 内容不能为空<br/>
- <%end if%>
- <%if cw="3" then%>
- 错误:您的帖子已经发表成功!请不要刷新!<br/>
- <%end if%>
- <%if cw="4" then%>
- 错误:请先登陆!!<br/>
- <%end if%>
- <%if cw="6" then%>
- 错误:请先登陆!!<br/>
- <%end if%>
- <%if cw="7" then%>
- 标题字数不足,疑是水帖!<br/>
- 发贴请求被系统拒绝<br/>
- <%end if%>
- <%if cw="8" then%>
- 内容字数不足,疑是水帖!<br/>
- 发贴请求被系统拒绝<br/>
- <%end if%>
- <%if cw="9" then%>
- 您的发贴速度过快,坐下来喝杯咖啡吧!<br/>
- <%end if%>
- <%if cw="4" or cw="3" or cw="2" or cw="1" then%>
- **************<br/>
- <%end if%>
- 表情:<a href="xzbq.asp?cnscu=<%=cnscu%>&ltid=<%=ltid%>&ddll=ROOM_add.asp"><%=tou%></a><br/>
- 对谁说:<%
- response.write "<select name='idp"&minute(now)&""&second(now)&"' value='"&ubb(request("ddff"))&"'><option value='所有人'>所有人</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("nini"))&"'>" & ubb(nam) & "</option>"
- z=z+1
- rsez.movenext
- loop
- rsez.close
- set rsez=nothing
- Response.write "</select>"%><br/>
- 内容:<input name="lttxt" emptyok="true" value=""/><br/>
- <anchor title="确定提交">[确定提交]
- <go href="ROOM_addcl.asp?cnscu=<%=cnscu%>&ltid=<%=ltid%>&dj=<%=dj%>" method="post" accept-charset='utf-8'>
- <postfield name="lttxt" value="$(lttxt)"/>
- <postfield name="djjg" value="$(djjg)"/>
- <postfield name="ldid" value="$(ldid)"/>
- <postfield name="idp" value="$(idp<%=minute(now)%><%=second(now)%>)"/>
- <postfield name="t" value="<%=t%>"/>
- </go>
- </anchor><br/>
- **********<br/>
- <a href="ROOM.asp?ltid=<%=ltid%>&cnscu=<%=cnscu%>">返回聊天</a>
- </p>
- </card>
- </wml>