%response.expires=0%> <% gotopage=request("gotopage") if gotopage="" then gotopage=1 end if t_search=request("t_search") t_search_name=request("t_search_name") num=request("num") shutter_code=request("shutter_code") sql="update shutter set hit=hit+1 where num=" & num conn.execute(sql) re_gubun=request("re_gubun") if re_gubun="prev" then sql="select * from shutter where num<" & num & " order by num desc" set rs=conn.execute(sql) if not rs.eof then num=rs("num") end if rs.close set rs=nothing end if if re_gubun="next" then sql="select * from shutter where num >" & num & " order by num desc" set rs=conn.execute(sql) if not rs.eof then num=rs("num") end if rs.close set rs=nothing end if sql="select count(num) from shutter_re where num=" & num Set rs = Server.CreateObject("ADODB.Recordset") rs.Open sql,conn,1 re_cnt=rs(0) rs.close set rs=nothing sql="select * from shutter where num=" & num & " order by num desc" Set rs = Server.CreateObject("ADODB.Recordset") rs.Open sql,conn,1 %>
|
||||||||||||||||||||||||||||||||||||||