-
Notifications
You must be signed in to change notification settings - Fork 1
/
pay2educate.php
239 lines (232 loc) · 12.5 KB
/
pay2educate.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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
<?php
include("admin/include/connect.php");
$userid=$_SESSION['user_id'];
$amount=$_GET['amount'];
$purpose=$_GET['sid'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" href="images/logo.png" type="image/png"/>
<title>Stepping Stones</title>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css" type="text/css" media="all">
<link rel="stylesheet" type="text/css" href="css/stylepay.css" media="all">
<link rel="stylesheet" href="othercss.css" type="text/css" media="all">
<script type="text/javascript" src="js/jquery-1.5.2.js" ></script>
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/cufon-replace.js"></script>
<script type="text/javascript" src="js/Molengo_400.font.js"></script>
<script type="text/javascript" src="js/Expletus_Sans_400.font.js"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="js/html5.js"></script>
<style type="text/css">
.bg, .box2 {behavior:url(js/PIE.htc)}
</style>
<![endif]-->
<!--[if lt IE 7]>
<div style=' clear: both; text-align:center; position: relative;'>
<a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode">
<img src="http://www.theie6countdown.com/images/upgrade.jpg" border="0" alt="" /></a>
</div>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Payment Form Widget Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Payment Form Widget Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
</head>
<body>
<div id="wrapper">
<?php
include("include/header.php");
?>
<div class="main">
<div class="content">
<script src="js/easyResponsiveTabs.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#horizontalTab').easyResponsiveTabs({
type: 'default', //Types: default, vertical, accordion
width: 'auto', //auto or any width like 600px
fit: true // 100% fit in a container
});
});
</script>
<div class="sap_tabs" style="width: 100%;">
<div id="horizontalTab" style="display: block; width: 100%; margin: 0px;">
<div class="pay-tabs">
<h2>Select Payment Method</h2>
<ul class="resp-tabs-list">
<li class="resp-tab-item" aria-controls="tab_item-0" role="tab"><span><label class="pic1"></label>Credit Card</span></li>
<li class="resp-tab-item" aria-controls="tab_item-1" role="tab"><span><label class="pic3"></label>Net Banking</span></li>
<li class="resp-tab-item" aria-controls="tab_item-2" role="tab"><span><label class="pic4"></label>DD/Cheque</span></li>
<li class="resp-tab-item" aria-controls="tab_item-3" role="tab"><span><label class="pic2"></label>Debit Card</span></li>
<div class="clear"></div>
</ul>
</div>
<div class="resp-tabs-container">
<div class="tab-1 resp-tab-content" aria-labelledby="tab_item-0">
<div class="payment-info">
<h3 class="pay-title">Credit Card Info</h3>
<form action="pay2educate.php?mode=cc&uid=<?php echo $userid; ?>&pps=<?php echo $purpose; ?>&amt=<?php echo $amount; ?>">
<div class="tab-for">
<h5>NAME ON CARD</h5>
<input type="text" value="" required>
<h5>CARD NUMBER</h5>
<input class="pay-logo" type="text" value="0000-0000-0000-0000" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '0000-0000-0000-0000';}" required>
</div>
<div class="transaction">
<div class="tab-form-left user-form">
<h5>EXPIRATION</h5>
<ul>
<li>
<input type="number" class="text_box" type="text" value="6" min="1" required />
</li><br><br>
<li>
<input type="number" class="text_box" type="text" value="1988" min="1" required />
</li>
</ul>
</div>
<br><br><br>
<div class="tab-form-right user-form-rt">
<h5>CVV NUMBER</h5>
<input type="text" value="xxxx" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'xxxx';}" required>
</div>
<div class="clear"></div>
</div>
<input type="submit" value="SUBMIT">
</form>
<div class="single-bottom">
<ul>
<li>
<input type="checkbox" id="brand" value="">
<label for="brand"><span></span>By checking this box, I agree to the Terms & Conditions & Privacy Policy.</label>
</li>
</ul>
</div>
</div>
</div>
<div class="tab-1 resp-tab-content" aria-labelledby="tab_item-1">
<div class="payment-info">
<h3>Net Banking</h3>
<div class="radio-btns">
<div class="swit">
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio" checked=""><i></i>Andhra Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>Allahabad Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>Bank of Baroda</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>Canara Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>IDBI Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>Icici Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>Indian Overseas Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>Punjab National Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>South Indian Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>State Bank Of India</label> </div></div>
</div>
<div class="swit">
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio" checked=""><i></i>City Union Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>HDFC Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>IndusInd Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>Syndicate Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>Deutsche Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>Corporation Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>UCO Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>Indian Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>Federal Bank</label> </div></div>
<div class="check_box"> <div class="radio"> <label><input type="radio" name="radio"><i></i>ING Vysya Bank</label> </div></div>
</div>
<div class="clear"></div>
</div>
<a href="pay2educate.php?mode=nb&uid=<?php echo $userid; ?>&pps=<?php echo $purpose; ?>&amt=<?php echo $amount; ?>">Continue</a>
</div>
</div>
<div class="tab-1 resp-tab-content" aria-labelledby="tab_item-2">
<div class="payment-info">
<h3>DD/Cheque</h3>
<p>send</p>
<a href="pay2educate.php?mode=dd&uid=<?php echo $userid; ?>&pps=<?php echo $purpose; ?>&amt=<?php echo $amount; ?>">Continue</a>
</div>
</div>
<div class="tab-1 resp-tab-content" aria-labelledby="tab_item-3">
<div class="payment-info">
<h3 class="pay-title">Dedit Card Info</h3>
<form action="pay2educate.php?mode=dc&uid=<?php echo $userid; ?>&pps=<?php echo $purpose; ?>&amt=<?php echo $amount; ?>">
<div class="tab-for">
<h5>NAME ON CARD</h5>
<input type="text" value="" required>
<h5>CARD NUMBER</h5>
<input class="pay-logo" type="text" value="0000-0000-0000-0000" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '0000-0000-0000-0000';}" required>
</div>
<div class="transaction">
<div class="tab-form-left user-form">
<h5>EXPIRATION</h5>
<ul>
<li>
<input type="number" class="text_box" type="text" value="6" min="1" required />
</li><br><br>
<li>
<input type="number" class="text_box" type="text" value="1988" min="1" required />
</li>
</ul>
</div>
<div class="tab-form-right user-form-rt">
<br><br>
<h5>CVV NUMBER</h5>
<input type="text" value="xxxx" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'xxxx';}" required >
</div>
<div class="clear"></div>
</div>
<input type="submit" value="SUBMIT">
</form>
<div class="single-bottom">
<ul>
<li>
<input type="checkbox" id="brand" value="">
<label for="brand"><span></span>By checking this box, I agree to the Terms & Conditions & Privacy Policy.</label>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
include("include/footer.php");
?>
</div>
<!--end of wrapper-->
<script type="text/javascript"> Cufon.now(); </script>
</body>
</html>
<?php
if(isset($_GET['mode']) && ($_GET['mode']=='nb'))
{
$qry=mysql_query("insert into donations(u_id,amount,purpose,don_type,pay_method) values('".$_GET['uid']."','".$_GET['amt']."','".$_GET['pps']."','Educate','Net Banking')");
header("location: thankyou.html");
}
if(isset($_GET['mode']) && ($_GET['mode']=='dc'))
{
$qry=mysql_query("insert into donations(u_id,amount,purpose,don_type,pay_method) values('".$_GET['uid']."','".$_GET['amt']."','".$_GET['pps']."','Educate','Debit Card')");
header("location: thankyou.html");
}
if(isset($_GET['mode']) && ($_GET['mode']=='cc'))
{
$qry=mysql_query("insert into donations(u_id,amount,purpose,don_type,pay_method) values('".$_GET['uid']."','".$_GET['amt']."','".$_GET['pps']."','Educate','Credit Card')");
header("location: thankyou.html");
}
if(isset($_GET['mode']) && ($_GET['mode']=='dd'))
{
$qry=mysql_query("insert into donations(u_id,amount,purpose,don_type,pay_method) values('".$_GET['uid']."','".$_GET['amt']."','".$_GET['pps']."','Educate','DD/Cheque')");
header("location: thankyou.html");
}
?>