我网站自助建站系统代码哪里出错了呢?

发布时间:2024-05-19 10:18 发布:上海旅游网

问题描述:

我网站自助建站系统代码哪里出错了呢?请高手速度指点下小弟.....
有高手的话请加本人QQ791237802 谢谢了。!~·
<!--#include file="main.asp"-->
<%id=request("id")
if id="" or IsNumeric(id)<>true then
response.write"请输入正确的企业ID号!"
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select * from PUS_yp where PUS_id="&id&""
rs.open sql,conn,1,1
if not rs.eof then
if rs("PUS_key")=0 then
response.write"<script>alert('页面打开出错,下面是产生错误的可能原因:\n\n·该企业正在等待管理员审核开通');window.open('"&application("cityurl")&"','_parent');</script>"
response.end
elseif rs("PUS_key")=2 then
response.write"<script>alert('页面打开出错,下面是产生错误的可能原因:\n\n·该企业已过期');window.open('"&application("cityurl")&"','_parent');</script>"
response.end
elseif rs("PUS_key1")=0 then
response.write"<script>alert('页面打开出错,下面是产生错误的可能原因:\n\n·由于某种原因,该企业已被管理员关闭\n\n·如有问题,请及时和我们联系');window.open('"&application("cityurl")&"','_parent');</script>"
response.end
else

id=rs("PUS_id")
coname=rs("PUS_coname")
co=rs("PUS_co")
response.write"<title>"&coname&"</title>"
url=cityurl&"co/"&co&"/index.asp?id="&id
response.write"<frameset framespacing=0 cols=0,* rows=* border=0 frameborder=NO><frame src=about:blank marginwidth=0 marginheight=0 noresize><frame src="&url&"></frameset>"

end if
else
response.write"<script>alert('页面打开出错,下面是产生错误的可能原因:\n\n·该企业可能不存在');window.open('"&application("cityurl")&"','_parent');</script>"
response.end
end if
rs.close%>

问题解答:

我网站自助建站系统代码哪里出错了呢?这个旅游问答期待您的解答,请登录账号或关注微信公众号回答这个问题。

热点新闻