Files
keliopanel-v1/0.7.1/panel/module/divers/contribuer.php
2016-02-21 01:33:05 +01:00

168 lines
9.0 KiB
PHP
Executable File

<?php
/*
Copyright (C) 2007 Mercier Benjamin
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
?>
<h3>Contribuer au projet Kelio.org</h3>
<br />
Contribuer au projet Kelio, permet sa survie.<br />
Vous pouvez contribuer de différente manières : dons, bouche a oreilles, affichage de notre publicité.
<br /><br />
<h3>Faire un don</h3>
<img src="image/icons/tick.png" alt="info" style="padding-right: 5px;" /><strong>Par carte bancaire</strong>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/fr_FR/i/btn/x-click-but04.gif" border="0" name="submit" alt="Effectuez vos paiements via PayPal : une solution rapide, gratuite et sécurisée">
<img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHXwYJKoZIhvcNAQcEoIIHUDCCB0wCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBRtHEe2DORY7LvjtcbKLJP2BkQNPMucM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X7dCRBDpYPFu1o26OxAjgykzWz1xUMTIEWif89y1xwLuhS0dvqfdplnweG3S6PQ==-----END PKCS7-----
">
</form>
<br />
<img src="image/icons/tick.png" alt="info" style="padding-right: 5px;" /><strong>Par virement bancaire</strong><br />
Contactez nous pour obtenir un RIB<br />
<br />
Vos dons serviront uniquement à financer le(s) serveur(s) !<br />
<a href="http://wiki.kelio.org/doku.php?id=l_equipe_kelio.org#les_donateurs">Liste des donateurs</a>
<br /><br/>
<h3>Afficher une publicité sur votre site</h3>
<small>Les publicités Adsense permettent de nous soutenir directement financièrement.<br/>
Code client Adsense : "pub-3624271267101348"</small>
<br />
<form action="<?php echo $PHP_SELF ?>#code" method="post">
<table>
<tr>
<td><strong>Format des annonces</strong></td>
</tr>
<tr>
<td>La taille des annonces</td>
<td>
<select name="format">
<option value="728x90">Horizontal 728 x 90</option>
<option value="468x60">Horizontal 468 x 60</option>
<option value="234x60">Horizontal 234 x 60</option>
<option value="120x600">Vertical 120 x 600</option>
<option value="160x600">Vertical 160 x 600</option>
<option value="120x240">Vertical 120 x 240</option>
<option value="336x280">Grand rectangle 336 x 280</option>
</select>
</td>
</tr>
<tr>
<td><strong>Couleurs</strong></td>
</tr>
<tr>
<td>Bordure</td>
<td>#<input type="text" name="bordure" value="FFFFFF" /></td>
</tr>
<tr>
<td>Titre</td>
<td>#<input type="text" name="titre" value="0000FF" /></td>
</tr>
<tr>
<td>Fond</td>
<td>#<input type="text" name="fond" value="FFFFFF" /></td>
</tr>
<tr>
<td>Texte</td>
<td>#<input type="text" name="texte" value="000000" /></td>
</tr>
<tr>
<td>URL</td>
<td>#<input type="text" name="url" value="008000" /></td>
</tr>
</table>
<div><input type="submit" value="Valider" /></div>
</form>
<?php
$format = $_POST["format"];
$bordure = $_POST["bordure"];
$titre = $_POST["titre"];
$fond = $_POST["fond"];
$texte = $_POST["texte"];
$url = $_POST["url"];
$format2 = explode("x", $format);
$width = $format2[0];
$height = $format2[1];
$format = $format."_as";
$code = "<strong>Code à insérer sur votre site Internet :</strong><br/><br/>
<textarea cols=\"50\" rows=\"15\" >
<script type=\"text/javascript\"><!--
google_ad_client = \"pub-3624271267101348\";
google_ad_width = $width;
google_ad_height = $height;
google_ad_format = \"$format\";
google_ad_type = \"text_image\";
google_ad_channel = \"\";
google_color_border = \"$bordure\";
google_color_bg = \"$fond\";
google_color_link = \"$url\";
google_color_text = \"$texte\";
google_color_url = \"$url\";
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>
</textarea>
<br/><br/>
<strong>Aperçu visuel de la publicité qui sera sur votre site Internet :</strong><br /><br />
<script type=\"text/javascript\"><!--
google_ad_client = \"pub-3624271267101348\";
google_ad_width = $width;
google_ad_height = $height;
google_ad_format = \"$format\";
google_ad_type = \"text_image\";
google_ad_channel = \"\";
google_color_border = \"$bordure\";
google_color_bg = \"$fond\";
google_color_link = \"$url\";
google_color_text = \"$texte\";
google_color_url = \"$url\";
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>"
?>
<?php
if (isset($_POST["format"]))
{ echo "<div id='code'>$code</div>"; }
?>
<h3>Afficher nos bannières de promotion sur votre site</h3>
<p><img src="image/icons/em-plus.png" alt="info" style="padding-right: 5px;" /><a href="#JS_banniere" style="cursor:pointer" onclick="Cache('JS_banniere');">Voir nos bannières</a></p>
<div id="JS_banniere" style="display: none">
<br/>
<strong>Bannière 1</strong> (468x60)<br/>
<img src="http://www.kelio.org/image/logo/banniere46860-1.png" alt="Kelio.org - Faites vivre vos idées avec un hébergeur indépendant et alternatif" />
<br/>Code à afficher<br/>
<textarea style="width: 468px; height: 60px; border: 0; border: #006633 1px solid;" cols="" rows="">
&lt;a href=&quot;http://www.kelio.org&quot;&gt;&lt;img style=&quot;border: 0px;&quot; src=&quot;http://kelio.org/image/logo/banniere46860-1.png&quot; alt=&quot;Kelio.org - Faites vivre vos idées avec un hébergeur indépendant et alternatif&quot; /&gt; &lt;/a&gt;
</textarea><br/>
<strong>Bannière 2</strong> (300x150)<br/>
<img src="http://www.kelio.org/image/logo/banniere300150.png" alt="Kelio.org - Faites vivre vos idées avec un hébergeur indépendant et alternatif" />
<br/>Code à afficher<br/>
<textarea style="width: 468px; height: 60px; border: 0; border: #006633 1px solid;" cols="" rows="">
&lt;a href=&quot;http://www.kelio.org&quot;&gt;&lt;img style=&quot;border: 0px;&quot; src=&quot;http://kelio.org/image/logo/banniere300150.png&quot; alt=&quot;Kelio.org - Faites vivre vos idées avec un hébergeur indépendant et alternatif&quot; /&gt; &lt;/a&gt;
</textarea>
</div>
<br/>