Count Lines in Pages

Contents of Page: makedonation_m2.asp Number of Lines: 172 Last Modified: 3/13/2025 9:47:07 AM
0001: <% @Language = "VBScript" %>
0002: 
0003: <!-- #include FILE="include/adovbs.inc" -->
0004: <!-- #include FILE="include/constants.inc" -->
0005: <!-- #include FILE="include/ReturnPageSet.inc" -->
0006: 
0007: <%
0008: 		emailaddress = Request.Cookies("user")
0009:         If emailaddress = "" then
0010: 	    Response.Redirect("login_m.asp?from=makedonation.asp")
0011:         End If
0012: 	Set rs = Server.CreateObject("ADODB.Recordset")
0013: 	sqlString = "SELECT * FROM mmEntries " & _
0014: 							"WHERE EmailAddress = '" & emailaddress & "' " & _
0015: 							"AND Season = " & season
0016: 	rs.Open sqlString, conn, adOpenStatic, adLockReadOnly, adCmdText
0017:         if rs.EOF then
0018: '           Response.Write(sqlString)
0019: '           Response.Write("Not in mmEntry table")
0020:         Else
0021:            EntryID = rS("ID").Value
0022:            Fname = rS("FirstName").Value
0023:            Lname = rs("Name").Value
0024:            Email = rs("EmailAddress").Value
0025:            numEntries = CInt(rs("NumEntries").Value)
0026:          num2ndEntries = CInt(rs("Num2ndEntries").Value)  
0027: 		PaidEntries = rs("PaidEntries").Value
0028: 		PaidSSEntries = rs("Paid2ndEntries").Value	         
0029:         End If
0030:         
0031:         If numEntries = 0 Then
0032:         numEntries = num2ndEntries
0033:         End If
0034: 		
0035: 		TotalAmount = (numEntries + num2ndEntries) * 20
0036: 		TotalAmountPaid = (PaidEntries + PaidSSEntries) * 20
0037: 		TotalAmountDue = TotalAmount - TotalAmountPaid
0038: 		EntriesDue = TotalAmountDue / 20
0039: 		
0040: BaseSiteURL = Session("BaseSiteURL") 
0041: 
0042: 
0043: If BaseSiteURL = "default.asp" Then
0044: TableWidth="550"
0045: Else
0046: TableWidth="100%"
0047: End If
0048: 				
0049: 		
0050:          %>
0051: <html>
0052: 
0053: <head>
0054: <title>Joe Toledo's March Madness Contest - Benefiting Charity</title>
0055: <link href="mm.css" rel="stylesheet" type="text/css">
0056: 	<link href="https://mychinodes.org/desb.css" rel="stylesheet" type="text/css">
0057: <base target="_self">
0058: </head>
0059: 
0060: <body bgcolor="#ffffff">
0061: 
0062: <table cellspacing="0" border="2" cellpadding="3" width="<%= TableWidth %>" bordercolor="#FED87B"
0063: height="9">
0064:  <tr bgcolor="#FFFAF0"><td class="norm" align="center" colspan="2" ><big><big><b><font color="green">Options for making your donation:</b><br><I><small><font color="blue"></td></tr>
0065:   <tr bgcolor="#FFFAF0">
0066:     <td VALIGN="TOP" colspan="2" class="norm">
0067: 	<table border="0" width="80%">
0068: 	<tr><td width="85%"></td><td width="*"></td></tr>
0069: <tr>
0070: <td class="norm13" align="right">Entries in Main Contest:</td>
0071: <td class="norm" align="right">   <b><big><%= NumEntries %></td>
0072: </tr>
0073:    	<% If reg2ndopen = "YES" Then %> 
0074:  <tr>
0075:  <td class="norm" align="right"> 
0076: <tr>
0077: <td class="norm" align="right">Additional Entries in Sweet 16 Contest:</td> 
0078: <td class="norm" align="right"> <b><big><%= Num2ndEntries %><br>
0079: </tr>
0080: 	
0081: 	<% End If %>
0082:  <tr>
0083:  <td class="norm" align="right"> 	
0084: 	Total Donation Amount:</td> 
0085:  <td class="norm" align="right">	<b><big>$<%= TotalAmount %></td>
0086:  </tr> <tr>
0087:  <td class="norm" align="right"> 	
0088: 	Total Amount Received:</td> 
0089:  <td class="norm" align="right">	<b><big>$<%= TotalAmountPaid %></td>
0090:  </tr>
0091:   <tr>
0092: 
0093:  <tr>
0094:  <td class="norm" align="right"> 	
0095: 	Total Amount Due:</td>
0096:  <td class="norm" align="right"> <b><big><font color="red">$<%= TotalAmountDue %></td>
0097: </tr>
0098: </table>
0099: <tr>
0100: <% If TotalAmountDue = 0 Then %>
0101: 
0102: 
0103:  <td class="norm" align="center" colspan="2"> 	
0104: 	<Font Color="blue"><i><b>Your donation has been received and processed.  Thank you!</td>
0105: </tr>
0106: <% Else %>
0107: 
0108:  <td class="norm" align="center" colspan="2"> 	
0109: 	<Font Color="red"><i><big>Please allow 24 hours for payments to be processed.</td>
0110: </tr>
0111: 
0112: 
0113:  
0114: 
0115:    <tr bgcolor="#FFFAF0">
0116:     <td   height="34" colspan="2">
0117:        <p align="center"><i><font face="Arial" size="3">Via <big><b>VenMo:</b></big><b>&nbsp;&nbsp;@Joe-A-Toledo</b></i><br><small>(Last 4 digits of phone#:  <B>4267</B>)</small> </font></p>
0118: 	<p align="center"><font face="Arial" size="3"><a href="https://venmo.com/joe-a-toledo?txn=pay&note=March-Madness%20Contest%20(4204)&amount=<%= TotalAmountDue %>" target="_blank"><img border="2"
0119:     src="images/Venmo_button.png"></a><br><br><I>(Click on image above to make your donation with your VenMo account)</p>
0120:   </tr>
0121:     <td   height="34" colspan="2">
0122:     <p align="center"><i><font face="Arial" size="3">To make your donation using <b><big>Zelle:</big></b><br><br>Send it to:&nbsp;<b>donations@folga.org</b> </font></i></p>
0123:     </td>
0124:   </tr>
0125:     <tr bgcolor="#FFFAF0">
0126:     <td VALIGN="TOP" width="1" height="44" align="right">
0127:    	<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
0128: <input type="hidden" name="cmd" value="_xclick">
0129: <input type="hidden" name="business" value="jt@folga.org">
0130: <input type="hidden" name="quantity" value="<%= EntriesDue %>">
0131: <input type="hidden" name="undefined_quantity" value="1">
0132: <INPUT TYPE="hidden" NAME="return" VALUE="http://www.folga.org/ncaa">
0133: <input type="hidden" name="item_name" value="March Madness Donation ( <%= EntryID %> )">
0134: <input type="hidden" name="amount" value="20.00">
0135: <input type="hidden" name="no_shipping" value="2">
0136: <input type="hidden" name="no_note" value="1">
0137: <input type="hidden" name="currency_code" value="USD">
0138: <input type="hidden" name="bn" value="PP-BuyNowBF">
0139: <p align="center">
0140: <input type="image" src="images/paypaldonate.jpg" width="85" height="*" border="1"  name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
0141: </p>
0142: </form>
0143: <br>
0144: <a href="https://paypal.me/folga/<%= TotalAmount %>" target="_blank"><img src="images/paypaldonate.jpg" width="85" height="*" border="1" ></a>
0145: </td>
0146:     <td VALIGN="middle" height="44">
0147:     <font face="Arial">Send your donation using your credit card via PayPal.&nbsp;<br><small><i><b>(You don't need a PayPal account)</b></I></small>
0148:     &nbsp;</font></td>
0149:   </tr>
0150:    <tr bgcolor="#FFFAF0">
0151:     <td VALIGN="TOP" width="1" height="44" align="center">
0152:          <a href="checkinfo.asp?Email=<%= Email %>" target="_blank"><img border="0" src="images/check.jpeg" width="74" height="40"></a>
0153:     </td>
0154:     <td VALIGN="middle" height="44">
0155:     <font face="Arial" size="3">Click on check image for instructions on how to
0156:     send your&nbsp; donation via check.</font>
0157:     </td>
0158:   </tr>
0159:   <% End If %>
0160:  
0161:   <tr bgcolor="#FFFAF0">
0162:     <td VALIGN="TOP" class="norm" height="15" colspan="2" class="norm"><big>
0163:     You can always update the number of entries played.&nbsp; 
0164: 	Just click on<i><b> <a href="editprofile.asp">Edit My Profile</a></b></i>.
0165:     </td>
0166:   </tr>
0167: </center>
0168:   
0169: </table>
0170: </div>
0171: </body>
0172: </html>