Count Lines in Pages

Contents of Page: bracketscorepostNew.asp Number of Lines: 90 Last Modified: 3/22/2026 4:13:50 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 = "0" Then score1 = ""
0012: 	ogscore1 = score1
0013: 	If score2 = "0" Then score2 = ""	
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="bracketscoreupdatenew.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="5" width="300">
0071: <tr>
0072: <td width="50%"></td>
0073: <td width="50%"></td>
0074: </tr>
0075: 
0076:       <td class="norm" align="right"><b>(<%= Seed1 %>)&nbsp;&nbsp;<big><BIG><%= Teamname1 %>&nbsp;<td class="bigblue" bgcolor="#f8f8f8"><input required type="NUMBER" name="score1" value="<%= score1 %>"  style="height: 30; width:70;" size="3" class="bigblue" align="right"></td>
0077: 	  </tr>
0078: 	  	  <tr>
0079:       <td class="norm" align="right"><b>(<%= Seed2 %>)&nbsp;&nbsp;<big><BIG><%= teamname2 %>&nbsp;<td class="bigblue" bgcolor="#f8f8f8"><input required type="NUMBER" name="score2" value="<%= score2 %>"  style="height: 30; width:70;" size="3" class="bigblue" align="right"></td>
0080: 	  </tr>
0081:         </tr>
0082:   
0083:     <tr>
0084:      <td></td> <td class="norm" align="left" colspan="4"><br><input type="submit" value="Post Score" class="button-40"><br><br><input
0085:       type="button" value="Cancel" class="button_close" onClick="history.back(-1)"></td>
0086:     </tr>
0087:   </table>
0088: </form>
0089: </body>
0090: </html>