%@ LANGUAGE="VBSCRIPT" %>
<% Option Explicit %>
<% Response.Expires = 0 %>
<%
'******************* Variables *************************
Dim objConn
Dim strSql
Dim objRS
Dim qstrQSinfo
Dim strThankyou
Dim Pos
Const Pagesize=50
Dim intPage
Dim intTotal
'******************* Session Variables *****************
qstrQSinfo = Request.QueryString("nfo")
strThankyou = ""
Set objConn = Server.CreateObject("ADODB.Connection")
Set objRS = Server.CreateObject("ADODB.Recordset")
if (qstrQSinfo = "tnx") then
strThankyou = "Bedankt voor uw steun door het invullen van deze petitie ! "
end if
'BB BEG - Modif 11/04/2005
objConn.CursorLocation = 3 'AdUseClient
'BB END - Modif 11/04/2005
objConn.Open Session("vubase_ConnectionString")
'BB BEG - Modif 11/04/2005
strSql = "SELECT Naam,Voornaam,Woonplaats FROM VU_PetitieSOSMUG WHERE Deleted = 0 ORDER BY DatumIngevuld DESC"
'BB END - Modif 11/04/2005
%>
SOS-MUG : Overzicht ondertekenaars petitie
Ondertekenaars van de petitie SOS MUG
<% response.write strThankyou %>
<%
objRS.PageSize = Pagesize
objRS.CacheSize = PageSize
objRS.Open strSql,objConn,1,3
' Set the page
intPage = Clng(Request.QueryString("Page"))
If intPage > objRS.PageCount Then intPage = objRS.PageCount
If intPage < 1 Then intPage = 1
objRS.AbsolutePage = intPage
' Get the total number of records
intTotal = objRS.RecordCount
%>