Count Lines in Pages

Contents of Page: postsurvey.asp Number of Lines: 104 Last Modified: 8/22/2018 1:33:08 PM
0001: <% @Language = "VBScript" %>
0002: 
0003: <!-- #include FILE="include/adovbs.inc" -->
0004: <!-- #include FILE="include/constants.inc" -->
0005: 
0006: <%
0007:    ReturnTo = Request.QueryString("From")
0008: 	user = Request.Cookies("user")
0009: 	If user = "" Then Response.Redirect("login.asp?from=postSurvey.asp")
0010: 
0011: %>
0012: 
0013: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
0014: 
0015: <html>
0016: <head>
0017: 	<title>March Madness - Cast Your Vote</title>
0018: 	<link href="mm.css" rel="stylesheet" type="text/css">
0019: 		<script language="JavaScript">
0020: 		
0021: 		re = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;
0022: 
0023: 		function checkEntry()
0024: 		{
0025: 			form = document.postMsg
0026: 			choice = form.Vote.selectedIndex
0027: 			if (choice == "0")
0028: 			{
0029: 				alert("Please Cast Your Vote.");
0030: 				form.Message.select();					
0031: 				return false;
0032: 			}
0033: 
0034: 			return true;
0035: 		}
0036: 	</script>
0037: </head>
0038: 
0039: <body bgcolor="#ffffff" onload="document.postMsg.Message.focus()">
0040: 
0041: <form name="postMsg" method="post" onsubmit="return checkEntry()" action="processsurvey.asp?From=<%= ReturnTo %>">
0042: 	<table border="0" cellpadding="0" cellspacing="0" align="center" width="724" height="406">
0043: 			<tr><td colspan="4" height="236" bgcolor="#FAD2B8" width="687">
0044:                 <p align="center"><font size="3" face="Antigoni Med" color="#0066CC">2nd
0045:               Chance Pool (Sweet 16 Contest) Survey</font>
0046:                 <p align="left"><font face="Arial Narrow">Hi
0047:                 there.&nbsp;&nbsp;&nbsp;<br>
0048:                 Some participants have suggested that I bring back the &quot;2nd
0049:                 Chance Pool&quot; for the Sweet 16 portion of the NCAA
0050:                 Tournament.&nbsp;&nbsp;</font></p>
0051:                 <p><font face="Arial Narrow" size="2"><b>What is the 2nd Chance Pool?</b>&nbsp;
0052:                 Let me tell you how it came about:<br>
0053:                 A few years ago, I decided (along with a few buddies) that my
0054:                 picks sucked!&nbsp;&nbsp; So I told a few friends about the idea
0055:                 of having a &quot;side pot&quot; by picking the tournament
0056:                 winner out of the 16 teams that were left.&nbsp; Before I knew
0057:                 it, we had almost 50 people in it.&nbsp;</font></p>
0058:                 <p><font face="Arial Narrow" size="3">So, before I spend any time setting
0059:                 it up for next year, I'm asking you to cast your vote and see if
0060:                 you would be interested in participating in a Sweet 16 Pool, so
0061:                 that&nbsp; I can determine if it would be a worthwhile effort.</font></p>
0062:                 <p><font face="Arial Narrow" size="3">And <b>Yes</b>, it would work the same way as
0063:                 the current March Madness Contest for Charity:<b> $20</b> to
0064:                 participate, with <b> $10 going to charity.</b></font></td></tr>
0065: 			<tr valign="top">
0066: 				<td class="normbold" width="168" height="25">
0067:                   <p align="right">Would you
0068:                   participate?&nbsp;&nbsp;&nbsp;&nbsp;</p>
0069:                 </td>
0070: 				<td class="norm" width="184" height="25">
0071:                     <select name="Vote">
0072:                       <option selected="selected">Cast Your Vote</option>
0073:                       <option>Count Me In!</option>
0074:                       <option>Probably Not</option>
0075:                     </select>
0076: 				</td>
0077: 				<td class="norm" width="124" height="25">
0078: 				</td>
0079: 				<td class="norm" width="244" height="25">
0080: 				</td>
0081: 			</tr>
0082: 			<tr valign="top">
0083: 				<td class="normbold" width="168" height="27">
0084:                   <p align="right">Optional Comments:&nbsp; &nbsp;</p>
0085:                 </td>
0086: 				<td class="norm" width="552" height="27" colspan="3">
0087: 					<textarea cols="77" name="Message" class="norm" rows="2"></textarea>
0088: 				</td>
0089: 			</tr>
0090: 			<input type="Hidden" name="From" value="<%= user %>">
0091: 			<input type="Hidden" name="EmailAddress" value="<%= user %>">
0092: 			<input type="Hidden" name="MessageDate" value="<%= todayDate %>">
0093: 			<tr valign="top">
0094: 				<td class="normbold" width="168" height="38">
0095:                 </td>
0096: 				<td class="norm" width="552" height="38" colspan="3">
0097:                     <input type="Submit" value="Post it" style="background-color:#FAD2B8;" class="smallA"><input type="Reset" value="Reset" style="background-color:#FAD2B8;" class="smallA">
0098: 				</td>
0099: 			</tr>
0100: 	</table>
0101: </form>
0102: 
0103: </body>
0104: </html>