%
On Error Resume Next
sub_id = trim(trim(request.querystring("52fbyrinfo")))
If ( sub_id = "") Then
response.End
End If
If ( sub_id < 0 ) Then
response.End
End If
sql = "select * from life_news where sub_id="&sub_id
Set objrst = conn.execute(sql)
If objrst.eof Then
response.End
End If
strsql = "select * from sub_theme where sub_id="&objrst("sub_id")
Set objrst2 = conn.execute(strsql)
If not objrst2.eof Then
sname = objrst2("sub_name")
End if
%>