Count Lines in Pages

Contents of Page: makedonation.asp Number of Lines: 155 Last Modified: 2/14/2025 4:21:26 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: <html>
0041: 
0042: <head>
0043: <title>Joe Toledo's March Madness Contest - Benefiting Charity</title>
0044: <link href="mm.css" rel="stylesheet" type="text/css">
0045: 	<link href="https://mychinodes.org/desb.css" rel="stylesheet" type="text/css">
0046: <base target="_self">
0047: </head>
0048: 
0049: <body bgcolor="#ffffff">
0050: 
0051: <table cellspacing="0" border="2" cellpadding="3" width="550" bordercolor="#FED87B"
0052: height="9">
0053:   <tr bgcolor="#FFFAF0"><td class="norm" align="center" colspan="2" ><big><big><b><font color="green">Making your donation</td></tr>
0054:  
0055:   <tr bgcolor="#FFFAF0">
0056:     <td VALIGN="TOP" colspan="2" class="norm">
0057: 	<table border="0" width="400">
0058: 	<tr><td width="85%"></td><td width="*"></td></tr>
0059: <tr>
0060: <td class="norm" align="right">Entries in Contest:</td>
0061: <td class="norm" align="right">   <b><big><%= NumEntries %></td>
0062: </tr>
0063:    	<% If reg2ndopen = "YES" Then %> 
0064:  <tr>
0065:  <td class="norm" align="right"> 
0066: <tr>
0067: <td class="norm" align="right">Additional Entries in Sweet 16 Contest:</td> 
0068: <td class="norm" align="right"> <b><big><%= Num2ndEntries %><br>
0069: </tr>
0070: 	
0071: 	<% End If %>
0072: 	<tr>
0073:  <td class="norm" align="right"> 	
0074: 	Total Donation Amount:</td> 
0075:  <td class="norm" align="right">	<b><big>$<%= TotalAmount %></td>
0076:  </tr>
0077:  <tr>
0078:  <td class="norm" align="right"> 	
0079: 	Total Amount Received:</td> 
0080:  <td class="norm" align="right">	<b><big><%= TotalAmountPaid %></td>
0081:  <tr>
0082:  <td class="norm" align="right"> 	
0083: 		Total Amount Due:</td>
0084:  <td class="norm" align="right"> <b><big><font color="red">$<%= TotalAmountDue %></td>
0085: </tr>
0086: </table>
0087: <tr>
0088: <% If TotalAmountDue = 0 Then %>
0089: 
0090: 
0091:  <td class="norm" align="center" colspan="2"> 	
0092: 	<Font Color="blue"><i><big><b>Your donation has been received and processed.  Thank you!</td>
0093: </tr>
0094: <% Else %>
0095: 
0096:  <td class="norm" align="center" colspan="2"> 	
0097: 	<Font Color="red"><i><big><b>Please allow 24 hours for payments to be processed.</td>
0098: </tr>
0099: 
0100: 
0101:   <tr bgcolor="#FFFAF0">
0102:     <td VALIGN="TOP" width="1" height="44" align="center">
0103:          <a href="checkinfo.asp?Email=<%= Email %>" target="_blank"><img border="0" src="images/check.jpeg" width="74" height="40"></a>
0104:     </td>
0105:     <td VALIGN="middle" height="44">
0106:     <font face="Arial" size="3">Click on check image for instructions on how to
0107:     send your&nbsp; donation via check.</font>
0108:     </td>
0109:   </tr>
0110:   <tr bgcolor="#FFFAF0">
0111:     <td VALIGN="TOP" width="1" height="44" align="right">
0112:    	<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
0113: <input type="hidden" name="cmd" value="_xclick">
0114: <input type="hidden" name="business" value="jt@folga.org">
0115: <input type="hidden" name="quantity" value="<%= EntriesDue %>">
0116: <input type="hidden" name="undefined_quantity" value="1">
0117: <INPUT TYPE="hidden" NAME="return" VALUE="http://www.folga.org/ncaa">
0118: <input type="hidden" name="item_name" value="March Madness Donation ( <%= EntryID %> )">
0119: <input type="hidden" name="amount" value="20.00">
0120: <input type="hidden" name="no_shipping" value="2">
0121: <input type="hidden" name="no_note" value="1">
0122: <input type="hidden" name="currency_code" value="USD">
0123: <input type="hidden" name="bn" value="PP-BuyNowBF">
0124: <p align="center">
0125: <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!">
0126: </p>
0127: </form></td>
0128:     <td VALIGN="middle" height="44">
0129:     <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>
0130:     &nbsp;</font></td>
0131:   </tr>
0132:    <tr bgcolor="#FFFAF0">
0133:     <td   height="34" colspan="2">
0134:        <p align="center"><i><font face="Arial" size="3">Via <big><b>VenMo:</b></big><b>&nbsp;&nbsp;@Joe-A-Toledo</b></i><br><br><small>(Last 4 digits of phone#:  <B>4267</B>)</small> </font></p>
0135: 	<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"
0136:     src="images/Venmo_button.png"></a><br><br><I>(Click on image above to pay with your VenMo account)</p>
0137:   </tr>
0138:     <td   height="34" colspan="2">
0139:     <p align="center"><i><font face="Arial" size="3">To make your donation using <b><big>Zelle:</big></b><br><br> <b>donations@folga.org</b> </font></i></p>
0140:     </td>
0141:   </tr>
0142:   <% End If %>
0143:  
0144:   <tr bgcolor="#FFFAF0">
0145:     <td VALIGN="TOP" class="norm" height="15" colspan="2" class="norm"><big>
0146:     You can always update the number of entries played.&nbsp; 
0147: 	Just click on<i><b> <a href="editprofile.asp">Edit My Profile</a></b></i>.
0148:     </td>
0149:   </tr>
0150: </center>
0151:   
0152: </table>
0153: </div>
0154: </body>
0155: </html>