Count Lines in Pages

Contents of Page: MMDisplayError_M.asp Number of Lines: 135 Last Modified: 4/1/2025 8:19:49 AM
0001: 
0002: <head>
0003: <meta http-equiv="Content-Language" content="en-us">
0004: </head>
0005: 
0006: <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
0007: 
0008: <!-- #include FILE="include/adovbs.inc" -->
0009: <!-- #include FILE="include/constants.inc" -->
0010: <!-- #include FILE="include/funcs.asp" -->
0011: 
0012: <%
0013: 
0014: 
0015: 
0016:  errorid = Request.QueryString("Type")
0017: PoolID = Request.QueryString("PoolID")
0018:  var1 = Request.QueryString("Var1")
0019:  var2 = Request.QueryString("Var2") 
0020:  var3 = Request.QueryString("Var3")
0021:  var4 = Request.QueryString("Var4")
0022: ' GoToPage = Request.QueryString("Page")
0023: 
0024: ' If GoToPage = "" Then
0025: ' GoToPage = "SQPicks1.asp?PoolID=" & PoolID
0026: ' End If 
0027: ErrorText = ""
0028: IF errorid = "BLANK" Then
0029: ErrorText = "You must select at least one square."
0030: End If
0031: 
0032: IF errorid = "NOBLPICKS" Then
0033: ErrorText = "You don't have any BL Picks.<br><small>It is past the deadline to make picks."
0034: End If
0035: 
0036: IF errorid = "MIA" Then
0037: ErrorText = "You've eventered an invalide Grid#."
0038: End If
0039: 
0040: IF errorid = "NOCREDIT" Then
0041: ErrorText = "You don't have enough credit to make selection."
0042: End If
0043: 
0044: If errorid = "PICKED" Then
0045: ErrorText = "One or more squares you've selected have already been picked.  Please try again."
0046: End If
0047: 
0048: If errorid = "TOOMANY" Then
0049: ErrorText = "You have exceeded the number of squares allowed for a single participant.<br>You can only make " & Var1 & " pick(s)."
0050: End If
0051: 
0052: If errorid = "TOOFEW" Then
0053: ErrorText = "You have selected under the minimum number of squares allowed for this grid."
0054: End If
0055: 
0056: If errorid = "NUMENTRIESLESSTHANPAID" Then
0057: ErrorText = "The number of entries can not be less than entries already paid."
0058: End If
0059: 
0060: If errorid = "INVALIDEMAIL" Then
0061: ErrorText = "Please enter a valid email address."
0062: End If
0063: 
0064: If errorid = "MISSINGENTRY" Then
0065: ErrorText = "Please enter at least <u>1</u>  for the # of entries."
0066: End If
0067: 
0068: If errorid = "MISSINGPASSWORD" Then
0069: ErrorText = "Please enter a password."
0070: End If
0071: 
0072: If errorid = "READTERMS" Then
0073: ErrorText = "Please confirm that you've read and understood the contest rules."
0074: End If
0075: 
0076: If errorid = "TOOMANY" Then
0077: ErrorText = "The maximum number of entries you can submit is 10."
0078: End If
0079: 
0080: If errorid = "BADPASSWORD" Then
0081: ErrorText = "You have entered an incorrect password."
0082: End If
0083: 
0084: If errorid = "NUMENTRIES" Then
0085: ErrorText = "Number of entries must be 1 or greater."
0086: End If
0087: 
0088: If errorid = "GROUPNOTFOUND" Then
0089: ErrorText = " Group " & var1 & " does not exist.  Please try again."
0090: End If
0091: 
0092: 
0093: If errorid = "PASSWORDNOTEQUAL" Then
0094: ErrorText = "Password and confirmation password MUST match. " ' & "<br>Password=" & var1 & " Confirmation Password=" & var2
0095: End If
0096: 
0097: If errorid = "POOLPASSWORD" Then
0098: ErrorText = "You have an incorrect password for this pool/grid."
0099: 
0100: GoToPage = "SQPoolPrivateAccess.asp?PoolID=" & PoolID
0101: End If
0102: 
0103: If ErrorText = "" And errorid <> "" Then
0104: ErrorText = "Errorid=" & errorid & " Var1=" & var1 & " Var2=" & " Var3=" & Var3 & " Var4=" & Var4
0105: ElseIf ErrorText = "" And errorid = "" Then
0106: ErrorText = var1 & " " & Var2 & " " & Var3 & " " & Var4 
0107: End If
0108: 
0109:  
0110: %>
0111: <html>
0112: 
0113: <head>
0114: <meta name="viewport" content="width=device-width">
0115: <title>March Madness Contest - Error report</title>
0116: <link href="mm.css" rel="stylesheet" type="text/css">
0117: 	<link href="https://mychinodes.org/desb.css" rel="stylesheet" type="text/css">	
0118: <table cellspacing="0" border="1" cellpadding="5" width="330" bordercolor="#FED87B"
0119:  id="table1">
0120:   <tr bgcolor="#FFFAF0">
0121:     <td VALIGN="TOP" bordercolorlight="#FED87B" class="norm" align="center">
0122: 
0123: <br><big><big><%= ErrorText %>
0124: 
0125: 
0126: 
0127: 
0128: 
0129: <% If GoToPage = "" Then %>
0130: <p align="center">	<input type="button" value="Press to return" onClick="history.back()" class="button-40"></p>
0131: <% Else %>
0132: <p align="center"><b>	<a href="<%= GoToPage %>">Click here to return</a></b>&nbsp;&nbsp;&nbsp; </p>
0133: <% End If %>
0134: </td></tr>
0135:   </table>