home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
202.53.64.216
/
202.53.64.216.tar
/
202.53.64.216
/
janahitha
/
AdsForgotPwd.asp
< prev
next >
Wrap
Text File
|
2004-11-26
|
3KB
|
71 lines
<!-- #include file="AdsOpenConn.asp" -->
<%
if Request.Form.Count=0 then
%>
<html>
<head>
<title> Janahitha Ads - Welcome </title>
<meta name="author" content="Jaladi Venumadhav">
</head>
<body bottommargin=0 topmargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0 bgcolor=#ffffff>
<!-- #include file="AdsTop.asp" -->
<center>
<table width=100% cellpadding=0 cellspacing=0 border=0 height=100%>
<tr>
<td width=150 align=center valign=top bgcolor="#FFFFFF">
<!-- #include file="AdsLeft.asp" -->
</td>
<td width=630 align=center valign=top bgcolor="#ffffff">
<br> <br>
<font face=verdana color="#846648"> <b> Forgot Password ?? </b> </font> <br> <br>
<form name="forgotpwdform" method=post action="<%=Request.ServerVariables("script_name")%>">
<font face=verdana size=2> Your Login Id </font> <input type=text name="loginid" size=15> <br> <br>
<input type=button value="Give Password" onclick="javascript: if(document.forgotpwdform.loginid.value!='') document.forgotpwdform.submit();">
</form>
</td>
</tr>
</table>
</center>
<!-- #include file="AdsBottom.asp" -->
</body>
</html>
<%
else
sql = "select ClientPassword, ClientEmail from ClientMaster where ClientLoginId='" + replace(trim(Request.Form("loginid")), "'", "''") + "'"
set rs = server.CreateObject("adodb.recordset")
rs.Open sql, con, 3, 3
if rs.EOF then
msg = "<font face=verdana size=2 color=red> <b> Invalid Login Id <br> <br> Go <a href='javascript:history.back();'><font color=red>Back</font></a> </b> </font>"
else
msg = "<font face=verdana size=2 color=#A01640> <b> Your Password Is Sent To Your Mail Id i.e., <br> <br> " + rs("ClientEmail") + " </b> </font>"
end if
rs.Close
set rs = nothing
%>
<html>
<head>
<title> Janahitha Ads - Welcome </title>
<meta name="author" content="Jaladi Venumadhav">
</head>
<body bottommargin=0 topmargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0 bgcolor=#ffffff>
<!-- #include file="AdsTop.asp" -->
<center>
<table width=100% cellpadding=0 cellspacing=0 border=0 height=100%>
<tr>
<td width=150 align=center valign=top bgcolor="#FFFFFF">
<!-- #include file="AdsLeft.asp" -->
</td>
<td width=630 align=center valign=top bgcolor="#ffffff">
<br> <br>
<%=msg%>
</td>
</tr>
</table>
</center>
<!-- #include file="AdsBottom.asp" -->
</body>
</html>
<%
end if
%>
<!-- #include file="AdsCloseConn.asp" -->