Count Lines in Pages

Contents of Page: ncaarules.asp Number of Lines: 196 Last Modified: 3/16/2021 2:33:28 PM
0001: <% @Language = "VBScript" %>
0002: <!-- #include FILE="include/adovbs.inc" -->
0003: <!-- #include FILE="include/constants.inc" -->
0004: <%
0005: 
0006: 	Set rsg = Server.CreateObject("ADODB.Recordset")
0007: 	sqlString = "SELECT * FROM mmPrizes " & _
0008: 			"WHERE Season = " & season
0009: 	rsg.Open sqlString, conn, adOpenStatic, adLockReadOnly, adCmdText
0010: If rsg.Eof Then
0011: 	Set rsg = Server.CreateObject("ADODB.Recordset")
0012: 	sqlString = "SELECT * FROM mmPrizes " & _
0013: 			"WHERE Season = 2013"
0014: 	rsg.Open sqlString, conn, adOpenStatic, adLockReadOnly, adCmdText
0015: End If	
0016:     
0017:    M1 = rsg("M1").Value
0018:    M2 = rsg("M2").Value
0019:    M3 = rsg("M3").Value
0020:    M4 = rsg("M4").Value
0021:    M5 = rsg("M5").Value
0022:    MTop10 = rsg("MTop10").Value
0023:    S1 = rsg("S1").Value
0024:    S2 = rsg("S2").Value
0025:    S3 = rsg("S3").Value
0026:    S4 = rsg("S4").Value
0027:    S5 = rsg("S5").Value
0028:    STop10 = rsg("STop10").Value
0029:    B1 = rsg("B1").Value
0030:    B2 = rsg("B2").Value
0031:    B3 = rsg("B3").Value
0032:    B4 = rsg("B4").Value
0033:    B5 = rsg("B5").Value
0034: %>
0035: <html>
0036: 
0037: <head>
0038: <title>Joe Toledo's March Madness Contest - To Benefit Cancer Research</title>
0039: </head>
0040: 
0041: <body bgcolor="#ffffff">
0042: 
0043: <table cellspacing="0" border="1" cellpadding="5" width="850" bordercolor="#FED87B">
0044:   <tr bgcolor="#FFFAF0">
0045:     <td VALIGN="TOP" width="15%">&nbsp;</td>
0046:     <td VALIGN="TOP" width="70%"><p align="center"><font color="#008000" face="Arial"><strong><span
0047:     style="font-size: 15pt; font-style:italic">March Madness Contest Rules</span></strong></font></td>
0048:     <td VALIGN="TOP" width="15%">&nbsp;</td>
0049:   </tr>
0050:   <tr bgcolor="#FFFAF0">
0051:     <td VALIGN="TOP" colspan="3"><p align="left"><font face="Arial" size="2">- The objective
0052:     of this contest is to accumulate the most points based on your selection of who is going
0053:     to win each and every game in the NCAA men's basketball tournament all the way to the
0054:     final game.</font><font size="2"> </font></p>
0055:     <p><font face="Arial" size="2">- Each round is worth 32 points, therefore, each correct
0056:     pick in the first round is worth 1 point, 2 points for each correct pick in the second, 4
0057:     for the third, etc...&nbsp;&nbsp; The winners will be the ones who accumulate the most
0058:     points.</font></p>
0059:     <p><font face="Arial" size="2">- Tie-breakers will be based on the most correct picks in
0060:     the 1st round, then 2nd, etc...&nbsp; If entries are still tied after all tie-breakers are
0061:     applied, then prize is split evenly with the appropriate entries.</font></p>
0062:     <p><font face="Arial" size="2"><strong style="font-weight: 400">- Entry fee is a </strong><strong>$20
0063:     donation</strong><strong style="font-weight: 400"> per entry, with </strong><strong>$10 </strong>from
0064:     each entry being donated to the <b>City of Hope Cancer Research Institute</b>&nbsp; The other <strong
0065:     style="font-weight: 400">$10 (minus PayPal fees) goes to the contest prize fund.</strong></font></p>
0066:     <p align="left"><font face="Arial" size="2">- Picks can be entered/changed shortly after
0067:     the NCAA tournament field is announced on &quot;Selection Sunday&quot;<strong> <%= selsunday %> </strong>until
0068:     <strong> <%= tourneystart %>.</strong></font></p>
0069:  <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.
0070:     </font></p>
0071:     <p align="left"><font face="Arial" size="2">- Prizes for the main contest and the
0072:     Sweet 16 will be distributed to the <strong>top 10%</strong> of the participants in the
0073:     following manner:</font></p>
0074:     <table border="0" cellpadding="0" width="46%">
0075:       <tr>
0076:         <td width="100%" colspan="3"><p align="left"><strong><font face="Arial">Main Contest
0077:         Prizes</font></strong></td>
0078:       </tr>
0079:       <tr>
0080:         <td width="36%"><strong><small><font face="Arial">1st Place:</font></small></strong></td>
0081:         <td width="40%"><strong><small><font face="Arial">$500</font></small></strong></td>
0082:         <td width="24%"><strong><small><font face="Arial"></font></small></strong></td>
0083:       </tr>
0084:       <tr>
0085:         <td width="36%"><strong><small><font face="Arial">2nd Place:</font></small></strong></td>
0086:         <td width="40%"><strong><small><font face="Arial">$350</font></small></strong></td>
0087:         <td width="24%"><strong><small><font face="Arial"></font></small></strong></td>
0088:       </tr>
0089:       <tr>
0090:         <td width="36%"><strong><small><font face="Arial">3rd Place:</font></small></strong></td>
0091:         <td width="40%"><strong><small><font face="Arial">$250</font></small></strong></td>
0092:         <td width="24%"><strong><small><font face="Arial"></font></small></strong></td>
0093:       </tr>
0094:       <tr>
0095:         <td width="36%"><strong><small><font face="Arial">4th Place:</font></small></strong></td>
0096:         <td width="40%"><strong><small><font face="Arial">$150</font></small></strong></td>
0097:         <td width="24%"><strong><small><font face="Arial"></font></small></strong></td>
0098:       </tr>
0099:       <tr>
0100:         <td width="36%"><strong><small><font face="Arial">5th Place:</font></small></strong></td>
0101:         <td width="40%"><strong><small><font face="Arial">$100</font></small></strong></td>
0102:         <td width="24%"><strong><small><font face="Arial"></font></small></strong></td>
0103:       </tr>
0104:       <tr>
0105:         <td width="36%"><strong><small><font face="Arial">6th-40th place:</font></small></strong></td>
0106:         <td width="40%"><strong><small><font face="Arial">$30</font></small></strong></td>
0107:         <td width="24%"><strong><small><font face="Arial"></font></small></strong></td>
0108:       </tr>
0109:     </table>
0110:     <p align="left">&nbsp;</p>
0111:     <table border="0" cellpadding="0" width="46%">
0112:       <tr>
0113:         <td width="100%" colspan="3"><strong><font face="Arial">Sweet 16 Contest Prizes</font></strong></td>
0114:       </tr>
0115:       <tr>
0116:         <td width="33%"><strong><small><font face="Arial">1st Place:</font></small></strong></td>
0117:         <td width="42%"><strong><small><font face="Arial">$250</font></small></strong></td>
0118:         <td width="25%"><strong><small><font face="Arial"></font></small></strong></td>
0119:       </tr>
0120:       <tr>
0121:         <td width="33%"><strong><small><font face="Arial">2nd Place:</font></small></strong></td>
0122:         <td width="42%"><strong><small><font face="Arial">$150</font></small></strong></td>
0123:         <td width="25%"><strong><small><font face="Arial"></font></small></strong></td>
0124:       </tr>
0125:       <tr>
0126:         <td width="33%"><strong><small><font face="Arial">3rd Place:</font></small></strong></td>
0127:         <td width="42%"><strong><small><font face="Arial">$100</font></small></strong></td>
0128:         <td width="25%"><strong><small><font face="Arial"></font></small></strong></td>
0129:       </tr>
0130:       <tr>
0131:         <td width="33%"><strong><small><font face="Arial">4th Place:</font></small></strong></td>
0132:         <td width="42%"><strong><small><font face="Arial">$75</font></small></strong></td>
0133:         <td width="25%"><strong><small><font face="Arial"></font></small></strong></td>
0134:       </tr>
0135:       <tr>
0136:         <td width="33%"><strong><small><font face="Arial">5th Place:</font></small></strong></td>
0137:         <td width="42%"><strong><small><font face="Arial">$50</font></small></strong></td>
0138:         <td width="25%"><strong><small><font face="Arial"></font></small></strong></td>
0139:       </tr>
0140:       <tr>
0141:         <td width="33%"><strong><small><font face="Arial">6th-20th place:</font></small></strong></td>
0142:         <td width="42%"><strong><small><font face="Arial">$20</font></small></strong></td>
0143:         <td width="25%"><strong><small><font face="Arial"></font></small></strong></td>
0144:       </tr>
0145:     </table>
0146:     <p align="left">&nbsp;</p>
0147:     <table border="0" cellpadding="0" width="27%" height="122">
0148:       <tr>
0149:         <td width="100%" colspan="2" height="21"><font face="Arial"><strong>Biggest Losers Prizes</strong></font></td>
0150:       </tr>
0151:       <tr>
0152:         <td width="40%" height="18"><font face="Arial"><strong><small>1st Place:</small></strong></font></td>
0153:         <td width="60%" height="18"><font face="Arial"><strong><small>$150</small></strong></font></td>
0154:       </tr>
0155:       <tr>
0156:         <td width="40%" height="18"><font face="Arial"><strong><small>2nd Place:</small></strong></font></td>
0157:         <td width="60%" height="18"><font face="Arial"><strong><small>$125</small></strong></font></td>
0158:       </tr>
0159:       <tr>
0160:         <td width="40%" height="18"><font face="Arial"><strong><small>3rd Place:</small></strong></font></td>
0161:         <td width="60%" height="18"><font face="Arial"><strong><small>$100</small></strong></font></td>
0162:       </tr>
0163:       <tr>
0164:         <td width="40%" height="17"><font face="Arial"><strong><small>4th Place:</small></strong></font></td>
0165:         <td width="60%" height="17"><font face="Arial"><strong><small>$75</small></strong></font></td>
0166:       </tr>
0167:       <tr>
0168:         <td width="40%" height="18"><font face="Arial"><strong><small>5th Place:</small></strong></font></td>
0169:         <td width="60%" height="18"><font face="Arial"><strong><small>$50</small></strong></font></td>
0170:       </tr>
0171:     </table>
0172:     <p align="left"><font face="Arial" size="2">- Prize above are based on <b>400 entries or
0173:     more</b>.&nbsp; If contest has less than 400 entries, prizes will be pro-rated
0174:     accordingly.</font></p>
0175:     <p align="left"><font face="Arial" size="2">- You may submit <b>multiple entries</b> and
0176:     in doing so you will automatically be entered in a <b>&quot;Sweet 16 Contest&quot;</b>
0177:     with the opportunity to win additional prize money.<b> </b>&nbsp;<a
0178:     href="sweet16details.asp">Click here for more details.</a></font></p>
0179:     <p align="left"><font face="Arial" size="2">- Participants will have <strong>only one
0180:     entry</strong> into the Biggest Losers contest, regardless of how many entries they have
0181:     into the main contest or the Sweet 16 Contest.<br>
0182:     <br>
0183:     - The winners for the <strong>biggest losers contest</strong> will be those who pick the
0184:     16 teams that combined play the <strong>fewest number of games</strong> in the NCAA
0185:     tournament.&nbsp; In case of a tie, the total points scored by the teams will be used as a
0186:     tie-breaker.</font></p>
0187:     <p align="left"><font face="Arial" size="2">- Participants who finish in the <strong>top 5
0188:     </strong>of a given contest <strong>will not be eligible to win the top 5 prize of another
0189:     contest</strong>. &nbsp; If this happens, participant will be awarded the higher valued
0190:     prize.</font></p>
0191:     <p align="left"><font face="Arial" size="2">- Prizes will
0192:     be paid out with<strong> Visa gift cards</strong>.</font></td>
0193:   </tr>
0194: </table>
0195: </body>
0196: </html>