-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuserhome.php
More file actions
executable file
·143 lines (135 loc) · 4.23 KB
/
userhome.php
File metadata and controls
executable file
·143 lines (135 loc) · 4.23 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
<!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>
h5{
}
</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="userhome.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 id="content">
<div class="full-width-container block-1">
<h5 align="left" class="h5__mod">Welcome <?php
error_reporting(0);
include "db.php";
session_start();
$user=$_SESSION['username'];
$sql="select name from userdetails where username='$user'";
$res=mysql_query($sql,$con);
$r=mysql_fetch_array($res);
echo $r[0]; ?></h5>
<div style="width:100%; font-size:"">
<div style="float:left; width:45%;" > </div>
<table width="50%" border="0" align="center">
<tr>
<td><a onClick="balance();" id="bal">Check Balance</a></td>
</tr>
<tr>
<td><a href="cash.php">Add/Withdraw Cash</a></td>
</tr>
<tr>
<td><a href="moneytransfer.php">Transfer Money</a></td>
</tr>
<tr>
<td><a href="">Iinterest Calculation</a></td>
</tr>
<tr>
<td><a href="mancheque.php">Manipulate Check</a></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div>
</div>
</section>
<script language="javascript">
function balance() {
<?php
error_reporting(0);
include "db.php";
session_start();
$user=$_SESSION['username'];
$sql="select name,balance from userdetails where username='$user'";
$res=mysql_query($sql,$con);
$r=mysql_fetch_array($res);
?>
alert('<?php echo "Dear ". $r[0] . ", Your Account balance is RS." . $r[1];?>');
}
</script>
<!--=======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>000