-
Notifications
You must be signed in to change notification settings - Fork 0
/
incontext.php
48 lines (42 loc) · 1.44 KB
/
incontext.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
<?php
session_start();
$_SESSION['Payment_Amount'] = 1.00;
$_SESSION['Checkout_Type'] = 1;
include 'mysql.php';
include 'header.php';
?>
<body>
<h1>Donate to help fund Kat & Alec's Tahoe Wedding</h1>
<div class="container-fluid">
<h3>Thank you for your support!</h3>
<div class="row">
<div class="col-md-5">
<div class="well well-lg">
<form id="b1" action='expresscheckout.php' METHOD='POST'>
<input type="number" placeholder="Amount" name="Payment_Amount" min="1" required>
<br>
<input type="checkbox" name="anon" value="yes">
Make my gift anonymous.
</input>
<br>
</form>
<h2>Thank you to the following donors:</h2>
<?php displayDonations(); ?>
</div>
</div>
</div>
<img src="img/katandalec.jpg" class="img-responsive">
</div>
<script>
window.paypalCheckoutReady = function () {
paypal.checkout.setup("RJ7UGR5RQE5U", {
locale: 'en_US',
environment: 'production',
container: 'b1'
});
};
</script>
<script src="http://www.paypalobjects.com/api/checkout.js" async></script>
<?php include 'footer.php'; ?>
</body>
</html>