<% if rs.BOF or rs.EOF then %><% else ' totalpage = rs.pagecount rs.absolutepage = page %>

 

 


<% end if%>
<% Response.Expires=0 if request("page")="" then page=1 else page=request("page") end if Set db = Server.CreateObject("ADODB.Connection") db.Open ("study_awsBoard") SQL = "SELECT * FROM study_awsBoard ORDER BY num DESC" Set rs = Server.CreateObject("ADODB.Recordset") rs.PageSize = 15 rs.Open SQL,db,1 %> <% if rs.BOF or rs.EOF then %> <% else ' totalpage = rs.pagecount rs.absolutepage = page %> <% end if%>

<% if rs.BOF or rs.EOF then %><% else ' totalpage = rs.pagecount rs.absolutepage = page %>

 

<% end if%><% Response.Expires=0 if request("page")="" then page=1 else page=request("page") end if Set db = Server.CreateObject("ADODB.Connection") db.Open ("Board_QA") SQL = "SELECT * FROM Board_QA ORDER BY num DESC" Set rs = Server.CreateObject("ADODB.Recordset") rs.PageSize = 15 rs.Open SQL,db,1 %> <% if rs.BOF or rs.EOF then %> <% else ' totalpage = rs.pagecount rs.absolutepage = page %> <% end if%>                                                    

 

 

 

<% if rs.BOF or rs.EOF then %><% else ' totalpage = rs.pagecount rs.absolutepage = page %>

 

 

<% end if%><% Response.Expires=0 if request("page")="" then page=1 else page=request("page") end if Set db = Server.CreateObject("ADODB.Connection") db.Open ("Board_QA") SQL = "SELECT * FROM Board_QA ORDER BY num DESC" Set rs = Server.CreateObject("ADODB.Recordset") rs.PageSize = 15 rs.Open SQL,db,1 %> <% if rs.BOF or rs.EOF then %> <% else ' totalpage = rs.pagecount rs.absolutepage = page %> <% end if%>