关于后台搜索的问题,代码那里有错误?

来源:百度知道 编辑:UC知道 时间:2024/05/23 20:27:21
<%dbdns="../../"%>
<!--#include file="../../inc/conn.asp"-->
<!--#include file="../cook.asp"-->
<%if fla3<>1 then
response.write "<script>alert('操作权限出错,您没有权限操作些功能');history.go(-1);</Script>"
Response.End
end if%>
<%
if request("Submit")="删 除" then
cha=request("cha")
id=request("id")
id=split(id,",")
for i=0 to UBound(id)
conn.execute("delete from SMT_sca where SMT_id="&id(i)&"")
conn.execute("delete from SMT_leaveword where SMT_book_sort=3 and SMT_book_id="&id(i)&"")
next
end if
%>
<%
if request("Submit")="审 核" then
cha=request("cha")
id=request("id")
id=split(id,",")
for i=0 to UBound(id)
conn.execute("update SMT_sca set SMT_k

<body style="margin:8">
<table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#cccccc" bordercolordark="#FFFFFF">
<form name="form1" method="post" action="sca.asp">
<tr align=center bgcolor=#efefef><td height=25 align=center><input type="text" name="word"> <input type="submit" name="Submit" value="商机搜索"> <a href="sca.asp?cha=yes">10天内到期</a> <a href="sca.asp?key2=0">已关闭</a> <a href="sca.asp?zc=yes" class=red>正常商机</a> <a href="sca.asp?key1=0">待审</a> <a href="sca.asp?key1=1">已审</a> <a href="sca.asp?last=yes">到期</a> <a href="sca.asp?key3=1">正常推荐</a> <a href="sca.asp"