[$] Pr1v473 xHeEl B4ckD00RzZ [$]
<%
Function GetSecureInt(param)
If Not IsNumeric(param) Or IsEmpty(param) Or param = "" Then
ErrMsg="No Data Requested"
GetSecureInt = 0
Else
ErrMsg=""
GetSecureInt = param
End If
End Function
%>
<%
Sub SetUpStartRec()
Dim nPageNo
' Check for a START parameter
If Request.QueryString("start").Count > 0 Then
nStartRec = Request.QueryString("start")
ElseIf Request.QueryString("pageno").Count > 0 Then
nPageNo = Request.QueryString("pageno")
If IsNumeric(nPageNo) Then
nStartRec = (nPageNo-1)*nDisplayRecs+1
If nStartRec <= 0 Then
nStartRec = 1
ElseIf nStartRec >= ((nTotalRecs-1)\nDisplayRecs)*nDisplayRecs+1 Then
nStartRec = ((nTotalRecs-1)\nDisplayRecs)*nDisplayRecs+1
End If
Else
'nStartRec = Session(ewSessionTblStartRec)
If Not IsNumeric(nStartRec) Or nStartRec = "" Then
nStartRec = 1 ' Reset start record counter
End If
End If
Else
'nStartRec = Session(ewSessionTblStartRec)
If Not IsNumeric(nStartRec) Or nStartRec = "" Then
nStartRec = 1 'Reset start record counter
End If
End If
End Sub
%>