怀化宏宇幼儿园电话:action相关的问题

来源:百度文库 编辑:神马品牌网 时间:2024/04/30 06:38:04
我有个信息管理的页面,审核功能好用,置顶和推荐就不好用,为什么呢?我如果把审核的动作action=ulock相关的地方的ulock都换成top1的话,审核功能也用不了,请问是哪里出了问题呢?代码如下:
<td align="center" class="forumrow" nowrap><% if rs("ulock")="0" then response.Write("<a href=Admin_4Fupdate.asp?gameid="&rs("gameid")&"&action=ulock&is=1&id="&rs("id")&" title=点击审核><font color=red>未审核</font></a>") else response.Write("<a href=Admin_4Fupdate.asp?gameid="&rs("gameid")&"&action=ulock&is=0&id="&rs("id")&" title=点击取消审核><font color=blue>已审核</font></a>") end if%></td>
<td align="center" class="forumrow" nowrap><% if rs("top")="0" then response.Write("<a href=Admin_4Fupdate.asp?gameid="&rs("gameid")&"&action=top&is=1&id="&rs("id")&" title=点击置顶此私服><font color=red>未置顶<font color=red></a>") else response.Write("<marquee direction=left onMouseOut=this.start() onMouseOver=this.stop() scrollamount=4 scrolldelay=0.5 title=点击取消置顶><a href=Admin_4Fupdate.asp?gameid="&rs("gameid")&"&action=top&is=0&id="&rs("id")&"><font color=blue>已置顶,置顶时间"&rs("toptime")&"</font></a></marquee>") end if%></td>
。。。。。。。。。。。。。。。。。。。。。。。省略若干
一下是信息的处理页面
<%
action=request("action")
iso=request("is")
id=request("id")
gameid=request("gameid")
'审核
if action="ulock" then
conn.execute("update sfdata set ulock="&iso&" where id="&id&"")
response.redirect request.ServerVariables("HTTP_REFERER")
end if
'置顶
if action="top" then
conn.execute("update sfdata set top="&iso&",toptime=now() where id="&id&"")
response.redirect(request.ServerVariables("HTTP_REFERER"))
end if
。。。。。。。。。。。。。。。以下省略

http://www.eimhe.com/index.php这里找找,说不定有视频~