<%temp_detail_news_detail_show=site.object_p%>
<!-- object[<%=site.object_p%>]::temp_detail_news_detail_show -->
<%
set site.object(temp_detail_news_detail_show).rs_other(0)=server.CreateObject("adodb.recordset")
if request("id")<>"" then
site.object(temp_detail_news_detail_show).rs_other(0).open "select * from jins_news_list where news_open=1 and news_id="&request("id")&"  " ,conn,1,1
else
site.object(temp_detail_news_detail_show).rs_other(0).open "select * from jins_news_list where news_open=1 and  news_id=0  " ,conn,1,1
end if
if site.object(temp_detail_news_detail_show).rs_other(0).eof then
site.error.info="您选择的新闻不存在或者已经被删除！！"
site.error.location=request.servervariables("http_referer")
site.error.err
end if

site.temp.url_request=replace(site.temp.url_request,"&id="&request("id"),"")
site.temp.url_request=replace(site.temp.url_request,"&kind="&request("kind"),"")

site.object(temp_detail_news_detail_show).object_include(temp_detail_news_detail_show)
conn.execute("update jins_news_list set news_clicknum=news_clicknum+1 where news_id="&request("id")&" ")
'-----------------------------------------------------------
'site.temp.object_guide=site.temp.object_guide+" > "+site.object(temp_detail_news_detail_show).rs_other(0)("news_title")
response.write "<script>document.getElementById('temp_guide').innerHTML='"&site.temp.object_guide&"';</script>"

site.object(temp_detail_news_detail_show).rs_other(0).close
set site.object(temp_detail_news_detail_show).rs_other(0)=nothing
%>