-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforgetpass.aspx
159 lines (110 loc) · 4.88 KB
/
forgetpass.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="forgetpass.aspx.vb" Inherits="forgetpass" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<title>Forget Password</title>
<script language="javascript" type="text/javascript">
// <![CDATA[
// ]]>
</script>
<style>
#p
{
text-align:justify;
}
#P
{
text-align:center;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" Runat="Server">
<form id="form1" runat="server">
<style>
.sub_div
{
width:150px; height:100px; margin-left:-7%; position:absolute;
display:none;
}
.sub_div ul li
{
list-style-type:none
}
.car_di:hover .sub_div
{
display:block
}
</style>
<!-- Header -->
<header id="header" class="skel-layers-fixed">
<h1><a href="start.aspx">CAR RENTALS </a></h1>
<nav id="nav">
<ul>
<li><a href="aboutus.aspx">ABOUT US</a></li>
<%
If (Session("u_id") <> "") Then
%>
<li><a href="uaccount.aspx">ACCOUNT</a></li>
<%
End If
%>
<li class="car_di"><a href="car.aspx">CARS</a>
<div class ="sub_div">
<ul class="">
<li style="background-color:white; width:100px;"><a href="ceconomy.aspx">Economy</a></li>
<li style="background-color:white; width:100px;"><a href="cstandard.aspx">Standard</a></li>
<li style="background-color:white; width:100px;"><a href="cluxury.aspx">Luxury</a></li>
</ul>
</div>
</li>
<li><a href="ContactUs.aspx">CONTACT US</a></li>
<%
If (Session("u_id") <> "") Then
%>
<li><a href="Logout.aspx" class="button special">Log Out</a></li>
<%
Else
%>
<li><a href="Login.aspx" class="button special">Log In</a></li>
<%
End If
%>
</ul>
</nav>
</header>
<!-- Three -->
<section>
<div class="container">
<header class="major">
<br />
<br />
<h2><strong> FORGET PASSWORD</strong></h2>
<hr />
</header>
<div class="4u">
Email Address :<asp:TextBox ID="txtemail" runat="server" placeholder="Email" TextMode="Email"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="txtemail" ErrorMessage="Please Enter Your Email" ForeColor="Red"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
ControlToValidate="txtemail" ErrorMessage="Invalid Email Address" ForeColor="Red"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
<br />
<asp:Label ID="lblMessage" runat="server" />
<br />
<center>
<asp:Button ID="Btnsubmit" runat="server" Text="Submit" Height="41px"></asp:Button>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:carrentalsConnection %>" SelectCommand="SELECT [firstname], [pass_word] FROM [regis]"></asp:SqlDataSource>
</center>
</div>
</div>
</section>
<footer id="footer">
<center>
<div class="6u">
<ul class="copyright">
<li><strong>© Car Rentals. All rights reserved.</strong></li>
<li><strong>Design By: Shubham Ravani. </strong></li>
<%--<li>Images: <a href="http://unsplash.com">Google/Suport</a></li>--%>
</ul>
</center>
</footer>
</form>
</asp:Content>