-
Notifications
You must be signed in to change notification settings - Fork 0
/
signIn.asp
313 lines (302 loc) · 13.2 KB
/
signIn.asp
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
<!DOCTYPE html>
<html lang="zxx">
<head><style>
label {
float: left;
top:100px;
}
span {
display: block;
overflow: hidden;
} </style>
<meta charset="UTF-8">
<meta name="description" content="Cake Template">
<meta name="keywords" content="Cake, unica, creative, html">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Sign In</title>
<!-- Google Font -->
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap"
rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap"
rel="stylesheet">
<!-- Css Styles -->
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="css/flaticon.css" type="text/css">
<link rel="stylesheet" href="css/barfiller.css" type="text/css">
<link rel="stylesheet" href="css/magnific-popup.css" type="text/css">
<link rel="stylesheet" href="css/font-awesome.min.css" type="text/css">
<link rel="stylesheet" href="css/elegant-icons.css" type="text/css">
<link rel="stylesheet" href="css/nice-select.css" type="text/css">
<link rel="stylesheet" href="css/owl.carousel.min.css" type="text/css">
<link rel="stylesheet" href="css/slicknav.min.css" type="text/css">
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
<!-- Page Preloder -->
<div id="preloder">
<div class="loader"></div>
</div>
<!-- Offcanvas Menu Begin -->
<div class="offcanvas-menu-overlay"></div>
<div class="offcanvas-menu-wrapper">
<div class="offcanvas__cart">
<div class="offcanvas__cart__links">
<a href="#" class="search-switch"><img src="img/icon/search.png" alt=""></a>
<a href="#"><img src="img/icon/heart.png" alt=""></a>
</div>
<div class="offcanvas__cart__item">
<a href="#"><img src="img/icon/cart.png" alt=""> <span>0</span></a>
<div class="cart__price">Cart: <span>$0.00</span></div>
</div>
</div>
<div class="offcanvas__logo">
<a href="./index.html"><img src="img/logo.png" alt=""></a>
</div>
<div id="mobile-menu-wrap"></div>
<div class="offcanvas__option">
<ul>
<li>USD <span class="arrow_carrot-down"></span>
<ul>
<li>EUR</li>
<li>USD</li>
</ul>
</li>
<li>ENG <span class="arrow_carrot-down"></span>
<ul>
<li>Spanish</li>
<li>ENG</li>
</ul>
</li>
<li><a href="#">Sign in</a> <span class="arrow_carrot-down"></span></li>
</ul>
</div>
</div>
<!-- Offcanvas Menu End -->
<!-- Header Section Begin -->
<header class="header">
<div class="header__top">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="header__top__inner">
<div class="header__top__left">
<ul>
<li>USD <span class="arrow_carrot-down"></span>
<ul>
<li>EUR</li>
<li>USD</li>
</ul>
</li>
<li>ENG <span class="arrow_carrot-down"></span>
<ul>
<li>Spanish</li>
<li>ENG</li>
</ul>
</li>
<li><a href="#">Sign in</a> <span class="arrow_carrot-down"></span></li>
</ul>
</div>
<div class="header__logo">
<a href="./index.html"><img src="img/logo.png" alt=""></a>
</div>
<div class="header__top__right">
<div class="header__top__right__links">
<a href="#" class="search-switch"><img src="img/icon/search.png" alt=""></a>
<a href="#"><img src="img/icon/heart.png" alt=""></a>
</div>
<div class="header__top__right__cart">
<a href="#"><img src="img/icon/cart.png" alt=""> <span>0</span></a>
<div class="cart__price">Cart: <span>$0.00</span></div>
</div>
</div>
</div>
</div>
</div>
<div class="canvas__open"><i class="fa fa-bars"></i></div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-12">
<nav class="header__menu mobile-menu">
<ul>
<li><a href="./index.html">Home</a></li>
<li><a href="./about.html">About</a></li>
<li><a href="./shop.html">Shop</a></li>
<li><a href="#">Pages</a>
<ul class="dropdown">
<li><a href="./shop-details.html">Shop Details</a></li>
<li><a href="./shoping-cart.html">Shoping Cart</a></li>
<li><a href="./checkout.html">Check Out</a></li>
<li><a href="./wisslist.html">Wisslist</a></li>
<li><a href="./Class.html">Class</a></li>
<li><a href="./blog-details.html">Blog Details</a></li>
</ul>
</li>
<li><a href="./blog.html">Blog</a></li>
<li><a href="./contact.html">Contact</a></li>
</ul>
</nav>
</div>
</div>
</div>
</header>
<!-- Header Section End -->
<!-- Contact Section Begin --><br><br><br>
<div class="col-lg-8">
<div class="contact__form">
<form action="Login/SignIn.asp" onsubmit ="return CheckDetails()" method="post" >
<div class="row">
<div class="col-lg-6">
<label>Username:</label>
<input type="text" placeholder="Enter your Username" id="username" name="name">
</div>
<div class="col-lg-6">
<label>Email:</label>
<input type="text" placeholder="Enter your Email" id="email" name="email">
</div>
<div class="col-lg-6">
<label>Password:</label>
<input type="Password" placeholder="Enter your Password" id="pass" name="pass">
</div>
<div class="col-lg-6">
<label>Confirm your Password:</label>
<input type="Password" placeholder="Confirm your Password" id="confirm" name="confirm">
</div>
<div class="col-lg-12">
<button type="submit" class="site-btn">Login In</button><br><br><br>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Section End -->
<!-- Footer Section Begin -->
<footer class="footer set-bg" data-setbg="img/footer-bg.jpg">
<div class="container">
<div class="row">
<div class="col-lg-4">
<div class="footer__widget">
<h6>WORKING HOURS</h6>
<ul>
<li>Monday - Friday: 08:00 am – 08:30 pm</li>
<li>Saturday: 10:00 am – 16:30 pm</li>
<li>Sunday: 10:00 am – 16:30 pm</li>
</ul>
</div>
</div>
<div class="col-lg-4">
<div class="footer__about">
<div class="footer__logo">
<a href="#"><img src="img/footer-logo.png" alt=""></a>
</div>
<p>Lorem ipsum dolor amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore dolore magna aliqua.</p>
<div class="footer__social">
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-instagram"></i></a>
<a href="#"><i class="fa fa-youtube-play"></i></a>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="footer__newslatter">
<h6>Subscribe</h6>
<p>Get latest updates and offers.</p>
<form action="#">
<input type="text" placeholder="Email">
<button type="submit"><i class="fa fa-send-o"></i></button>
</form>
</div>
</div>
</div>
</div>
<div class="copyright">
<div class="container">
<div class="row">
<div class="col-lg-7">
<p class="copyright__text text-white"><!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made with <i class="fa fa-heart" aria-hidden="true"></i> by <a href="https://colorlib.com" target="_blank">Colorlib</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</p>
</div>
<div class="col-lg-5">
<div class="copyright__widget">
<ul>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Terms & Conditions</a></li>
<li><a href="#">Site Map</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</footer>
<!-- Footer Section End -->
<!-- Search Begin -->
<div class="search-model">
<div class="h-100 d-flex align-items-center justify-content-center">
<div class="search-close-switch">+</div>
<form class="search-model-form">
<input type="text" id="search-input" placeholder="Search here.....">
</form>
</div>
</div>
<!-- Search End -->
<!-- Js Plugins -->
<script>
function CheckDetails(){
var user = document.getElementById("username").value;
var pass = document.getElementById("pass").value;
var email = document.getElementById("email").value;
var confirm = document.getElementById("confirm").value
if(user == ""){
alert("Username cannot be empty");
return false;
}
else if(pass == "" )
{alert("Password cannot be empty");
return false;}
else if(email == ""){
alert("Email cannot be empty");
return false;
}
else if(pass != confirm)
{
alert("Passwords dont match");
return false;
}
else if(email != "")
{
if (/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(email))
{
return (true)
}
alert("You have entered an invalid email address!")
return (false)
}
<% valid = Session.Contents("Valid")
%>
if(valid == "not"){
alert("User");
}<%
%>
}
</script>
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.nice-select.min.js"></script>
<script src="js/jquery.barfiller.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/jquery.slicknav.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.nicescroll.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>