Migration

This commit is contained in:
2016-02-21 01:33:05 +01:00
commit 6db8a86a48
386 changed files with 17311 additions and 0 deletions

View File

@@ -0,0 +1,154 @@
<?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>
<p>Afin d'assurer la pérénité des services offerts par l'association Kelio, nous avons besoin de votre soutien.<br />
Vous pouvez y contribuer de différente manières :
<ul>
<li>Adhérer à l'association et bénéficier d'avantage sur les services.</li>
<li>Faire un don à l'association.</li>
<li>Parler de notre association et des services proposés autour de vous.</li>
<li>Afficher les publicités de notre régie partenaire.</li>
</ul>
</p>
<h4>Faire un don</h4>
<p>Nous acceptons les dons par l'intérmédiaire de PayPal, paiements en ligne sécurisés.</p>
<h4>Afficher une publicité sur votre site</h4>
<p>Les publicités Adsense permettent de nous soutenir directement financièrement.</p>
<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>"; }
?><br/>
<h4>Afficher nos bannières de promotion sur votre site</h4>
<p><img src="img/icons-panel/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.asso.fr/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;">
&lt;a href=&quot;http://www.kelio.asso.fr&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.asso.fr/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;">
&lt;a href=&quot;http://www.kelio.asso.fr&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>