% Response.Buffer = True Response.Expires = -1440 %>
![]() |
Please click the links below to view information on tours and things to do in Pemberton and the surrounding areas.<% If ( Request.QueryString.Item("page") = "" ) Then CurrentPage = 1 Else CurrentPage = CInt( Request.QueryString.Item("page") ) End If PageSize = 10 Set Rs = Server.CreateObject("ADODB.Recordset") Rs.CursorLocation = adUseClient Rs.CursorType = adOpenStatic Rs.LockType = adLockPessimistic Rs.PageSize = PageSize Sql = "SELECT LinkID, LinkName, Hyperlink, LinkDescription FROM Links ORDER BY LinkName ASC" Rs.Open Sql , Db If Not Rs.BOF And Not Rs.EOF Then PageCount = Rs.PageCount If CurrentPage > PageCount Then CurrentPage = PageCount End If If CurrentPage < 1 Then CurrentPage = 1 End If Rs.AbsolutePage = CurrentPage RecordCount = 0 Response.Write "
" & vbCrLf Response.Write "Page " & CurrentPage & " of " & PageCount & " " If ( PageCount > 1 ) Then Response.Write vbCrLf & "
" End If Rs.Close Set Rs = Nothing Db.Close Set Db = Nothing %> |