Count Lines in Pages

Contents of Page: Top10Edit.asp Number of Lines: 226 Last Modified: 4/8/2026 12:45:25 PM
0001: <% @Language = "VBScript" %>
0002: <!-- #include FILE="include/adovbs.inc" -->
0003: <!-- #include FILE="include/constants.inc" -->
0004: <!-- #include FILE="include/funcs.asp" -->
0005: <%
0006: 	
0007: 	ID = Request.QueryString("ID")
0008: 	Set rsm = Server.CreateObject("ADODB.Recordset")
0009: 
0010: 		sqlString = "SELECT * FROM mmTop10 WHERE ID = " & ID
0011: 
0012: 							
0013: 	   rsm.Open sqlString, conn, adOpenStatic, adLockReadOnly, adCmdText
0014:   If rsm.EOF Then
0015:   FullName = "????"
0016: 
0017:   Else
0018:       FullName = rsm("Name").Value
0019: 	  Rank = rsm("Rank").Value
0020: 	  TotalAmt = rsm("TotalAmt").Value
0021: 	  Contest = rsm("Contest").Value
0022: 	  Top10Amt = rsm("Top10Amt").Value	
0023: 	  DonatedAmount = rsm("DonatedAmount").Value	
0024: 	  CheckNo = rsm("CheckNo").Value	
0025: 	  RegNumber = rsm("RegNumber").Value		  	  
0026: 
0027:       rsm.Close
0028:       set rsm = Nothing
0029:       
0030: End If
0031: 	
0032: 
0033: 		Set rsm = Server.CreateObject("ADODB.Recordset")
0034: 	sqlString = "SELECT * FROM MY4_Master " & _
0035: 							"WHERE RegNumber = '" & RegNumber & "' " 
0036: 	rsm.Open sqlString, conn2, adOpenDynamic, adLockOptimistic, adCmdText
0037: 	If rsm.EOF Then
0038: 	PayPalEmailAddress = "??"
0039: 	Else
0040: 		PayPalEmailAddress = rsm("PayPalEmailAddress").Value
0041: 		VenMo = rsm("VenMo").Value
0042: 		Zelle = rsm("Zelle").Value
0043: 		EmailAddress = rsm("EmailAddress").Value		
0044: 		rsm.Close
0045: 		Set rsm = Nothing	
0046:      End If
0047: 	
0048: 	SendEMailFlag = True	
0049: 	
0050: 	PaymentNote = "March Madness " & season & " winnings.  Congrats and thank you!"
0051: %>
0052: <html>
0053: 
0054: <head>
0055: <link href="mm.css" rel="stylesheet" type="text/css">
0056: <link href="https://mychinodes.org/desb.css" rel="stylesheet" type="text/css">
0057: <meta name="viewport" content="width=device-width">
0058: <title>March Madness - Adjust Payout for ties</title>
0059: 
0060: <base target="_self">
0061: 	<script>
0062: function myFunction(InputID) {
0063:   // Get the text field
0064:   var copyText = document.getElementById(InputID);
0065: 
0066:   // Select the text field
0067:   copyText.select();
0068:   copyText.setSelectionRange(0, 99999); // For mobile devices
0069: 
0070:   // Copy the text inside the text field
0071:   navigator.clipboard.writeText(copyText.value);
0072: <% 'If DeskTop = "Y" Then %>  
0073:   // Alert the copied text
0074:   alert("Copied the text: " + copyText.value);
0075: }
0076: <% 'End if %>
0077: </script>
0078: </head>
0079: <body link="#00194C" vlink="#800000" alink="#800000" bgcolor="#ffffff"
0080: onload="document.entry.CheckNo.focus()">
0081: 
0082: <form ACTION="Top10EditPost.asp?ID=<%= ID %>" METHOD="POST" name="entry">
0083:   <table border="1" width="500" cellspacing="1" cellpadding="0">
0084: <tr><td width="35%"></td><td width="65%"></td></tr>
0085: <tr>
0086:       <td height="20" align="right" class="normbold" ><font face="Arial" size="2"
0087:       color="#FF0066">Name:</td>
0088:       <td height="20" align="left" class="normbold" ><big><%= FullName %></td>
0089:     </tr>
0090: <tr>
0091:       <td height="20" align="right" class="normbold" ><font face="Arial" size="2"
0092:       color="#FF0066">Reg Number:</td>
0093:       <td height="20" align="left" class="normbold" width="*"><big><%= RegNumber %></td>
0094:     </tr>
0095: <tr>
0096:       <td height="20" align="right" class="normbold" ><font face="Arial" size="2"
0097:       color="#FF0066">Email Address:</td>
0098: 	  
0099:       <td height="20" align="left" class="normbold" width="*" >
0100: 	   <input
0101:       name="EmailAddress" size="20" class="norm" readonly value="<%= EmailAddress %>" id="Email"></b>&nbsp;
0102: 
0103: 	  
0104: 	  <a href="" onclick="myFunction('Email')" class="bigblue">Copy</a></td>
0105:     </tr>	
0106:     <tr align="center">
0107:       <td height="25" align="right" class="smallgreen" ><font face="Arial" size="2"
0108:       color="#FF0066"><b>Contest :</b></font> </td>
0109:       <td height="25" align="left" class="smallgreen" ><b><font face="Arial" size="2"><%= Contest %></font></b>&nbsp; </td>
0110:     </tr>
0111:    <tr align="center">
0112:       <td height="25" align="right" class="smallgreen" ><font face="Arial" size="2"
0113:       color="#FF0066"><b>Rank :</b></font> </td>
0114:       <td height="25" align="left" class="smallgreen" ><b><font face="Arial" size="2"><%= Rank %></font></b>&nbsp; </td>
0115:     </tr>
0116: 
0117:    <tr align="center">
0118:       <td height="25" align="right" class="smallgreen" ><font face="Arial" size="2"
0119:       color="#FF0066"><b>Total Amount :</b></font> </td>
0120:       <td height="25" align="left" class="bigblue" ><b><font face="Arial" size="2">$<%= TotalAmt %></font></b>&nbsp; </td>
0121:     </tr>
0122:     <tr align="center">
0123:       <td height="25" align="right" class="smallgreen" ><font face="Arial" size="2" color="#FF0066">
0124: 
0125: 	  <b>PayPal Email :</b></font>
0126: 	  
0127: 	  </td>
0128:       <td height="25" align="left" class="smallgreen" ><font face="Arial" size="2"><b><input
0129:       name="PayPalEmailAddress" size="20" class="norm"
0130:       value="<%= PayPalEmailAddress %>" id="PayPal"></b></font>&nbsp;
0131: <% If PayPalEmailAddress <> "" Then %>	  
0132: 	  <a href="" onclick="myFunction('PayPal')" class="bigblue">Copy</a>
0133: <% End If %>	  
0134: 	  </td>
0135:     </tr>
0136:     <tr align="center">
0137:       <td height="25" align="right" class="smallgreen" ><font face="Arial" size="2" color="#FF0066">
0138: <% if VenMo <> "" Then %>
0139: 
0140: <a target="_blank" href="https://venmo.com/<%= VenMo %>?txn=pay&note=March%20Madness%20Winnings&amount=<%= TotalAmt %>">Link to VenMo</a>
0141: <% Else %>	  
0142: 	  <b>VenMo ID :</b></font> 
0143: <% End If %>	  
0144: 	  </td>
0145:       <td height="25" align="left" class="smallgreen" ><font face="Arial" size="2"><b><input
0146:       name="VenMo" size="20" class="norm"
0147:       value="<%= VenMo %>" id="VenMo"></b></font>&nbsp;	 
0148: <% If VenMo <> "" Then %>	  
0149: 	  <a href="" onclick="myFunction('VenMo')" class="bigblue">Copy</a>
0150: <% End If %>
0151: </td>
0152:     </tr>
0153:     <tr align="center">
0154:       <td height="25" align="right" class="smallgreen" ><font face="Arial" size="2" color="#FF0066">
0155: 
0156: 	  <b>Zelle :</b></font>
0157: 	  
0158: 	  </td>
0159:       <td height="25" align="left" class="smallgreen" ><font face="Arial" size="2"><b><input
0160:       name="Zelle" size="20" class="norm"
0161:       value="<%= Zelle %>" id="Zelle"></b></font>&nbsp;	  
0162: 	  <% If Zelle <> "" Then %>	  
0163: 	  <a href="" onclick="myFunction('Zelle')" class="bigblue">Copy</a>
0164: <% End If %>
0165: 
0166: 	  
0167: 	  </td>
0168:     </tr>
0169: 	
0170: 	<tr>
0171:       <td height="20" align="right" class="normbold" ><font face="Arial" size="2"
0172:       color="#FF0066">Payment Note:</td>
0173: 	  
0174:       <td height="20" align="left" class="normbold" width="*" >
0175: 	   <input
0176:       name="PaymentNote" size="30" class="norm" readonly value="<%= PaymentNote %>" id="PayNote"></b>&nbsp;
0177: 
0178: 	  
0179: 	  <a href="" onclick="myFunction('PayNote')" class="bigblue">Copy</a></td>
0180:     </tr>	
0181:     <tr align="center">
0182:       <td height="25" align="right" class="smallgreen" ><font face="Arial" size="2" color="#FF0066"><b>Split Amount :</b></font> </td>
0183:       <td height="25" align="left" class="smallgreen" ><font face="Arial" size="2"><b><input
0184:       name="Top10Amt" size="7" maxlength="50" class="norm" style="width:54; height:21"
0185:       value="<%= Top10Amt %>"></b></font>&nbsp;</td>
0186:     </tr>
0187:     <tr align="center">
0188:       <td height="25" align="right" class="smallgreen" ><font face="Arial" size="2" color="#FF0066"><b>Donated Amount:</b></font> </td>
0189:       <td height="25" align="left" class="smallgreen" ><font face="Arial" size="2"><b><input
0190:       name="DonatedAmount" size="7" maxlength="50" class="norm" style="width:54; height:21"
0191:       value="<%= DonatedAmount %>"></b></font>&nbsp;</td>
0192:     </tr>
0193: <tr><td colspan="3" class="norm" align="center">(<b>Add "C" at the end of Check#, when it clears)</td></tr>
0194:     <tr align="center">
0195:       <td height="25" align="right" class="smallgreen" ><font face="Arial" size="2" color="#FF0066"><b>Check#:</b></font> </td>
0196:       <td height="25" align="left" class="smallgreen" ><font face="Arial" size="2"><b><input
0197:       name="CheckNo" size="10" maxlength="50" class="norm"    value="<%= CheckNo %>"></b></font>&nbsp;</td>
0198:     </tr>
0199: 
0200: 	   <tr align="center">
0201:       <td  align="right" class="normbold" height="28">Paid Method<font face="Arial"
0202:       size="2" color="#FF0066"><b> :</b></font> </td>
0203:       <td width="832" height="28" align="left" class="smallgreen" colspan="3"><font face="Arial"
0204:       size="2"><b>  	  <select name="PaidMethod" size="1">
0205:         <option selected value=""></option>
0206:         <option value=""></option>
0207:         <option value="PayPal">PayPal</option>
0208:         <option value="VenMo">VenMo</option>
0209:         <option value="FOLGA">FOLGA</option>
0210:         <option value="Zelle">Zelle</option>
0211:         <option value="">Check</option>
0212: 		</select>
0213: 		</td></td>
0214:     </tr>	
0215: 
0216:      <tr align="center">
0217:       <td height="27" align="right" class="normbold" ></td>
0218:       <td height="27" align="left">
0219: 	  <font face="Arial" size="3"><br><input TYPE="submit" VALUE="Post" class="norm"> </font>&nbsp;&nbsp;&nbsp;
0220: 	  &nbsp;<input type="button" value="Go Back" class="norm" onClick="history.back()">
0221: 	  </td>
0222:     </tr>
0223:   </table>
0224: </form>
0225: </body>
0226: </html>