-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (78 loc) · 3.05 KB
/
index.html
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
<html>
<head>
<title>Welcome</title>
<link rel="stylesheet" href="i.css">
<script language="JavaScript">
function validate() {
if (!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.emp.email.value)) {
alert("Invalid Email it should be like [email protected]")
document.emp.email.focus()
return false;
}
if (document.emp.password.value == "") {
alert("Password field is empty");
document.emp.password.focus();
return false;
}
}
</script>
</head>
<body>
<header class="header">
<div class="left">
<!-- left box for logo -->
<img src="logo4.png" >
<div class="logo">Tours Planet</div>
</div>
<div class="mid">
<!-- mid box for navbar -->
<ul class="navbar">
<li><a href="http://localhost:8080/project/">Home</a></li>
<li><a href="http://localhost:8080/project/login.html">LogIn</a></li>
<li><a href="http://localhost:8080/project/signup.html">SignUp</a></li>
<li><a href="http://localhost:8080/project/trips.html">Trips</a></li>
<li><a href="http://localhost:8080/project/services.html">Services</a></li>
<li><a href="http://localhost:8080/project/logout.jsp">LogOut</a></li>
</ul>
</div>
<div class="right">
<!-- right box for buttons -->
<button class="btn"><a href="tel:+9230244410" class="a" >Call Us</a> </button>
<button class="btn">Email Us</button>
</div>
</header>
<div id="c2">
<h1>WELCOME TO TOURS PLANET</h1>
</div>
<div id="container">
<form name="emp" action="admincheck" onsubmit="return validate()" method="post">
<div id="st">
<table>
<tr>
<h3>LogIn</h3>
</tr>
<tr>
<td align="center">Email </td>
<div id="i">
<td><input type="email" name="email" id="email" class="pa"></td>
</div>
</tr>
<tr>
<td align="center">Password</td>
<div id="i2">
<td><input type="password" name="password" id="pwd" class="pa"></td>
</div>
</tr>
<tr>
<td align="right"></td>
<td><input type="submit" value="Login" id="con" class="s" name="sub"></td>
</tr>
</table>
</div>
<div id="footer">
<p><a href="http://localhost:8080/project/signup.html">Sign up </a>for a new account</p>
</div>
</form>
</div>
</body>
</html>