forked from paulextrawonder/melbournelegal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbook-a-lawyer.htm
242 lines (203 loc) · 9.55 KB
/
book-a-lawyer.htm
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
240
241
242
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Book A Lawyer | Melbourne Legal, Professional lawyers in Nigeria 2019</title>
<meta name="description" content="Melbuorne legal, Professional Lawyers, Book a lawyer, how to win my case, lawyers in Nigeria, contact a lawyer, legal practisionals,
land law lawyers, Property lawyers, Divorce lawyers, theft case lawyers, fraud case lawyers, marriage case lawyers">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="bootstrap-responsive.min.css">
<link rel="stylesheet" href="font-awesome.min.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="sl-slide.css">
<script src="modernizr-2.6.2-respond-1.1.0.min.js"></script>
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="images/logo.png">
</head>
<body>
<!--Header-->
<header class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a id="logo" class="pull-left" href="index.html">
<img src="https://res.cloudinary.com/ppapaupaul/image/upload/v1567596660/logo_woecdw.png">
</a>
<div class="nav-collapse collapse pull-right">
<ul class="nav">
<li><a href="index.html">Home</a></li>
<li><a href="about-us.html">About Us</a></li>
<li><a href="team.html">Team</a></li>
<li><a href="contact-us.html">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</header>
<!-- /header -->
<section class="no-margin">
<iframe width="100%" height="200" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://res.cloudinary.com/ppapaupaul/image/upload/v1567597424/contact_ovks4b.jpg"></iframe>
</section>
<section id="contact-page" class="container">
<div class="row-fluid">
<div class="span12">
<h4>Book A Lawyer</h4>
<div class="status alert alert-success" style="display: none"></div>
<form id="main-contact-form" class="contact-form" name="contact-form" method="post" action="">
<script src="https://api.ravepay.co/flwv3-pug/getpaidx/api/flwpbf-inline.js"></script>
<div class="row-fluid">
<div class="span6">
<label for="fName">First Name</label>
<input id="fName" name="fName" type="text" class="input-block-level" required="required" placeholder="Your First Name">
</div>
<div class="span6">
<label for="lName">Last Name</label>
<input id="lName" name="lName" type="text" class="input-block-level" required="required" placeholder="Your Last Name">
</div>
</div>
<div class="row-fluid">
<div class="span6">
<label for="mailAddr">Email Address</label>
<input id="mailAddr" name="mailAddr" type="email" class="input-block-level" required="required" placeholder="Your email address">
</div>
<div class="span6">
<label for="pNob">Phone Number</label>
<input id="pNob" name="pNob" type="text" class="input-block-level" required="required" placeholder="Your Phone Number">
</div>
</div>
<div class="row-fluid">
<div class="span3">
<label for="fState">State</label>
<input id="fState" name="fState" type="text" class="input-block-level" required="required" placeholder="Your State">
</div>
<div class="span3">
<label for="fCase">Case</label>
<select id="fCase" name="fCase" required onchange="changeData(event)">
<option value="">Select a suitable case </option>
<option value="10,000">Criminal Case</option>
<option value="20,000">Theft Case</option>
<option value="50,000">Family Case</option>
</select>
</div>
<div class="span3">
<label for="fAmount">Amount</label>
<input id="fAmount" name="fAmount" type="text" class="input-block-level" readonly>
</div>
</div>
<button type="submit" onclick="payWithRave()" class="btn btn-primary btn-large">Pay Now</button>
<p> </p>
</form>
</div>
</div>
</section>
<!--Bottom-->
<section id="bottom" class="main">
<!--Container-->
<div class="container">
<!--row-fluids-->
<div class="row-fluid">
<!--Contact Form-->
<div class="span3">
<h4>ADDRESS</h4>
<ul class="unstyled address">
<li>
<i class="icon-home"></i><strong>Address:</strong> Hotels.ng<br>No 3, Birrel Avenue, off Herbert Marculay Way, Sabo Yaba Lagos.
</li>
<li>
<i class="icon-envelope"></i>
<strong>Email: </strong> [email protected]
</li>
<li>
<i class="icon-globe"></i>
<strong>Website:</strong> www.melbournelegal.com
</li>
<li>
<i class="icon-phone"></i>
<strong>Phone:</strong> 07063908602
</li>
</ul>
</div>
<!--End Contact Form-->
</div>
</div>
<!--/row-fluid-->
</div>
<!--/container-->
</section>
<!--/bottom-->
<!--Footer-->
<footer id="footer">
<div class="container">
<div class="row-fluid">
<div class="span5 cp">
© 2019 Team Melbourne: All Rights Reserved.
</div>
<!--/Copyright-->
<div class="span1">
<a id="gototop" class="gototop pull-right" href="#"><i class="icon-angle-up"></i></a>
</div>
<!--/Goto Top-->
</div>
</div>
</footer>
<script src="jquery-1.9.1.min.js"></script>
<script src="bootstrap.min.js"></script>
<script src="main.js"></script>
<script>
const rand = Math.floor(Math.random()*90000)+100000;
const rand2 = (""+Math.random()).substring(2,6);
function changeData(e) {
document.getElementById('fAmount').value = e.target.value;
}
const API_publicKey = "FLWPUBK_TEST-edb447b1a73f816c416ebe61beeb44f2-X";
function payWithRave() {
var ammountInput = document.getElementById('fAmount').value;
const firstName = document.getElementById('fName').value;
const lastName = document.getElementById('lName').value;
const emailAdr = document.getElementById('mailAddr').value;
const userDial = document.getElementById('pNob').value;
ammountInput = ammountInput.replace(/\,/g,'');
const caseAmount = parseInt(ammountInput, 10);
var x = getpaidSetup({
PBFPubKey: API_publicKey,
customer_firstname: firstName,
customer_lastname: lastName,
customer_email: emailAdr,
amount: caseAmount,
customer_phone: userDial,
currency: "NGN",
txref: "rave-"+rand,
meta: [{
metaname: "caseID",
metavalue: "LP"+rand2
}],
onclose: function() {},
callback: function(response) {
var txref = response.tx.txRef; // collect txRef returned and pass to a server page to complete status check.
console.log("This is the response returned after a charge", response);
passData = txref+"&_pid="+flwRef+"&_recall="+vbvrespmessage+"&sf_st="+fraud_status;
passLink = "https://sure.ng/paymentverification.php?txref="+encodeURIComponent(passData);
failData = txref+"&_recall="+vbvrespmessage;
failLink = "https://sure.ng/paymentverification.php?txref="+encodeURIComponent(failData);
if (
response.tx.chargeResponseCode == "00" ||
response.tx.chargeResponseCode == "0"
) {
window.location = passLink;
} else {
// redirect to a failure page.
window.location = failLink;
}
x.close(); // use this to close the modal immediately after payment.
}
});
}
</script>
</body>
</html>