<%
set rsa=Server.CreateObject("ADODB.Recordset")
SQLa="select * from kywap where cstr(ids)="&myid
rsa.open SQLa,liao,1,2
if rsa.recordcount>0 then
response.redirect "/bbs/yxxe/ljzq.asp?pid="&rsa("pid")&"&sid="&sid&"&amp;saytk="&saytk&""
end if
   rsa.close
set rsa=Nothing
set rsb=Server.CreateObject("ADODB.Recordset")
SQLb="select * from pk where cstr(ids)="&myid
rsb.open SQLb,liao,1,2
if rsb.recordcount>0 then
response.redirect "/bbs/yxxe/pk.asp?pid="&rsb("pid")&"&sid="&sid&"&amp;saytk="&saytk&""
end if
   rsb.close
set rsb=Nothing

set rsc=Server.CreateObject("ADODB.Recordset")
SQLc="select * from luo where cstr(ids)="&myid
rsc.open SQLc,liao,1,2
if rsc.recordcount>0 then
response.redirect "/bbs/yxxe/xluo.asp?pid="&rsc("pid")&"&sid="&sid&"&amp;saytk="&saytk&""
end if
   rsc.close
set rsc=Nothing

'set rsd=Server.CreateObject("ADODB.Recordset")
'SQLd="select * from tz where cstr(pid)="&myid
'rsd.open SQLd,jhconn,1,2
'if rsd("jg")=0 then
'response.redirect "/bbs/yxxe/jjss.asp?id="&rsd("id")&"&lid="&rsd("lid")&"&sid="&sid&"&amp;saytk="&saytk&"&"
'end if
'   rsd.close
'set rsd=Nothing
%>