-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathremovebranch.php
executable file
·173 lines (157 loc) · 4.72 KB
/
removebranch.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>GSIX BANK</title>
<meta charset="utf-8">
<meta name = "format-detection" content = "telephone=no" />
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="css/grid.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/touchTouch.css">
<script src="js/jquery.js"></script>
<script src="js/jquery-migrate-1.2.1.js"></script>
<script src="js/touchTouch.jquery.js"></script>
<script src="js/script.js"></script>
<!--[if (gt IE 9)|!(IE)]><!-->
<script src="js/wow.js"></script>
<script>
$(document).ready(function () {
if ($('html').hasClass('desktop')) {
new WOW().init();
}
});
</script>
<!--<![endif]-->
<!--[if lt IE 8]>
<div style=' clear: both; text-align:center; position: relative;'>
<a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home?ocid=ie6_countdown_bannercode">
<img src="images/ie8-panel/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." />
</a>
</div>
<![endif]-->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="css/ie.css">
<![endif]-->
<style>
table,th,td {
border: 1px solid black;
}
[class|=top]
{
border: 0px;
}
</style>
</head>
<body class="index-2">
<!--==============================header=================================-->
<header id="header">
<div id="stuck_container">
<div class="container">
<div class="row">
<div class="grid_12">
<h1><a href="index.html">GSIX BANK</a><span>Your New Banking Partner</span></h1>
<nav>
<ul class="sf-menu">
<li><a href="adminhome.php">Home</a></li>
<li><a href="index-1.html">Services</a></li>
<li><a href="index-2.html">Branches</a></li>
<li><a href="index-3.html">About Us</a></li>
<li class="current"><a href="logout.php">Logout</a></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</header>
<!--=======content================================-->
<section >
<div style="width:100%; font-size:"">
<div style="float:left; width:60%;" > </div>
<form name="form1" method="post" action="removebranch.php" >
<label for="search"></label>
<input type="text" name="searchv" id="searchv" align="right">
<input type="submit" name="search" id="search" value="search" align="right">
</form>
</div>
<div class="full-width-container block-1">
<div class="container">
<h4>Customer Details</h4>
<table width="100%" border="2 solid black">
<tr>
<th width="10%">Name</td>
<th width="6%">place</td>
<th width="5%">Ifsc Code</td>
<th width="10%">Status</td>
</tr>
<?php
error_reporting(E_ALL ^ E_DEPRECATED);
include('db.php');
if(isset($_POST['search']))
{
extract($_POST);
$sql="select * from branches where name like '$searchv%'";
$res=mysql_query($sql,$con)or die(mysql_error());
while($r=mysql_fetch_array($res))
{
?>
<tr>
<td><?php echo $r[1];?></td>
<td><?php echo $r[2];?></td>
<td><?php echo $r[3];?></td>
<td><a href="removeb.php?id=<?php echo $r[0];?>"><?php echo 'Remove';?></a>
</td>
</tr>
<?php
}
}
else
{
$sql="select * from branches ";
$res=mysql_query($sql,$con)or die(mysql_error());
while($r=mysql_fetch_array($res))
{
?>
<tr>
<td><?php echo $r[1];?></td>
<td><?php echo $r[2];?></td>
<td><?php echo $r[3];?></td>
<td><a href="removeb.php?id=<?php echo $r[0];?>"><?php echo 'Remove';?></a>
</td>
</tr>
<?php
}
}
?>
</table></div></div>
<div id="touch_gallery">
<div class="grid_4"></div>
<div class="grid_4"> </div>
</div>
</div>
</div>
</div>
</section>
<!--=======footer=================================-->
<footer id="footer">
<div class="container">
<div class="row">
<div class="grid_12 copyright">
<h2><span>Follow Us</span></h2>
<a href="#" class="btn bd-ra"><span class="fa fa-facebook"></span></a>
<a href="#" class="btn bd-ra"><span class="fa fa-tumblr"></span></a>
<a href="#" class="btn bd-ra"><span class="fa fa-google-plus"></span></a>
<pre>© <span id="copyright-year"></span> | Privacy Policy</pre>
</div>
</div>
</div>
<div class="footer_bottom"><a href="#" rel="nofollow"><img src="images/footer-logo.png" alt="logo"></a></div>
</footer>
<script>
$(function(){
$('#touch_gallery a').touchTouch();
});
</script>
</body>
</html>