Count Lines in Pages

Contents of Page: ncaarules_m.asp Number of Lines: 194 Last Modified: 4/20/2025 1:24:03 PM
0001: <% @Language = "VBScript" %>
0002: <!-- #include FILE="include/adovbs.inc" -->
0003: <!-- #include FILE="include/constants.inc" -->
0004: <%
0005: 
0006: CloseWindow = Trim(Request.QueryString("CloseWindow"))	
0007: 
0008: ReturnSiteURL = Session("BaseSiteURL")
0009: 
0010: If ReturnSiteURL = "default.asp" Then
0011: TableWidth="650"
0012: Else
0013: TableWidth="100%"
0014: End If
0015: 
0016: 
0017: 
0018: 	Set rsg = Server.CreateObject("ADODB.Recordset")
0019: 	sqlString = "SELECT * FROM mmPrizes " & _
0020: 			"WHERE Season = " & season
0021: 	rsg.Open sqlString, conn, adOpenStatic, adLockReadOnly, adCmdText
0022: If rsg.Eof Then
0023: LastYear = Season - 1
0024: 	Set rsg = Server.CreateObject("ADODB.Recordset")
0025: 	sqlString = "SELECT * FROM mmPrizes " & _
0026: 			"WHERE Season = " & LastYear
0027: 	rsg.Open sqlString, conn, adOpenStatic, adLockReadOnly, adCmdText
0028: End If	
0029:     
0030:    M1 = rsg("M1").Value
0031:    M2 = rsg("M2").Value
0032:    M3 = rsg("M3").Value
0033:    M4 = rsg("M4").Value
0034:    M5 = rsg("M5").Value
0035:    MTop10 = rsg("MTop10").Value
0036:    S1 = rsg("S1").Value
0037:    S2 = rsg("S2").Value
0038:    S3 = rsg("S3").Value
0039:    S4 = rsg("S4").Value
0040:    S5 = rsg("S5").Value
0041:    STop10 = rsg("STop10").Value
0042:    B1 = rsg("B1").Value
0043:    B2 = rsg("B2").Value
0044:    B3 = rsg("B3").Value
0045:    B4 = rsg("B4").Value
0046:    B5 = rsg("B5").Value
0047: %>
0048: <html>
0049: 
0050: <head>
0051: <meta name="viewport" content="width=device-width">
0052: <title>Joe Toledo's March Madness Contest - Benefiting Cancer Research</title>
0053: 	<link href="mm.css" rel="stylesheet" type="text/css">
0054: 	<link href="https://mychinodes.org/desb.css" rel="stylesheet" type="text/css">	
0055: </head>
0056: 
0057: <body bgcolor="#ffffff">
0058: 
0059: <table cellspacing="0" border="1" cellpadding="5" width="<%= TableWidth %>" bordercolor="#FED87B">
0060:   <tr bgcolor="#FFFAF0">
0061: 
0062:     <td VALIGN="TOP" width="70%"><p align="center"><font color="#008000" face="Arial"><strong><span
0063:     style="font-size: 15pt; font-style:italic">March Madness Contest Rules</span></strong></font></td>
0064: 
0065:   </tr>
0066:   <tr bgcolor="#FFFAF0">
0067:     <td VALIGN="TOP" colspan="3"><p align="left"><font face="Arial" size="2">- The objective
0068:     of this contest is to accumulate the most points based on your selection of who is going
0069:     to win each and every game in the NCAA men's basketball tournament all the way to the
0070:     final game.</font><font size="2"> </font></p>
0071:     <p><font face="Arial" size="2">- Each round is worth 32 points, therefore, each correct
0072:     pick in the first round is worth 1 point, 2 points for each correct pick in the second, 4
0073:     for the third, etc...&nbsp;&nbsp; The winners will be the ones who accumulate the most
0074:     points.</font></p>
0075:     <p><font face="Arial" size="2">- Tie-breakers will be based on the most correct picks in
0076:     the 1st round, then 2nd, etc...&nbsp; If entries are still tied after all tie-breakers are
0077:     applied, then prize is split evenly with the appropriate entries.</font></p>
0078:     <p><font face="Arial" size="2"><strong style="font-weight: 400">- Entry fee is a </strong><strong>$20
0079:     donation</strong><strong style="font-weight: 400"> per entry, with </strong><strong>$10 </strong>from
0080:     each entry being donated to the <b>City of Hope Cancer Research Institute</b><font></p>
0081:     <p align="left"><font face="Arial" size="2">- Picks can be entered/changed shortly after
0082:     the NCAA tournament field is announced on <strong> <%= selsunday %> </strong>until the tournament starts on
0083:     <strong> <%= tourneystart %>.</strong></font></p>
0084:  <p align="left"><font face="Arial" size="2">- "Play in" games (a.k.a. First Four) <b>are not</b> part of the contest.  Only games played with the final 64 teams will count.
0085:     </font></p>
0086:     </font></p>
0087:     <p align="left"><font face="Arial" size="2">- Prizes for the contests will be distributed in the
0088:     following manner:</font></p>
0089:     <table border="0" cellpadding="0" width="150">
0090:       <tr>
0091:         <td class="norm" colspan="3" align="center"><big><b>Main Contest<br></big>
0092: 		<i>(Pays top 10%)</td>
0093:       </tr>
0094:       <tr>
0095:         <td class="norm" width="60%"><font face="Arial">1st Place:</td>
0096:         <td class="norm" width="40%" align="right">$<%= M1 %></td>
0097:       </tr>
0098: 	      <tr>
0099:         <td class="norm" width="60%"><font face="Arial">2nd Place:</td>
0100:         <td class="norm" width="40%" align="right">$<%= M2 %></td>
0101:       </tr>
0102:       <tr>
0103:         <td class="norm" width="60%"><font face="Arial">3rd Place:</td>
0104:         <td class="norm" width="40%" align="right">$<%= M3 %></td>
0105:       </tr>
0106:       <tr>
0107:         <td class="norm" width="60%"><font face="Arial">4th Place:</td>
0108:         <td class="norm" width="40%" align="right">$<%= M4 %></td>
0109:       </tr>
0110:       <tr>
0111:         <td class="norm" width="60%"><font face="Arial">5th Place:</td>
0112:         <td class="norm" width="40%" align="right">$<%= M5 %></td>
0113:       </tr>
0114:       <tr>
0115:         <td class="norm" width="60%">6th-40th place:</td>
0116:         <td class="norm" width="40%" align="right"><font face="Arial">$<%= MTop10 %></td>
0117:       </tr>
0118: 	  <tr height="20"><td></td></tr>
0119:     </table>
0120: 	 <table border="0" cellpadding="0" width="150">
0121:       <tr>
0122:         <td class="norm" colspan="3" align="center"><big><b>Sweet 16 Contest<br></big>
0123: 		<i>(Pays top 10%)</td>
0124:       </tr>
0125:       <tr>
0126:         <td class="norm" width="60%"><font face="Arial">1st Place:</td>
0127:         <td class="norm" width="40%" align="right">$<%= S1 %></td>
0128:       </tr>
0129: 	      <tr>
0130:         <td class="norm" width="60%"><font face="Arial">2nd Place:</td>
0131:         <td class="norm" width="40%" align="right">$<%= S2 %></td>
0132:       </tr>
0133:       <tr>
0134:         <td class="norm" width="60%"><font face="Arial">3rd Place:</td>
0135:         <td class="norm" width="40%" align="right">$<%= S3 %></td>
0136:       </tr>
0137:       <tr>
0138:         <td class="norm" width="60%"><font face="Arial">4th Place:</td>
0139:         <td class="norm" width="40%" align="right">$<%= S4 %></td>
0140:       </tr>
0141:       <tr>
0142:         <td class="norm" width="60%"><font face="Arial">5th Place:</td>
0143:         <td class="norm" width="40%" align="right">$<%= S5 %></td>
0144:       </tr>
0145:       <tr>
0146:         <td class="norm" width="60%">6th-20th place:</td>
0147:         <td class="norm" width="40%" align="right"><font face="Arial">$<%= STop10 %></td>
0148:       </tr>
0149: 	  <tr height="20"><td></td></tr>
0150:     </table>
0151: 		 <table border="0" cellpadding="0" width="150">
0152:       <tr>
0153:         <td class="norm" colspan="3" align="center"><big><b>Biggest Loser Contest</td>
0154:       </tr>
0155:       <tr>
0156:         <td class="norm" width="60%"><font face="Arial">1st Place:</td>
0157:         <td class="norm" width="40%" align="right">$<%= B1 %></td>
0158:       </tr>
0159: 	      <tr>
0160:         <td class="norm" width="60%"><font face="Arial">2nd Place:</td>
0161:         <td class="norm" width="40%" align="right">$<%= B2 %></td>
0162:       </tr>
0163:       <tr>
0164:         <td class="norm" width="60%"><font face="Arial">3rd Place:</td>
0165:         <td class="norm" width="40%" align="right">$<%= B3 %></td>
0166:       </tr>
0167:       <tr>
0168:         <td class="norm" width="60%"><font face="Arial">4th Place:</td>
0169:         <td class="norm" width="40%" align="right">$<%= B4 %></td>
0170:       </tr>
0171:       <tr>
0172:         <td class="norm" width="60%"><font face="Arial">5th Place:</td>
0173:         <td class="norm" width="40%" align="right">$<%= B5 %></td>
0174:       </tr>
0175: 
0176:     </table>
0177:    
0178:     <p align="left"><font face="Arial" size="2">- Prizes are based on <b>400 or more entries.</b>.&nbsp; If contest has less than 400 entries, prizes will be pro-rated
0179:     accordingly.</font></p>
0180:     <p align="left"><font face="Arial" size="2">- You may submit <b>multiple entries</b> and
0181:     in doing so you will automatically be entered in a <b>&quot;Sweet 16 Contest&quot;</b>
0182:     with the opportunity to win additional prize money.<b> </b>&nbsp;Click <a
0183:     href="sweet16details_m.asp" target="_blank"><b>here</b></a> for more details.</font></p>
0184: 	    <p align="left"><font face="Arial" size="2">- Picks for the Sweet 16 Contest can be entered/changed shortly after
0185:     the Sweet 16 field is set on the evening of <strong> <%= sel2ndsunday %> </strong>until the tournament continues on
0186:     <strong> <%= tourney2ndstart %>.</strong></font></p>
0187:     <p align="left"><font face="Arial" size="2">- Participants will have <strong>one
0188:     entry</strong> into the Biggest Loser contest, regardless of how many entries they have
0189:     into the main contest or the Sweet 16 Contest. Click <a href="whatisBiggestLoser.asp" target="_blank"><b>here</b></a> for details.<br>
0190:  
0191:   </tr>
0192: </table>
0193: </body>
0194: </html>