diff options
author | Romain d'Alverny <rda@mageia.org> | 2010-12-16 12:44:47 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2010-12-16 12:44:47 +0000 |
commit | 298cc870ee484b4c2ecef5d25bfe364ca7a4b0bf (patch) | |
tree | 7a64f434222da03acef5174ba91ce172a014d1dd /paypal.inc.php | |
parent | d96618239eeb1787f6fd53407e3ae1611825f72f (diff) | |
download | www-298cc870ee484b4c2ecef5d25bfe364ca7a4b0bf.tar www-298cc870ee484b4c2ecef5d25bfe364ca7a4b0bf.tar.gz www-298cc870ee484b4c2ecef5d25bfe364ca7a4b0bf.tar.bz2 www-298cc870ee484b4c2ecef5d25bfe364ca7a4b0bf.tar.xz www-298cc870ee484b4c2ecef5d25bfe364ca7a4b0bf.zip |
paypal code
Diffstat (limited to 'paypal.inc.php')
-rw-r--r-- | paypal.inc.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/paypal.inc.php b/paypal.inc.php new file mode 100644 index 000000000..24c70e92a --- /dev/null +++ b/paypal.inc.php @@ -0,0 +1,19 @@ +<?php +/** +*/ + +function html_paypal_form($lang = 'en') +{ + + $html = <<<H +<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="pp_form"> + <input type="hidden" name="cmd" value="_s-xclick"> + <input type="hidden" name="hosted_button_id" value="62X2MFQRAYABL"> + <p id="pp_form_btn"> + <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> + <img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1"> + </p> +</form> +H; + return $html; +}
\ No newline at end of file |