<% data_path="../../" 'ACC连接数据库路径，对SQL无效 %>
<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/safe.asp"-->
<%
dim newsid
dim hits
if Chkrequest(request("id")) then
id=request("id")
else
Response.Redirect ("../login/chklogin.asp?login=4")
end if
hits=replace(trim(request("hits")),"'","''")

%>
<%
sql="select typeid,id from Websen_expoinfo where id="&id&""
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1
if rs.eof then
response.write"<br><br><div align=center>此条信息已经删除或不存在</div>"
else
response.redirect(""&HOPE_InstallDir&"service/expo/info/"&rs("typeid")&"-"&rs("id")&".html")
end if
rs.close 
set rs=nothing
%>