Migration
This commit is contained in:
154
0.8.0/module/divers/contribuer.php
Executable file
154
0.8.0/module/divers/contribuer.php
Executable 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>Contribuer au projet Kelio, permet sa survie.<br />
|
||||
Vous pouvez contribuer de diff<66>rente mani<6E>res : dons, bouche a oreilles, affichage de notre publicit<69>.
|
||||
</p>
|
||||
<h3>Faire un don</h3>
|
||||
<img src="image/icons/tick.png" alt="info" style="padding-right: 5px;" /><strong>Op<4F>ration 2009 - Kelio.org</strong><br />
|
||||
Nous nous sommes fix<69>s un objectif pour 2009 : une nouvelle infrastructure. Rendez-vous sur : <a href="http://www.kelio.org/2009">http://www.kelio.org/2009</a>
|
||||
<br /><br/>
|
||||
<h3>Afficher une publicit<69> sur votre site</h3>
|
||||
<small>Les publicit<69>s Adsense permettent de nous soutenir directement financi<63>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 <20> ins<6E>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<65>u visuel de la publicit<69> 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<6E>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<6E>res</a></p>
|
||||
<div id="JS_banniere" style="display: none">
|
||||
<br/>
|
||||
<strong>Banni<6E>re 1</strong> (468x60)<br/>
|
||||
<img src="http://www.kelio.org/image/logo/banniere46860-1.png" alt="Kelio.org - Faites vivre vos id<69>es avec un h<>bergeur ind<6E>pendant et alternatif" />
|
||||
<br/>Code <20> afficher<br/>
|
||||
<textarea style="width: 468px; height: 60px; border: 0; border: #006633 1px solid;" cols="" rows="">
|
||||
<a href="http://www.kelio.org"><img style="border: 0px;" src="http://kelio.org/image/logo/banniere46860-1.png" alt="Kelio.org - Faites vivre vos id<69>es avec un h<>bergeur ind<6E>pendant et alternatif" /> </a>
|
||||
</textarea><br/>
|
||||
<strong>Banni<6E>re 2</strong> (300x150)<br/>
|
||||
<img src="http://www.kelio.org/image/logo/banniere300150.png" alt="Kelio.org - Faites vivre vos id<69>es avec un h<>bergeur ind<6E>pendant et alternatif" />
|
||||
<br/>Code <20> afficher<br/>
|
||||
<textarea style="width: 468px; height: 60px; border: 0; border: #006633 1px solid;" cols="" rows="">
|
||||
<a href="http://www.kelio.org"><img style="border: 0px;" src="http://kelio.org/image/logo/banniere300150.png" alt="Kelio.org - Faites vivre vos id<69>es avec un h<>bergeur ind<6E>pendant et alternatif" /> </a>
|
||||
</textarea>
|
||||
</div>
|
||||
<br/>
|
||||
Reference in New Issue
Block a user