source: trunk/web/app/out/dist/boxes/soutenir.php @ 1

Last change on this file since 1 was 1, checked in by dj3c1t, 12 years ago

import initial

File size: 1.8 KB
Line 
1<?php if($env->config("identifiant_paypal") || $env->config("lien_boutique")) : ?>
2
3      <div id="soutenir_site">
4
5<?php if($env->config("identifiant_paypal")) : ?>
6        <div id="don_site">
7
8<span>Don</span>
9<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
10  <input type="hidden" name="cmd" value="_donations" />
11  <input type="hidden" name="business" value="<?= $env->config("identifiant_paypal") ?>" />
12  <input type="hidden" name="lc" value="FR" />
13  <input type="hidden" name="no_note" value="0" />
14  <input type="hidden" name="no_shipping" value="2" />
15  <input type="hidden" name="currency_code" value="EUR" />
16  <input type="hidden" name="return" value="http://<?= $_SERVER["HTTP_HOST"].$env->url(array()) ?>" />
17  <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted" />
18  <input type="image" src="<?= $env->out_file("icons/paypal.png") ?>" name="submit" alt="Faire un don avec PayPal" />
19  <img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1" />
20</form>
21
22        </div>
23<?php endif; ?>
24<?php if($env->config("lien_boutique")) : ?>
25        <div id="lien_boutique_site">
26
27<span>Boutique RSR</span>
28<a href="<?= $env->config("lien_boutique") ?>"><img src="<?= $env->out_file("icons/cart.png") ?>" /></a>
29
30        </div>
31<?php endif; ?>
32        <div class="clear"><!-- --></div>
33
34  <a class="thickbox info_mini_right" href="<?= $env->url(array("e" => "popup_info", "action" => "soutenir_site")) ?>&amp;KeepThis=true&amp;TB_iframe=true&amp;height=400&amp;width=600" title="Soutenir notre action">
35    <img src="<?= $env->out_file("icons/aide.png") ?>" alt="Soutenir un artiste" />
36    Pourquoi soutenir, acheter, faire un don ?
37  </a>
38
39        <div class="clear"><!-- --></div>
40
41      </div>
42
43
44
45
46
47
48
49
50<?php else : ?>
51<p>bloc en construction...</p>
52<?php endif; ?>
Note: See TracBrowser for help on using the repository browser.