-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdonate.php
More file actions
50 lines (50 loc) · 1.79 KB
/
Copy pathdonate.php
File metadata and controls
50 lines (50 loc) · 1.79 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
<?php include 'header.php'; ?>
<section>
<h2>Donate</h2>
<p>This is where you can donate to the campaign.</p>
<?php if(isset($donate_error)) echo $donate_error; ?>
<form action="." method="post" class="dataform">
<input type="hidden" name="action" value="donate">
<label>Payment Type:</label>
<select name="payment_type">
<option value="VISA">Visa</option>
<option value="AMEX">American Express</option>
<option value="MC">MasterCard</option>
<option value="DISC">Discover</option>
<option value="CASH">Cash</option>
</select>
<br>
<label>Donation Amount:</label>
<input type="text" name="donation_amount">
<br>
<label>First Name:</label>
<input type="text" name="first_name"/>
<br>
<label>Last Name:</label>
<input type="text" name="last_name"/>
<br>
<label>Number and Street:</label>
<input type="text" name="street"/>
<br>
<label>City:</label>
<input type="text" name="city"/>
<br>
<label>State:</label>
<input type="text" name="state"/>
<br>
<label>Zip Code:</label>
<input type="text" name="zip"/>
<br>
<!--
<p>If paying by card, please enter card details below:</p>
<label>Credit Card Number</label>
<input type="text">
<br>
<label>Expiration Date (format: MMYY)</label>
<input type="text">
<br>
-->
<input type="submit" value="Donate!">
</form>
</section>
<?php include 'footer.php'; ?>