-
Notifications
You must be signed in to change notification settings - Fork 0
/
otherUserHome.jsp
165 lines (116 loc) · 3.36 KB
/
otherUserHome.jsp
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
<%String pag=null;
String log = (String)session.getAttribute("log");
String type = (String)session.getAttribute("type");
RequestDispatcher r;
if(log == null ){
pag="err.jsp?msg=You are not Autherized to Access this page";
}
else if(type == null || type.equals("true") ){
pag="err.jsp?msg=You are not Autherized to Access this page";
}
%>
<%
if(pag!=null)
{
r = request.getRequestDispatcher(pag);
r.forward(request,response);
}
%>
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Redressed&display=swap" rel="stylesheet">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Other User Home</title>
<link rel="stylesheet" href="index.css">
<style>
#heading {
display: flex;
justify-content: center;
padding-top: 20px;
}
.main {
/* border: 2px solid black; */
display: flex;
flex-direction: column;
/* flex-wrap: nowrap; */
align-items: center;
margin-top: 70px;
}
.main div {
/* border: 1px solid red; */
display: flex;
flex-wrap: wrap;
align-items: center;
}
.main input,
select {
/* border: 1px solid black; */
width: 150px;
}
.main label {
width: 150px;
}
#btn1 input{
width: 300px;
height: 50px;
font-size: 1.4rem;
font-weight: bold;
margin: auto;
margin-top: 20px;
border-radius: 10px;
background-color: rgb(0, 0, 0);
color: rgb(255, 255, 255);
border: 1px solid rgb(0, 0, 0);
}
#btn1 input:hover{
cursor: pointer;
background-color: rgb(5, 72, 126);
border: 1px solid rgb(5, 72, 126);
}
</style>
</head>
<body>
<div id="back">
<form action="login.jsp" method="post">
<input type="submit" value="<">
</form>
</div>
<div class="navigation">
<div>
<li>
<h1 id="h">SOMA National Bank </h1>
</li>
</div>
<div>
<li><img src="logo.png" alt="logo"></li>
</div>
</div>
<div id="heading">
<h1> User Home </h1>
</div>
<div id="welcome">
</div>
<div class="main">
<!-- <div id="btn1">
<form action="dbVoucher.jsp" method="post">
<input type="submit" value="Birthday Gift Voucher " name="birthdayGift">
</form>
</div> -->
<div id="btn1">
<form action="statement1.jsp" method="post">
<input type="submit" value="Statement" name="statement">
</form>
</div>
<div class="box" id="btn">
<form action="logout.jsp" method="post">
<input type="submit" value="Log out" name="log out">
</form>
</div>
</div>
</body>
</html>