% call SiteInfo if ISHTML = 1 then Response.expires = 0 Response.expiresabsolute = Now() - 1 Response.addHeader "pragma", "no-cache" Response.addHeader "cache-control", "private" Response.CacheControl = "no-cache" End If ID=request.QueryString("ID") if ID <> "" or IsNumeric(ID) then set rs = server.createobject("adodb.recordset") sql="select * from Qianbo_News where ViewFlag and ID="&ID rs.open sql,conn,1,3 If rs("SeoKeywords") <> "" Then SeoKeywords=rs("SeoKeywords") Else SeoKeywords=rs("NewsName") End If If rs("SeoDescription") <> "" Then SeoDescription=rs("SeoDescription") Else SeoDescription=rs("NewsName") End If SeoTitle=rs("NewsName") End If rs.close set rs=nothing %>
|
|