First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
// Setup PayPal parameters
|
||||
$paypalAddress = strtolower($school_record['paypal_code']);
|
||||
$paypalCurrency = $school_record['paypal_currency'];
|
||||
$paypalDonationMessage = "";
|
||||
if (strlen($school_record['paypal_donation_message'])) $paypalDonationMessage = "<p><b>" . $school_record['paypal_donation_message'] . "</b></p>\n";
|
||||
|
||||
$returnURL = $school_record['url'] . "/";
|
||||
|
||||
$item_title = $school_record['school_name'] . " - " . getLanguageText('TEXT-DONATION');
|
||||
|
||||
?>
|
||||
<table width='500'>
|
||||
<tr>
|
||||
<td align='center'>
|
||||
<?php echo($paypalDonationMessage) ?>
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<input type="hidden" name="cmd" value="_donations">
|
||||
<input type="hidden" name="business" value="<?php echo($paypalAddress) ?>">
|
||||
<input type="hidden" name="bn" value="HotLunchesOnLine_SP">
|
||||
<input type="hidden" name="lc" value="<?php echo($paypalCurrency) ?>">
|
||||
<input type="hidden" name="item_name" value="<?php echo($item_title) ?>">
|
||||
<input type="hidden" name="no_note" value="0">
|
||||
<input type="hidden" name="currency_code" value="<?php echo($paypalCurrency) ?>">
|
||||
<input type="hidden" name="return" value="http://<?php echo($returnURL) ?>">
|
||||
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest">
|
||||
<input type='submit' class='btn btn--primary' value="<?php displayLanguageText('TEXT-DONATE'); ?> ">
|
||||
</form>
|
||||
<img src='images/paypal-payments.jpg' height='50' width='181'>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in new issue
Block a user