Count Lines in Pages

Contents of Page: makedonation_m.asp Number of Lines: 190 Last Modified: 2/4/2026 1:24:10 PM
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: 	<script>
0059: function myFunction() {
0060:   // Get the text field
0061:   var copyText = document.getElementById("myInput");
0062: 
0063:   // Select the text field
0064:   copyText.select();
0065:   copyText.setSelectionRange(0, 99999); // For mobile devices
0066: 
0067:   // Copy the text inside the text field
0068:   navigator.clipboard.writeText(copyText.value);
0069: <% 'If DeskTop = "Y" Then %>  
0070:   // Alert the copied text
0071:   alert("Copied the text: " + copyText.value);
0072: }
0073: <% 'End if %>
0074: </script>
0075: 
0076: </head>
0077: 
0078: <body bgcolor="#ffffff">
0079: 
0080: <table cellspacing="0" border="2" cellpadding="3" width="<%= TableWidth %>" bordercolor="#FED87B"
0081: height="9">
0082:  <tr bgcolor="#FFFAF0"><td class="norm" align="center" colspan="2" ><big><big><b><font color="green">Making Your Donation</b><br><I><small><font color="blue"></td></tr>
0083:   <tr bgcolor="#FFFAF0">
0084:     <td VALIGN="TOP" colspan="2" class="norm">
0085: 	<table border="0" width="80%">
0086: 	<tr><td width="85%"></td><td width="*"></td></tr>
0087: <tr>
0088: <td class="norm13" align="right">Entries in Main Contest:</td>
0089: <td class="norm" align="right">   <b><big><%= NumEntries %></td>
0090: </tr>
0091:    	<% If reg2ndopen = "YES" Then %> 
0092:  <tr>
0093:  <td class="norm" align="right"> 
0094: <tr>
0095: <td class="norm" align="right">Additional Entries in Sweet 16 Contest:</td> 
0096: <td class="norm" align="right"> <b><big><%= Num2ndEntries %><br>
0097: </tr>
0098: 	
0099: 	<% End If %>
0100:  <tr>
0101:  <td class="norm" align="right"> 	
0102: 	Total Donation Amount:</td> 
0103:  <td class="norm" align="right">	<b><big>$<%= TotalAmount %></td>
0104:  </tr> <tr>
0105:  <td class="norm" align="right"> 	
0106: 	Total Amount Received:</td> 
0107:  <td class="norm" align="right">	<b><big>$<%= TotalAmountPaid %></td>
0108:  </tr>
0109:   <tr>
0110: 
0111:  <tr>
0112:  <td class="norm" align="right"> 	
0113: 	Total Amount Due:</td>
0114:  <td class="norm" align="right"> <b><big><font color="red">$<%= TotalAmountDue %></td>
0115: </tr>
0116: </table>
0117: <tr>
0118: <% If TotalAmountDue = 0 Then %>
0119: 
0120: 
0121:  <td class="norm" align="center" colspan="2"> 	
0122: 	<Font Color="blue"><i><b>Your donation has been received and processed.  Thank you!</td>
0123: </tr>
0124: <% Else %>
0125: 
0126:  
0127:  <TR>    <td VALIGN="TOP" height="27" colspan="2"><p align="center"><font face="Arial">Options available to make your donation,<br><b><i>in Order of Preference:</i></b><br><i><small><font color="red">(Please allow up to 24 hours for your payment to be applied)</td></tr>
0128:   <tr>
0129:     <td VALIGN="TOP" height="27" colspan="2"><p align="center"><font face="Arial">Using <b>Zelle</b>, please use email below:<br><br>
0130: 	<input type="text" value="joeatoledo@gmail.com" readonly size="17" class="bigblue" id="myInput"><br><br>
0131: <button onclick="myFunction()" class="button-40">Copy Email to Clipboard</button>
0132: 	
0133: 	<small><br><br>You can then paste the email address<br>in your bank's Zelle payment processing.
0134: 
0135: </td>
0136:   </tr>
0137: 
0138:  
0139: 
0140:    <tr bgcolor="#FFFAF0">
0141:     <td   height="34" colspan="2">
0142:        <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>
0143: 	<p align="center"><font face="Arial" size="3"><a href="https://venmo.com/joe-a-toledo?txn=pay&note=March-Madness%20Contest%20(<%= EntryID %>)&amount=<%= TotalAmountDue %>" target="_blank"><img border="2"
0144:     src="images/Venmo_button.png"></a><br><br><I>(Click on image above to make your donation with your VenMo account)</p>
0145:  
0146:     <tr bgcolor="#FFFAF0">
0147:     <td VALIGN="TOP" width="1" height="44" align="right">
0148:    	<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
0149: <input type="hidden" name="cmd" value="_xclick">
0150: <input type="hidden" name="business" value="jt@folga.org">
0151: <input type="hidden" name="quantity" value="<%= EntriesDue %>">
0152: <input type="hidden" name="undefined_quantity" value="1">
0153: <INPUT TYPE="hidden" NAME="return" VALUE="http://www.folga.org/ncaa">
0154: <input type="hidden" name="item_name" value="March Madness Donation ( <%= EntryID %> )">
0155: <input type="hidden" name="amount" value="20.00">
0156: <input type="hidden" name="no_shipping" value="2">
0157: <input type="hidden" name="no_note" value="1">
0158: <input type="hidden" name="currency_code" value="USD">
0159: <input type="hidden" name="bn" value="PP-BuyNowBF">
0160: <p align="center">
0161: <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!">
0162: </p>
0163: </form></td>
0164:     <td VALIGN="middle" height="44">
0165:     <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>
0166:     &nbsp;</font></td>
0167:   </tr>
0168:    <tr bgcolor="#FFFAF0">
0169:     <td VALIGN="TOP" width="1" height="44" align="center">
0170:          <a href="checkinfo.asp?Email=<%= Email %>" target="_blank"><img border="0" src="images/check.jpeg" width="74" height="40"></a>
0171:     </td>
0172:     <td VALIGN="middle" height="44">
0173:     <font face="Arial" size="3">Click on check image for instructions on how to
0174:     send your&nbsp; donation via check.</font>
0175:     </td>
0176:   </tr>
0177:   <% End If %>
0178:  
0179:   <tr bgcolor="#FFFAF0">
0180:     <td VALIGN="TOP" class="norm" height="15" colspan="2" class="norm"><big>
0181:     You can always update the number of entries played.&nbsp; 
0182: 	Just click on<i><b> <a href="editprofile.asp">Edit My Profile</a></b></i>.
0183:     </td>
0184:   </tr>
0185: </center>
0186:   
0187: </table>
0188: </div>
0189: </body>
0190: </html>