-
Notifications
You must be signed in to change notification settings - Fork 0
/
suc.jsp
96 lines (73 loc) · 2.01 KB
/
suc.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
<%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("false") ){
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>Success Paid</title>
<link rel="stylesheet" href="index.css">
<style>
.msg{
font-size: 4em;
display: flex;
justify-content: space-evenly;
align-items: center;
flex-direction: column; font-size: 2em;
display: flex;
padding-top: 10%;
}
.msg div{
margin:auto;
padding: 50px 20px;
}
</style>
</head>
<body>
<div id="back">
<form action="paybills.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 class ="msg" id="btn">
<div id="head">
<h2> Sucessfully Paid! </h2>
</div>
<div id ="pass">
</div>
<div id = "btn">
<form action="paybills.jsp" method="post">
<input type="submit" value="Ok">
</form>
</div>
</div>
</body>
</html>