Count Lines in Pages

Contents of Page: bracketscorepost.asp Number of Lines: 91 Last Modified: 2/4/2026 2:19:40 PM
0001: <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
0002: <!-- #include FILE="include/adovbs.inc" -->
0003: <!-- #include FILE="include/constants.inc" -->
0004: <%
0005: 
0006: 	team1 = Request.QueryString("team1")
0007: 	team2 = Request.QueryString("team2")
0008: 
0009: 	score1 = Request.QueryString("score1")
0010: 	score2 = Request.QueryString("score2")
0011: 	If score1 = "" Then score1 = 0
0012: 	ogscore1 = score1
0013: 	If score2 = "" Then score2 = 0	
0014: 	ogscore2 = score2
0015: 	KRound = Request.QueryString("Round")
0016: 	
0017: 
0018: 	
0019: 				Set rsr = Server.CreateObject("ADODB.Recordset")
0020: 
0021:     			sqlString = "SELECT * FROM mmresults WHERE Season = " & Season & " " & _
0022: 				             "AND ID = '" & Team1 & "' " 
0023: 				rsr.Open sqlString, conn, adOpenStatic, adLockReadOnly, adCmdText							 
0024: 				
0025: TeamName1 = rsr("Name").Value
0026: 
0027: 	
0028: 				Set rsr = Server.CreateObject("ADODB.Recordset")
0029: 
0030:     			sqlString = "SELECT * FROM mmresults WHERE Season = " & Season & " " & _
0031: 				             "AND ID = '" & Team2 & "' " 
0032: 				rsr.Open sqlString, conn, adOpenStatic, adLockReadOnly, adCmdText							 
0033: 				
0034: TeamName2 = rsr("Name").Value
0035: 				
0036: Seed1 = Right(team1,2)+0	
0037: Seed2 = Right(team2,2)+0
0038: 			
0039: Dim RoundNames(7)
0040: 
0041: RoundNames(1) = "First Round"
0042: RoundNames(2) = "Second Round"
0043: RoundNames(3) = "Sweet 16"
0044: RoundNames(4) = "Elite 8"
0045: RoundNames(5) = "Final 4"
0046: RoundNames(6) = "Championship Game"
0047: %> 
0048: <html>
0049: 
0050: <head>
0051: <meta name="viewport" content="width=device-width">
0052: <title>March Madness Contest - Post Scores</title>
0053: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
0054: <link href="mm.css" rel="stylesheet" type="text/css">
0055: <link href="https://mychinodes.org/desb.css" rel="stylesheet" type="text/css">	
0056: 
0057: </head>
0058: 
0059: <body bgcolor="#FFFFFF" onLoad="document.node.score1.select()">
0060: 
0061: <form method="post" action="bracketscoreupdate.asp?ID=<%= ID %>" name="node">
0062: 
0063:   <input type="hidden" name="team1" value="<%= team1 %>">
0064:   <input type="hidden" name="team2" value="<%= team2 %>"> 
0065:   <input type="hidden" name="teamName1" value="<%= teamName1 %>">
0066:   <input type="hidden" name="teamName2" value="<%= teamName2 %>">   
0067:   <input type="hidden" name="ogscore1" value="<%= ogscore1 %>">
0068:   <input type="hidden" name="ogscore2" value="<%= ogscore2 %>">   
0069:   <input type="hidden" name="Round" value="<%= KRound %>">    
0070:   <table border="0" cellpadding="1" cellspacing="1" width="350">
0071: <tr>
0072: <td width="40%"></td>
0073: <td width="60%"></td>
0074: <tr height="40" valign="centrer"><td></td>
0075: <td class="norm" colspan="4"><big><big><i><b><%= RoundNames(KRound) %></td>
0076: 	  <tr>
0077:       <td class="norm" align="right">(<%= Seed1 %>)&nbsp;&nbsp;<b><big><%= Teamname1 %>&nbsp;<td class="norm" bgcolor="#f8f8f8"><input type="text" name="score1" value="<%= score1 %>"  style="height: 22" size="3" class="norm" align="right"></td>
0078: 	  </tr>
0079: 	  	  <tr>
0080:       <td class="norm" align="right">(<%= Seed2 %>)&nbsp;&nbsp;<b><big><%= teamname2 %>&nbsp;<td class="norm" bgcolor="#f8f8f8"><input type="text" name="score2" value="<%= score2 %>"  style="height: 22" size="3" class="norm" align="right"></td>
0081: 	  </tr>
0082:         </tr>
0083:   
0084:     <tr>
0085:      <td></td> <td class="norm" align="left" colspan="4"><br><input type="submit" value="Post Score" class="button-40"><br><br><input
0086:       type="button" value="Cancel" class="button_close" onClick="history.back(-1)"></td>
0087:     </tr>
0088:   </table>
0089: </form>
0090: </body>
0091: </html>