File: donate.php

package info (click to toggle)
phpldapadmin 0.9.5-3sarge3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,052 kB
  • ctags: 2,526
  • sloc: php: 21,258; sh: 262; makefile: 132; xml: 42
file content (58 lines) | stat: -rw-r--r-- 1,198 bytes parent folder | download
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
51
52
53
54
55
56
57
58
<?php

include 'common.php';
include 'header.php';

$donate_base_href="https://sourceforge.net/donate/index.php?group_id=61828&amp;type=0";
$amounts = array( 10, 20, 50, 100 );

?>

<body>

<h3 class="title">Donate</h3>
<br />
<br />
<br />
<p style="text-align: center"><?php echo $lang['donation_instructions']; ?></p>
<br />

<table style="width: 100%; font-size: 12px">
<tr>
<?php foreach( $amounts as $amount ) { ?>

    <td align="center">
        <a 
            href="<?php echo $donate_base_href; ?>&amp;amt=<?php echo $amount; ?>"
            target="new"><img 
            src="images/paypal-donate.png" 
            alt="[<?php echo sprintf( $lang['donate_amount'], '$US ' . $amount ); ?>]"
            title="<?php echo sprintf( $lang['donate_amount'], '$US ' . $amount ); ?>" /></a>
    </td>

<?php } ?>
</tr>

<tr>
<?php foreach( $amounts as $amount ) { ?>

    <td align="center"><?php echo sprintf( $lang['donate_amount'], '$' . $amount ); ?></td>

<?php } ?>
</tr>

</table>

<br />
<br />
<center>
<?php echo $lang['wish_list_option']; ?>
<br />
<br />
<a href="http://www.amazon.com/gp/registry/22APPYURX48VA"><?php echo $lang['wish_list']; ?></a>
</center>



</body>
</html>