Migration
This commit is contained in:
79
0.9.0/panel/module/divers/bridage.php
Executable file
79
0.9.0/panel/module/divers/bridage.php
Executable file
@@ -0,0 +1,79 @@
|
||||
<?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.
|
||||
*/
|
||||
$ListBDD = $MySql->Select("*", "domaine", "Utilisateur='".$_SESSION['Utilisateur']."' AND Status='2'", "", "", "", "");
|
||||
|
||||
|
||||
?>
|
||||
<h3>Bridage de vos sites Internet</h3>
|
||||
<p>
|
||||
Afin de favoriser les gens qui affichent notre publicité sur leurs sites, un bridage est imposé à tous les sites, sauf ceux dont notre pub est affichée.<br />
|
||||
Une limite est fixée uniquement pour le télechargement de fichiers, celle-ci est de 50Ko/sec pour tout le site. <br />
|
||||
Cependant, si notre publicité est affichée au moins sur l'accueil, le site sera totalement débridé et pourra ainsi bénéficier jusqu'à 12Mo/sec de bande passante (dans les limites de la charte).<br />
|
||||
Pour afficher notre publicité, veuillez en générer-une sur la page <a href="Page-Divers-Contribuer.html">"Nous soutenir"</a>. (publicités adsense seulement).<br />
|
||||
Notre robot passe une fois toutes les 24 heures, ne vous étonnez donc pas que le bridage soit toujours actif immédiatement après l'affichage de la publicité.<br />
|
||||
Notez que <?php echo $_SESSION['Utilisateur']; ?>.kelio.org ne peut être débridé.<br /><br />
|
||||
Ci-dessous un récapitulatif de tous les bridages sur vos domaines.
|
||||
</p><br />
|
||||
|
||||
<div>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Domaine</th>
|
||||
<th>Bridage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$TotalBDD = count($ListBDD);
|
||||
|
||||
if ( $ListBDD == FALSE )
|
||||
{
|
||||
echo '
|
||||
<tr>
|
||||
<td colspan="2" style="text-align: center; font-weight: bold;">Vous n\'avez aucun domaine actif</td>
|
||||
</tr>';
|
||||
}
|
||||
else
|
||||
{
|
||||
for ($i=0; $i < $TotalBDD; $i++)
|
||||
{
|
||||
if ( $ListBDD[$i]["Bridage"] == "Oui" )
|
||||
{
|
||||
$Bridage = "<img src=\"img/icons-panel/error.png\" style=\"vertical-align: middle;\" alt=\"bridé\" /> bridé";
|
||||
$Couleur = "#FF3333";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Bridage = "<img src=\"img/icons-panel/active.png\" style=\"vertical-align: middle;\" alt=\"débridé\" /> débridé";
|
||||
$Couleur = "#009933";
|
||||
}
|
||||
|
||||
echo '
|
||||
<tr>
|
||||
<td>'.$ListBDD[$i]["Adresse"].'</td>
|
||||
<td style="color: '.$Couleur.';">'.$Bridage.'</td>
|
||||
</tr>';
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
108
0.9.0/panel/module/divers/changelog.php
Executable file
108
0.9.0/panel/module/divers/changelog.php
Executable file
@@ -0,0 +1,108 @@
|
||||
<?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>Changelog Kelio Panel</h3><br />
|
||||
|
||||
<strong>Version : 0.9.0 (le xx octobre 2010)</strong>
|
||||
<ul>
|
||||
<li class="Liste">Panel - Gestion des DNS</li>
|
||||
</ul>
|
||||
<br /><br />
|
||||
|
||||
<strong>Version : 0.8.0 (le 03 octobre 2009)</strong>
|
||||
<ul>
|
||||
<li class="Liste">Panel - Prise en charge des offres</li>
|
||||
<li class="Liste">Robot - Mise en place de quotas</li>
|
||||
<li class="Liste">Panel - Correction de diverses erreurs</li>
|
||||
</ul>
|
||||
<br /><br />
|
||||
|
||||
<strong>Version : 0.7.1 (le 10 novembre 2007)</strong>
|
||||
<ul>
|
||||
<li class="Liste">Panel - Correction de bugs mineurs</li>
|
||||
<li class="Liste">Panel - Suppression de l'affichage de la bande passante utilisé</li>
|
||||
<li class="Liste">Robot - Correction du robot d'affichage des ressources utilisés</li>
|
||||
</ul>
|
||||
<br /><br />
|
||||
|
||||
<strong>Version : 0.7 (le 24 octobre 2007)</strong>
|
||||
<ul>
|
||||
<li class="Liste">Panel - Ajout logos pour les rubriques et nouvelle page d'accueil</li>
|
||||
<li class="Liste">Panel - Affichage des ressources utilisées (Bande passante et espace disque)</li>
|
||||
<li class="Liste">Panel - Modification majeure pour rendre le panel multi-serveurs</li>
|
||||
<li class="Liste">Panel - Ajout de la prise en charge des mails</li>
|
||||
<li class="Liste">Panel - Mode expert pour l'ajout d'un domaine</li>
|
||||
</ul>
|
||||
<br /><br />
|
||||
|
||||
<strong>Version : 0.6.5 (version abandonnée)</strong>
|
||||
<ul>
|
||||
<li class="Liste">Panel - Ajout logos pour les rubriques et nouvelle page d'accueil</li>
|
||||
<li class="Liste">Panel - Amelioration des coupures de chaines dans tous les modules ([...])</li>
|
||||
<li class="Liste">Panel - Ajout du dernier passage du robot sur l'accueil</li>
|
||||
<li class="Liste">Panel - Correction d'erreur de Validation Xhtml 1.0 Strict</li>
|
||||
<li class="Liste">Panel - Modification majeure pour rendre le panel multi-serveurs</li>
|
||||
<li class="Liste">Robot - Remplacement du module Compte->Creation</li>
|
||||
<li class="Liste">Robot - Remplacement du module MySql->Creation</li>
|
||||
<li class="Liste">Robot - Remplacement du module MySql->Suppression</li>
|
||||
<li class="Liste">Robot - Remplacement du module Domaine->Creation</li>
|
||||
<li class="Liste">Robot - Remplacement du module Domaine->Suppression</li>
|
||||
<li class="Liste">Robot - Remplacement du module Compte->Creation</li>
|
||||
</ul>
|
||||
|
||||
<br /><br />
|
||||
<strong>Version : 0.6 (le 29 mai 2007)</strong>
|
||||
<ul>
|
||||
<li class="Liste">Panel - Correction de la regex Commentaire du module Ftp->Ajouter</li>
|
||||
<li class="Liste">Panel - Création du module Divers->Contribuer</li>
|
||||
<li class="Liste">Robot - Correction des droits des utilisateurs MySql</li>
|
||||
<li class="Liste">Robot - Correction des domaines (autoriser l'url rewriting)</li>
|
||||
<li class="Liste">Robot - Correction du changement de date dans la zone dns</li>
|
||||
<li class="Liste">Robot - Changement de la disposition dans la zone dns</li>
|
||||
<li class="Liste">Serveur - Changement de la disposition dans la zone dns</li>
|
||||
<li class="Liste">Serveur - Mise en place d'un systeme de backup rsync</li>
|
||||
</ul>
|
||||
|
||||
<br /><br />
|
||||
<strong>Version : 0.5a (le 17 mai 2007)</strong>
|
||||
<ul>
|
||||
<li class="Liste">Panel - Création du Kelio Panel</li>
|
||||
<li class="Liste">Panel - Création du module Accueil</li>
|
||||
<li class="Liste">Panel - Création du module MySql->Récapitulatif</li>
|
||||
<li class="Liste">Panel - Création du module MySql->Ajout</li>
|
||||
<li class="Liste">Panel - Création du module MySql->Suppression</li>
|
||||
<li class="Liste">Panel - Création du module Ftp->Récapitulatif</li>
|
||||
<li class="Liste">Panel - Création du module Ftp->Ajout</li>
|
||||
<li class="Liste">Panel - Création du module Ftp->Suppression</li>
|
||||
<li class="Liste">Panel - Création du module Domaine->Récapitulatif</li>
|
||||
<li class="Liste">Panel - Création du module Domaine->Ajout</li>
|
||||
<li class="Liste">Panel - Création du module Domaine->Suppression</li>
|
||||
<li class="Liste">Admin - Création de l'admin Kelio Panel</li>
|
||||
<li class="Liste">Admin - Création du module ValidationCompte</li>
|
||||
<li class="Liste">Robot - Création du robot global</li>
|
||||
<li class="Liste">Robot - Création du module Compte->Creation</li>
|
||||
<li class="Liste">Robot - Création du module MySql->Creation</li>
|
||||
<li class="Liste">Robot - Création du module MySql->Suppression</li>
|
||||
<li class="Liste">Robot - Création du module Ftp->Creation</li>
|
||||
<li class="Liste">Robot - Création du module Ftp->Suppression</li>
|
||||
<li class="Liste">Robot - Création du module Domaine->Creation</li>
|
||||
<li class="Liste">Robot - Création du module Domaine->Suppression</li>
|
||||
<li class="Liste">Serveur - Remplacement de PhpMyAdmin par Eskuel</li>
|
||||
</ul>
|
||||
154
0.9.0/panel/module/divers/contribuer.php
Executable file
154
0.9.0/panel/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>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;">
|
||||
<a href="http://www.kelio.asso.fr"><img style="border: 0px;" src="http://kelio.org/image/logo/banniere46860-1.png" alt="Kelio.org - Faites vivre vos idées avec un hébergeur indépendant et alternatif" /> </a>
|
||||
</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;">
|
||||
<a href="http://www.kelio.asso.fr"><img style="border: 0px;" src="http://kelio.org/image/logo/banniere300150.png" alt="Kelio.org - Faites vivre vos idées avec un hébergeur indépendant et alternatif" /> </a>
|
||||
</textarea>
|
||||
</div>
|
||||
Reference in New Issue
Block a user