Count Lines in Pages

Contents of Page: sendPassword2.asp Number of Lines: 61 Last Modified: 2/22/2026 9:12:16 AM
0001: <% @Language = "VBScript" %>
0002: <!-- #include FILE="include/adovbs.inc" -->
0003: <!-- #include FILE="include/constants.inc" -->
0004: <!-- #include FILE="include/funcs.asp" -->
0005: <%
0006: 	user = Request.form("emailaddress")
0007: 	
0008: 
0009: 	
0010: 	Set rs = Server.CreateObject("ADODB.Recordset")
0011: 	sqlString = "SELECT * FROM mmEntries WHERE EmailAddress = '" & user & "' AND Season = " & season
0012: 	rs.Open sqlString, conn, adOpenStatic, adLockReadOnly, adCmdText
0013: 	
0014: '	Response.Write(sqlstring & "<br>")
0015: 	
0016: 	If rs.EOF Then
0017: 		rs.Close
0018: '		Response.Write("This email id is not registered.")
0019: '		Response.Redirect("getpassword.asp")
0020:         BadEmail = "Y"
0021:    Else
0022:         BadEMail = "N"
0023:    End If
0024:    
0025:    If BadEmail = "N" Then
0026: 
0027: 
0028: 
0029: mailsubject = "Your March Madness Contest password."
0030: mailbody = "Password: " & rs("Password").Value
0031: 
0032: sendEmail user, "", "", mailsubject, mailbody, "HTML", ""
0033: 
0034: End If
0035: %>
0036: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
0037: <html>
0038: 
0039: <head>
0040: <meta name="viewport" content="width=device-width, initial-scale=2">
0041: <title>March Madness - Send Password</title>
0042: <link href="mm.css" rel="stylesheet" type="text/css">
0043: 		<link href="https://mychinodes.org/desb.css" rel="stylesheet" type="text/css">
0044: </head>
0045: 
0046: <body bgcolor="#ffffff">
0047: <table cellspacing="0" border="1" cellpadding="5" width="350" bordercolor="#FED87B">
0048:   <tr>
0049:     <td class="norm"><big><% If BadEmail = "N" Then %>
0050: <p><br><br><big>Password sent to <b><%= user %></b>.
0051: <br><br><small>(If you don't see the email, check your Spam folder.) 
0052: <br><br></small>Click <a href="login_m.asp">here</a> to try again.
0053: <% Else %> This email address
0054:     is not registered</p>
0055:     <p><big>Click <a href="getPassword_m.asp" >here</a> to try again. <% End If %> </td>
0056:   </tr>
0057:  
0058: 
0059: </table>
0060: </body>
0061: </html>