-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbank.php
More file actions
174 lines (165 loc) · 6.93 KB
/
Copy pathbank.php
File metadata and controls
174 lines (165 loc) · 6.93 KB
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
<?php
error_reporting(1);
session_start();
require_once('database.php');
require_once('library.php');
$error = "";
if(isset($_POST['txtusername'])){
$error = checkUser($_POST['txtusername'],$_POST['txtpassword'],$_POST['OfficeName']);
}//if
require_once('database.php');
$sql = "SELECT DISTINCT(off_name)
FROM tbl_offices";
$result = dbQuery($sql);
?>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>BANK LOGIN</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/mystyle.css" rel="stylesheet" type="text/css">
<script language="javascript">
<!--
function memloginvalidate()
{
if(document.form1.txtusername.value == "")
{
alert("Please enter admin UserName.");
document.form1.txtusername.focus();
return false;
}
if(document.form1.txtpassword.value == "")
{
alert("Please enter admin Password.");
document.form1.txtpassword.focus();
return false;
}
}
//-->
</script></head>
<body onLoad="document.form1.txtusername.focus();">
<table id="Outer" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0" align="center" width="780">
<tbody><tr>
<td><table id="inner" border="0" cellpadding="3" cellspacing="3" height="500" align="center" width="96%">
<tbody><tr>
<td>
<link href="css/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {color: #FFFFFF}
-->
</style>
<table border="0" cellpadding="0" cellspacing="0" width="780">
<tbody><tr>
<td colspan="15"><a href="index.php"><img src="home_files/trheader.jpg" height="109" width="780"></a></td>
</tr>
<tr>
<td><div align="center"> <font face="Arial"> <marquee>WELCOME TO OUR BANKING SYSTEM PAGE</marquee>
<span class="redtext"><strong></strong></span><br> </font>
<br>
</div>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="300">
<tbody><tr>
<td width="18"><img src="images/boxtopleftcorner.gif" alt="" height="13" width="18"></td>
<td background="images/boxtopBG.gif" width="734"></td>
<td width="18"><img src="images/boxtoprightcorner.gif" alt="" height="13" width="18"></td>
</tr>
<tr>
<td background="images/boxleftBG.gif"></td>
<td><table border="0" cellpadding="0" cellspacing="0" align="center" width="98%">
<tbody><tr>
<td colspan="2" height="4"></td>
</tr>
<tr>
<td height="18"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td colspan="3" class="smalltextgrey" width="378">
</td>
</tr>
</tbody></table></td>
</tr>
<tr>
<td><table class="GreenBox" border="0" cellpadding="0" cellspacing="0" align="center" width="300">
<tbody><tr>
<form name="form1" id="form1" method="post" onSubmit="return memloginvalidate()">
<td><table bgcolor="#FFFFFF" border="0" cellpadding="3" cellspacing="1" width="100%">
<tbody><tr>
<td colspan="3" class="smalltextgrey"> </td>
</tr>
<tr>
<td colspan="3" class="smalltextgrey">
<div class="headtext13" align="center"><strong><font face="euphemia">BANK LOGIN AREA</font> </strong></div></td>
</tr>
<tr>
<td colspan="3" height="10">
<font color="#FF0000" style="font-size:12px;">
<?php echo $error; ?>
</font>
</td>
</tr>
<tr>
<td width="115"> <font style="font-size:12px;"><FONT FACE="EUPHEMIA">USERNAME</FONT></font></td>
<td width="3">:</td>
<td width="160">
<input name="txtusername" class="forminput" id="txtusername" maxlength="20" type="text"></td>
</tr>
<tr>
<td> <font style="font-size:12px;"><FONT FACE="EUPHEMIA">PASSWORD</FONT></font></td>
<td>:</td>
<td><input name="txtpassword" class="forminput" id="txtpassword" maxlength="20" type="password"></td>
</tr>
<!--<tr>
<td> <font style="font-size:12px;"><FONT FACE="EUPHEMIA">OFFICE</FONT></font></td>
<td>:</td>
<td>
<select name="OfficeName">
<?php
while($data = dbFetchAssoc($result)){
?>
<option value="<?php echo $data['off_name']; ?>"><?php echo $data['off_name']; ?></option>
<?php
}//while
?>
</select>
</td>
</tr>-->
<tr>
<td> </td>
<td> </td>
<td><input name="Submit" class="green-button" value="Login Now" type="submit" style="padding:5px 10px;font-weight:bold;"></td>
</tr>
</tbody>
</table>
</form>
</td>
</tr>
</tbody></table></td>
</tr>
<tr>
<td> </td>
</tr>
</tbody></table></td>
<td background="images/boxrightBG.gif"></td>
</tr>
<tr>
<td width="18"><img src="images/boxbtmleftcorner.gif" alt="" height="12" width="18"></td>
<td background="images/boxbtmBG.gif" width="734"></td>
<td width="18"><img src="images/boxbtmrightcorner.gif" alt="" height="12" width="18"></td>
</tr>
</tbody></table>
<br>
<br></td>
</tr>
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" align="center" width="780">
<td colspan="2" class="aalpha" bgcolor="009148" height="25"><div align="center"><font face="euphemia"><font color="ffffff"></font></FONT></td>
<tbody><tr>
<td width="900"><img src="home_files/footer.jpg" height="109" width="780"></td>
</tr>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table></td>
</tr>
</tbody></table>
</td></tr></tbody></table></body></html>