Migration
This commit is contained in:
187
0.7.1/panel/module/accueil.php
Executable file
187
0.7.1/panel/module/accueil.php
Executable file
@@ -0,0 +1,187 @@
|
||||
<?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.
|
||||
*/
|
||||
$SelectionQuota = $MySql->Select("*", "utilisateur", "Utilisateur='".$_SESSION['Utilisateur']."'", "", "", "", "");
|
||||
if ($SelectionQuota != FALSE)
|
||||
{
|
||||
$Espace = $SelectionQuota[0]["Espace"];
|
||||
$BandePassante = $SelectionQuota[0]["BandePassante"];
|
||||
}
|
||||
else
|
||||
{
|
||||
$Espace = 0;
|
||||
$BandePassante = 0;
|
||||
}
|
||||
|
||||
?>
|
||||
Bienvenue sur l'administration Kelio.org H<>bergement !
|
||||
<br />Veuillez choisir une action <20> effectuer dans le menu ci-contre.
|
||||
<br /><br />
|
||||
<div style="background-image: url(image/icons/message-info.png); background-repeat: no-repeat; padding-left: 35px; min-height: 24px;">
|
||||
N'oubliez pas que notre h<>bergement vit grace <20> vos dons et <20> la publicit<69> ! Mettre une petite publicit<69> sur votre site nous aidera <20> continuer ! Vous <20>tes satisfait du service que nous vous offrons ? Alors faites nous le savoir par votre contribution. <a href="./Page-Divers-Contribuer.html">En savoir plus</a>
|
||||
</div>
|
||||
|
||||
<br /><br />
|
||||
|
||||
<table border="0" style="width: 30%; float: left;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2" style="background-color: #eee;"><img src="image/icons/cube_green.png" alt="info" style="padding-right: 5px;" /><strong>Acc<63>s rapide</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Bases de donn<6E>es" src="image/icons/database.png" /></td>
|
||||
<td><a style=" cursor:pointer" onclick="Cache('JS_bdd');">Bases de donn<6E>es</a></td>
|
||||
</tr>
|
||||
<tr id="JS_bdd" style="display: none">
|
||||
<td colspan="2">
|
||||
<img src="image/icons/em-plus.png" alt="info" style="padding-right: 5px;" /> <a href="Page-MySql-AjoutBdd.html">Ajouter</a><br />
|
||||
<img src="image/icons/em-cross.png" alt="info" style="padding-right: 5px;" /> <a href="Page-MySql-SuppressionBdd.html">Supprimer</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="FTP" src="image/icons/arrow_refresh.png" /></td>
|
||||
<td><a style=" cursor:pointer" onclick="Cache('JS_ftp');">Comptes FTP</a></td>
|
||||
</tr>
|
||||
<tr id="JS_ftp" style="display: none">
|
||||
<td colspan="2">
|
||||
<img src="image/icons/em-plus.png" alt="info" style="padding-right: 5px;" /> <a href="Page-Ftp-AjoutCompte.html">Ajouter</a><br />
|
||||
<img src="image/icons/em-cross.png" alt="info" style="padding-right: 5px;" /> <a href="Page-Ftp-SuppressionCompte.html">Supprimer</a><br/>
|
||||
<img src="image/icons/em-check.png" alt="info" style="padding-right: 5px;" /> <a href="http://webftp.kelio.org">Webftp</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td><img alt="Messagerie" src="image/icons/email.png" /></td>
|
||||
<td><a style=" cursor:pointer" onclick="Cache('JS_email');">Comptes messagerie</a></td>
|
||||
</tr>
|
||||
<tr id="JS_email" style="display: none">
|
||||
<td colspan="2">
|
||||
|
||||
<img src="image/icons/em-plus.png" alt="info" style="padding-right: 5px;" /> <a href="Page-Email-AjoutCompte.html">Ajouter compte</a><br />
|
||||
<img src="image/icons/em-plus.png" alt="info" style="padding-right: 5px;" /> <a href="Page-Email-AjoutAlias.html">Ajouter alias</a><br />
|
||||
<img src="image/icons/em-cross.png" alt="info" style="padding-right: 5px;" /> <a href="Page-Email-Suppression.html">Supprimer compte</a><br/>
|
||||
<img src="image/icons/em-check.png" alt="info" style="padding-right: 5px;" /> <a href="http://webmail.kelio.org">Webmail</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Domaines" src="image/icons/house.png" /></td>
|
||||
<td><a style=" cursor:pointer" onclick="Cache('JS_domaine');">Noms de domaine externes</a></td>
|
||||
</tr>
|
||||
<tr id="JS_domaine" style="display: none">
|
||||
<td colspan="2">
|
||||
<img src="image/icons/em-plus.png" alt="info" style="padding-right: 5px;" /> <a href="Page-Domaine-AjoutDomaineExterne.html">Ajouter</a><br />
|
||||
<img src="image/icons/em-cross.png" alt="info" style="padding-right: 5px;" /> <a href="Page-Domaine-SuppressionDomaineExterne.html">Supprimer</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Compte" src="image/icons/16-member-profile.png" /></td>
|
||||
<td><a style=" cursor:pointer" onclick="Cache('JS_compte');">Votre compte</a></td>
|
||||
</tr>
|
||||
<tr id="JS_compte" style="display: none">
|
||||
<td colspan="2">
|
||||
<img src="image/icons/em-check.png" alt="info" style="padding-right: 5px;" /> Profil<br />
|
||||
<img src="image/icons/em-check.png" alt="info" style="padding-right: 5px;" /> Mot de passe
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="background-color: #eee;"><img src="image/icons/cube_green.png" alt="info" style="padding-right: 5px;" /><strong>Assistance</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Documentation" src="image/icons/book_open.png" /></td>
|
||||
<td><a href="http://wiki.kelio.org">Documentation</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="assistance en ligne" src="image/icons/user_comment.png" /></td>
|
||||
<td><a style=" cursor:pointer" onclick="Cache('JS_assistance');">Assistance en ligne</a></td>
|
||||
</tr>
|
||||
<tr id="JS_assistance" style="display: none">
|
||||
<td colspan="2">
|
||||
<img src="image/icons/em-check.png" alt="info" style="padding-right: 5px;" /><a href="http://www.kelio.org/index.php?id=Contact">Formulaire</a>
|
||||
<br />
|
||||
<img src="image/icons/em-check.png" alt="info" style="padding-right: 5px;" /><a href="http://forum.kelio.org/viewforum.php?id=10">Forum</a>
|
||||
<br />
|
||||
<img src="image/icons/em-check.png" alt="info" style="padding-right: 5px;" /><a href="http://www.kelio.org/index.php?id=IRC">IRC</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img alt="Maintenances ou travaux" src="image/icons/cog.png" /></td>
|
||||
<td><a href="http://suivi.kelio.org">Maintenances ou travaux</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table border="0" style="width: 70%; margin-left: 5px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2" style="background-color: #eee;"><img src="image/icons/cube_green.png" alt="info" style="padding-right: 5px;" /><strong>Informations g<>n<EFBFBD>rales</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="image/icons/wrench.png" alt="technique" style="padding-right: 5px;" />Informations techniques</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 45%">Version :</td>
|
||||
<td>Kelio Panel <strong>0.7.1</strong> (<a href="Page-Divers-Changelog.html">Changelog</a>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finalis<69> le :</td>
|
||||
<td>10 novembre 2007</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cod<6F> par :</td>
|
||||
<td>Mogui</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Version PHP :</td>
|
||||
<td>5.2 (<a href="http://www.kelio.org/phpinfo.php">phpinfo</a>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Version MySQL :</td>
|
||||
<td>5.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="image/icons/group.png" alt="utilisateur" style="padding-right: 5px;" />Informations utilisateur</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 45%">Domaine du client : </td>
|
||||
<td><a href="http://<?php echo $_SESSION['Utilisateur']; ?>.kelio.org">http://<?php echo $_SESSION['Utilisateur']; ?>.kelio.org</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Chemin absolu :</td>
|
||||
<td>/var/www/web/<?php echo $_SESSION['Utilisateur']; ?>/</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serveur de Stockage :</td>
|
||||
<td><?php echo $SelectionQuota[0]["ServeurFichier"] ; ?> (<?php echo gethostbyname ($SelectionQuota[0]["ServeurFichier"]); ?>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serveur MySql :</td>
|
||||
<td><?php echo $SelectionQuota[0]["ServeurMysql"] ; ?> (<?php echo gethostbyname ($SelectionQuota[0]["ServeurMysql"]); ?>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Espace total utilis<69> :</td>
|
||||
<td><?php echo $Espace; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="background-color: #eee;"><img src="image/icons/cube_green.png" alt="info" style="padding-right: 5px;" /><strong>Services compl<70>mentaires</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="image/icons/application_home.png" alt="technique" style="padding-right: 5px;" /><a href="http://www.azote.org">Noms de domaine gratuits</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="image/icons/file-archive.png" alt="fichiers" style="padding-right: 5px;" /><a href="http://www.archive-host.com">Stockage de fichiers en ligne</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
73
0.7.1/panel/module/divers/bridage.php
Executable file
73
0.7.1/panel/module/divers/bridage.php
Executable file
@@ -0,0 +1,73 @@
|
||||
<?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><br />
|
||||
<p>Afin de favoriser les gens qui affichent notre publicit<69> sur leurs sites, un bridage est impos<6F> <20> tous les sites, sauf ceux dont notre pub est affich<63>e.<br />
|
||||
Une limite est fix<69>e uniquement pour le t<>lechargement de fichiers, celle-ci est de 50Ko/sec pour tout le site. <br />
|
||||
Cependant, si notre publicit<69> est affich<63>e au moins sur l'accueil, le site sera totalement d<>brid<69> et pourra ainsi b<>n<EFBFBD>ficier jusqu'<27> 12Mo/sec de bande passante (dans les limites de la charte).<br />
|
||||
Pour afficher notre publicit<69>, veuillez en g<>n<EFBFBD>rer-une sur la page <a href="Page-Divers-Contribuer.html">"Nous soutenir"</a>. (publicit<69>s adsense seulement).<br />
|
||||
Notre robot passe une fois toutes les 24 heures, ne vous <20>tonnez donc pas que le bridage soit toujours actif imm<6D>diatement apr<70>s l'affichage de la publicit<69>.<br />
|
||||
Notez que <?php echo $_SESSION['Utilisateur']; ?>.kelio.org ne peut <20>tre d<>brid<69>.<br /><br />
|
||||
Ci-dessous un r<>capitulatif de tous les bridages sur vos domaines.</p><br />
|
||||
|
||||
<div style="border:#006633 1px solid; width: 90%; margin: auto; margin-top: 15px;">
|
||||
<table style="width:100%">
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center; width: 80%;"><strong>Domaine</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Bridage</strong></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
$TotalBDD = count($ListBDD);
|
||||
|
||||
if ( $ListBDD == FALSE )
|
||||
{
|
||||
echo '
|
||||
<tr>
|
||||
<td class="Tableau1" colspan="2" style="text-align: center;"><strong>Vous n\'avez aucun domaine actif</strong></td>
|
||||
</tr>';
|
||||
}
|
||||
else
|
||||
{
|
||||
for ($i=0; $i < $TotalBDD; $i++)
|
||||
{
|
||||
if ( $ListBDD[$i]["Bridage"] == "Oui" )
|
||||
{
|
||||
$Bridage = "brid<69>";
|
||||
$Couleur = "#FF3333";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Bridage = "d<>brid<69>";
|
||||
$Couleur = "#009933";
|
||||
}
|
||||
|
||||
echo '
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center; width: 80%;">'.$ListBDD[$i]["Adresse"].'</td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%; color: '.$Couleur.';">'.$Bridage.'</td>
|
||||
</tr>';
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
94
0.7.1/panel/module/divers/changelog.php
Executable file
94
0.7.1/panel/module/divers/changelog.php
Executable file
@@ -0,0 +1,94 @@
|
||||
<?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.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<69></li>
|
||||
<li class="Liste">Robot - Correction du robot d'affichage des ressources utilis<69>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<69>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<6E>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<43>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<43>ation du Kelio Panel</li>
|
||||
<li class="Liste">Panel - Cr<43>ation du module Accueil</li>
|
||||
<li class="Liste">Panel - Cr<43>ation du module MySql->R<>capitulatif</li>
|
||||
<li class="Liste">Panel - Cr<43>ation du module MySql->Ajout</li>
|
||||
<li class="Liste">Panel - Cr<43>ation du module MySql->Suppression</li>
|
||||
<li class="Liste">Panel - Cr<43>ation du module Ftp->R<>capitulatif</li>
|
||||
<li class="Liste">Panel - Cr<43>ation du module Ftp->Ajout</li>
|
||||
<li class="Liste">Panel - Cr<43>ation du module Ftp->Suppression</li>
|
||||
<li class="Liste">Panel - Cr<43>ation du module Domaine->R<>capitulatif</li>
|
||||
<li class="Liste">Panel - Cr<43>ation du module Domaine->Ajout</li>
|
||||
<li class="Liste">Panel - Cr<43>ation du module Domaine->Suppression</li>
|
||||
<li class="Liste">Admin - Cr<43>ation de l'admin Kelio Panel</li>
|
||||
<li class="Liste">Admin - Cr<43>ation du module ValidationCompte</li>
|
||||
<li class="Liste">Robot - Cr<43>ation du robot global</li>
|
||||
<li class="Liste">Robot - Cr<43>ation du module Compte->Creation</li>
|
||||
<li class="Liste">Robot - Cr<43>ation du module MySql->Creation</li>
|
||||
<li class="Liste">Robot - Cr<43>ation du module MySql->Suppression</li>
|
||||
<li class="Liste">Robot - Cr<43>ation du module Ftp->Creation</li>
|
||||
<li class="Liste">Robot - Cr<43>ation du module Ftp->Suppression</li>
|
||||
<li class="Liste">Robot - Cr<43>ation du module Domaine->Creation</li>
|
||||
<li class="Liste">Robot - Cr<43>ation du module Domaine->Suppression</li>
|
||||
<li class="Liste">Serveur - Remplacement de PhpMyAdmin par Eskuel</li>
|
||||
</ul>
|
||||
167
0.7.1/panel/module/divers/contribuer.php
Executable file
167
0.7.1/panel/module/divers/contribuer.php
Executable file
@@ -0,0 +1,167 @@
|
||||
<?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<66>rente mani<6E>res : dons, bouche a oreilles, affichage de notre publicit<69>.
|
||||
<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<69>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-----MIIHXwYJKoZIhvcNAQcEoIIHUDCCB0wCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBRtHEe2DORY7LvjtcbKLJP2BkQNPMucMENq8sWGartRSktMAd9L6lHKIvbTZH5tl2RTENr0//KkCdz6JCB2wCm5vyWt2t0GCajYon97U1kuW8NW7rxtG+LuMAkSs0OyMCndlZCu/SKrT54ZCqo4FJJvZSf4da4uJBf2QWFY36j6jELMAkGBSsOAwIaBQAwgdwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIR6zrF95dzRmAgbgoMGt3lLaO77GplNY+E/sB4dlP4kyBWQgg2ZCPs02Ktxmm6p2v2MgekK24a6pezh0nE28P5UsytO/B8F+8zxwimDzT+SIz7H3HPtoT0adA6iocQoVNpELsi5a8779txOzMEWn2HqE+ZVbSWHG+FpXtp3XZEcucOAPLeA8NQOw+UL917GLLG1J2bl8l2sxPGTjvb0ciodN7ycDVusl8hEN6+lHwpikwqXJXW6FUVl9KpvB5+vg32Xq/oIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMB4XDTA0MDIxMzEwMTMxNVoXDTM1MDIxMzEwMTMxNVowgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBR07d/ETMS1ycjtkpkvjXZe9k+6CieLuLsPumsJ7QC1odNz3sJiCbs2wC0nLE0uLGaEtXynIgRqIddYCHx88pb5HTXv4SZeuv0Rqq4+axW9PLAAATU8w04qqjaSXgbGLP3NmohqM6bV9kZZwZLR/klDaQGo1u9uDb9lr4Yn+rBQIDAQABo4HuMIHrMB0GA1UdDgQWBBSWn3y7xm8XvVk/UtcKG+wQ1mSUazCBuwYDVR0jBIGzMIGwgBSWn3y7xm8XvVk/UtcKG+wQ1mSUa6GBlKSBkTCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb22CAQAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQCBXzpWmoBa5e9fo6ujionW1hUhPkOBakTr3YCDjbYfvJEiv/2P+IobhOGJr85+XHhN0v4gUkEDI8r2/rNk1m0GA8HKddvTjyGw/XqXa+LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDcwNzA0MjAzNjIxWjAjBgkqhkiG9w0BCQQxFgQUfLRHwlfDzlXXLb7wKB7AAdXnFQ4wDQYJKoZIhvcNAQEBBQAEgYCWtCelK90nFJifWrtSu28JwHpEhCWnApPzsPY0oE9dkdsic258fV6jF9o7/ukunWUlguGjpD5S53SxD2yUAR0E3xDwKL8SyYQXe5ij05A108zX7dCRBDpYPFu1o26OxAjgykzWz1xUMTIEWif89y1xwLuhS0dvqfdplnweG3S6PQ==-----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 <20> 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<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/>
|
||||
34
0.7.1/panel/module/divers/stockage.php
Executable file
34
0.7.1/panel/module/divers/stockage.php
Executable file
@@ -0,0 +1,34 @@
|
||||
<?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>Stockage de fichiers</h3>
|
||||
<p>Le stockage massif de fichiers sur Kelio est interdit. Cependant, gra<72>e a notre partenaire <a href="http://www.archive-host.com">Archive HOST</a>, vous pouvez uploader vos fichiers.
|
||||
En utilisant le formulaire ci-dessous, vos fichiers seront h<>berg<72>s directement sur les serveurs Archive HOST.
|
||||
<br />Attention, en utilisant le formulaire ci-dessous, vos fichiers seront consid<69>r<EFBFBD>s comme "anonyme", il vous sera impossible de les supprimer. Et ceux-ci seront supprim<69>s au bout de deux mois.
|
||||
Pour <20>viter ces inconv<6E>nients, vous pouvez vous inscrire sur <a href="http://archive-host.com/nos_offres.php">Archive HOST</a>.
|
||||
</p>
|
||||
<br /><br /><br />
|
||||
<div style="width: 500px; margin: auto; text-align: center;" id="JS_body">
|
||||
<form method="post" enctype="multipart/form-data" action="http://archive-host.com/forum.php">
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="20971520" />
|
||||
<input name="file" type="file" />
|
||||
<input type="submit" name="upload" value="Envoyer" class="submit" onClick="ChangeVision('JS_body', 'JS_LOAD');" />
|
||||
</form>
|
||||
</div>
|
||||
<div id="JS_LOAD" style="display:none; text-align:center;">
|
||||
<img src="image/chargement.gif" alt="" /> Envoi de votre fichier en cours, veuillez patienter.</div>
|
||||
111
0.7.1/panel/module/domaine/ajoutdomaine.php
Executable file
111
0.7.1/panel/module/domaine/ajoutdomaine.php
Executable file
@@ -0,0 +1,111 @@
|
||||
<?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 ("*", "utilisateur", "Utilisateur='".$_SESSION['Utilisateur']."'", "", "", "", "");
|
||||
|
||||
?><h3>Ajouter un domaine externe</h3>
|
||||
<br />
|
||||
La Racine du site signifie le dossier dans lequel le domaine pointera.<br />
|
||||
L'OpenBaseDir signifie le dossier jusqu'auquel php peut remonter, vous pouvez pas exemple faire communiquer plusieurs de vos sites entre eux. En g<>n<EFBFBD>ral, celui-ci est identique <20> la racine.
|
||||
<br /><br />
|
||||
Le domaine doit <20>tre d<>pos<6F> aupr<70>s d'un <abbr title="bureau d'enregistrement en fran<61>ais">registrar</abbr>.
|
||||
<br />Il vous faut aussi faire une redirection de type A-record sur l'adresse ip : <strong><?php echo gethostbyname ($ListBDD[0]["ServeurFichier"]) ; ?> (<?php echo $ListBDD[0]["ServeurFichier"]; ?>)</strong>
|
||||
<br />Vous pouvez aussi utiliser des sous-domaines.<br />Tout les champs marqu<71>s d'une <20>toile sont obligatoires.
|
||||
<br />
|
||||
<div style="width:100%; padding-top: 15px; padding-bottom: 15px; text-align:center">
|
||||
<a style=" cursor:pointer" onclick="Cache('JS_ModExpert1'); Cache('JS_ModExpert2'); Cache('JS_ModExpert3'); Cache('JS_ModExpert4'); Cache('JS_ModExpert5'); Cache('JS_ModExpert6'); Cache('JS_ModExpert7'); Cache('JS_ModExpert8'); Cache('JS_ModExpert9'); Cache('JS_ModExpert10'); Cache('JS_ModExpert11'); Cache('JS_ModExpert12');">Mode expert / Mode normal</a><br /></div>
|
||||
|
||||
<div style="width: 500px; margin: auto">
|
||||
<form action="execution-6.html" method="post">
|
||||
<table width="500" cellpadding="5">
|
||||
<tr>
|
||||
<td style="width:150px">*Adresse (sans http://) :</td>
|
||||
<td style="width:350px"><input name="Adresse" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="120" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>*Racine :</td>
|
||||
<td><input name="Racine" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="120" value="/public/" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>*Open BaseDir :</td>
|
||||
<td><input name="BaseDir" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="120" value="/public/" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Commentaire :</td>
|
||||
<td><input name="Commentaire" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="50" /></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert1">
|
||||
<td><span style="cursor: help" title="Host par d<>faut en cas de champs vide pour la fonction mysql_connect ()">Mysq.ldefault_host</span></td>
|
||||
<td><input name="mysqldefault_host" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="100" value="<?php echo $ListBDD[0]["ServeurMysql"]; ?>" /></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert2">
|
||||
<td><span style="cursor: help" title="Utilisateur par d<>faut en cas de champs vide pour la fonction mysql_connect ()">Mysql.default_user</span></td>
|
||||
<td><input name="mysqldefault_user" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="16" /></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert3">
|
||||
<td><span style="cursor: help" title="Password par d<>faut en cas de champs vide pour la fonction mysql_connect ()">Mysql.default_password</span></td>
|
||||
<td><input name="mysqldefault_password" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="16" /></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert4">
|
||||
<td><span style="cursor: help" title="Dossier contenant toute les donn<6E>es temporaires du domaine">Temporaire</span></td>
|
||||
<td><input name="temporaire" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="120" /></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert5">
|
||||
<td><span style="cursor: help" title="Dossier contenant toute les sessions du domaine">Sessions</span></td>
|
||||
<td><input name="sessions" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="120" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>*Listage du dossier :</td>
|
||||
<td><label><input name="Listage" type="radio" value="Oui" checked="checked" /> Oui</label> - <label><input name="Listage" type="radio" value="Non" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert6">
|
||||
<td style="width:150px"><span style="cursor: help" title="Autoriser l'ouvrture de fichier distant via la fonction fopen()">*Allow_url_fopen</span></td>
|
||||
<td style="width:350px"><label><input name="allow_url_fopen" type="radio" value="Oui" /> Oui</label> - <label><input name="allow_url_fopen" type="radio" value="Non" checked="checked" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert7">
|
||||
<td style="width:150px"><span style="cursor: help" title="Autoriser l'inclusion de fichier distant via la fonction include (), etc..">*Allow_url_include</span></td>
|
||||
<td style="width:350px"><label><input name="allow_url_include" type="radio" value="Oui" /> Oui</label> - <label><input name="allow_url_include" type="radio" value="Non" checked="checked" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert8">
|
||||
<td style="width:150px"><span style="cursor: help" title="Voir les erreurs g<>ner<65>s par php">*Display_errors</span></td>
|
||||
<td style="width:350px"><label><input name="display_errors" type="radio" value="Oui" checked="checked" /> Oui</label> - <label><input name="display_errors" type="radio" value="Non" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert9">
|
||||
<td style="width:150px"><span style="cursor: help" title="Permettre l'utilisation de <? ?>">*Short_open_tag</span></td>
|
||||
<td style="width:350px"><label><input name="short_open_tag" type="radio" value="Oui" checked="checked" /> Oui</label> - <label><input name="short_open_tag" type="radio" value="Non" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert10">
|
||||
<td style="width:150px"><span style="cursor: help" title="Demarrer les sessions en d<>but de page sans utiliser session_start ()">*Session.auto_start</span></td>
|
||||
<td style="width:350px"><label><input name="sessionauto_start" type="radio" value="Oui" /> Oui</label> - <label><input name="sessionauto_start" type="radio" value="Non" checked="checked" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert11">
|
||||
<td style="width:150px"><span style="cursor: help" title="Ajoute automatiquement des anti-slashs aux arrays $_POST, etc..">*Magic_quotes_gpc</span></td>
|
||||
<td style="width:350px"><label><input name="magic_quotes_gpc" type="radio" value="Oui" checked="checked" /> Oui</label> - <label><input name="magic_quotes_gpc" type="radio" value="Non" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert12">
|
||||
<td style="width:150px"><span style="cursor: help" title="Permet d'utiliser $_POST['var'] en $var">*Register_globals</span></td>
|
||||
<td style="width:350px"><label><input name="register_globals" type="radio" value="Oui" /> Oui</label> - <label><input name="register_globals" type="radio" value="Non" checked="checked" /> Non</label></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="text-align: center; width: 100%; margin-top: 20px;">
|
||||
<input type="submit" name="Submit" value="Ajouter le domaine" style=" border: #006633 1px solid; background-color: #edffe1;" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
132
0.7.1/panel/module/domaine/recapitulatif.php
Executable file
132
0.7.1/panel/module/domaine/recapitulatif.php
Executable file
@@ -0,0 +1,132 @@
|
||||
<?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.
|
||||
*/
|
||||
$ListTable = $MySql->Select ("*", "domaine", "Utilisateur='".$_SESSION['Utilisateur']."'", "", "", "", "");
|
||||
$CountEnregistrement = count ($ListTable);
|
||||
if ( $ListTable == FALSE ) { $CountEnregistrement = 0; }
|
||||
|
||||
?>
|
||||
<h3>
|
||||
R<EFBFBD>capitulatif de vos domaines externes
|
||||
<a style="border: 0px;" href="http://wiki.kelio.org/doku.php?id=doc_panel:domaine"><img style="vertical-align:middle; border: 0px;" src="image/icons/question.png" alt="Aide" title="Aide" /></a>
|
||||
</h3>
|
||||
<br />
|
||||
Actuellement, vous avez <?php echo $CountEnregistrement; ?> domaine(s) externe(s)
|
||||
<br />Passez votre souris sur le commentaire pour le voir en entier.
|
||||
<br />Idem pour le chemin, ainsi que le Basedir<br />
|
||||
<br />
|
||||
Le statut "Cr<43>ation" signifie que votre domaine est en attente de cr<63>ation par notre robot. <br />
|
||||
Normalement, cette op<6F>ration prend moins d'une heure.<br />
|
||||
Il en est de meme pour le statut "Suppression".
|
||||
<br /><br />
|
||||
|
||||
<div style="border:#006633 1px solid; width: 90%; margin: auto; margin-top: 15px;">
|
||||
<table style="width:100%">
|
||||
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><strong>Adresse</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><strong>Date</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 10%;"><strong>Statut</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Racine</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Basedir</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Commentaire</strong></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
if ( $ListTable == FALSE )
|
||||
{
|
||||
echo '<tr><td class="Tableau1" style="text-align: center; width: 100%;" colspan="6">Aucun domaine pour le moment</td></tr>';
|
||||
}
|
||||
else
|
||||
{
|
||||
for ($i=0; $i < $CountEnregistrement; $i++)
|
||||
{
|
||||
if ( $ListTable[$i]["Status"] == "1" )
|
||||
{
|
||||
$Status = "Creation";
|
||||
}
|
||||
elseif ( $ListTable[$i]["Status"] == "2" )
|
||||
{
|
||||
$Status = "Activ<69>";
|
||||
}
|
||||
elseif ( $ListTable[$i]["Status"] == "3" )
|
||||
{
|
||||
$Status = "Suppression";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Status = "Erreur";
|
||||
}
|
||||
|
||||
if ( strlen($ListTable[$i]["Adresse"]) > 10 )
|
||||
{
|
||||
$Adresse = substr($ListTable[$i]["Adresse"], 0, 10)." ...";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Adresse = $ListTable[$i]["Adresse"];
|
||||
}
|
||||
|
||||
if ( strlen($ListTable[$i]["Racine"]) > 16 )
|
||||
{
|
||||
$Racine = substr($ListTable[$i]["Racine"], 0 ,16)." ...";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Racine = $ListTable[$i]["Racine"];
|
||||
}
|
||||
|
||||
if ( strlen ($ListTable[$i]["OpenBasedir"]) > 16 )
|
||||
{
|
||||
$Basedir = substr($ListTable[$i]["OpenBasedir"], 0 ,16)." ...";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Basedir = $ListTable[$i]["OpenBasedir"];
|
||||
}
|
||||
|
||||
if ( strlen ($ListTable[$i]["Commentaire"]) > 13 )
|
||||
{
|
||||
$Commentaire = substr($ListTable[$i]["Commentaire"], 0 ,16)." ...";
|
||||
}
|
||||
elseif ( strlen ($ListTable[$i]["Commentaire"]) == 0)
|
||||
{
|
||||
$Commentaire = "-";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Commentaire = $ListTable[$i]["Commentaire"];
|
||||
}
|
||||
|
||||
|
||||
echo '
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><span style="cursor: pointer" title="'.$ListTable[$i]["Adresse"].'">'.$Adresse.'</span></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><span style="cursor: pointer" title="'.date ("d-m-Y H:i:s",$ListTable[$i]["DateDeCreation"]).'">'.date("d-m-Y", $ListTable[$i]["DateDeCreation"]).'</span></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 10%;">'.$Status.'</td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><span style="cursor: pointer" title="'.$ListTable[$i]["Racine"].'">'.$Racine.'</span></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><span style="cursor: pointer" title="'.$ListTable[$i]["OpenBasedir"].'">'.$Basedir.'</span></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><span style="cursor: pointer" title="'.$ListTable[$i]["Commentaire"].'">'.$Commentaire.'</span></td>
|
||||
</tr>';
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
65
0.7.1/panel/module/domaine/suppressiondomaine.php
Executable file
65
0.7.1/panel/module/domaine/suppressiondomaine.php
Executable file
@@ -0,0 +1,65 @@
|
||||
<?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.
|
||||
*/
|
||||
$ListTable = $MySql->Select ("*", "domaine", "Utilisateur='".$_SESSION['Utilisateur']."' AND Status='2'", "", "", "", "");
|
||||
|
||||
?>
|
||||
<h3>Supprimer un domaine externe</h3>
|
||||
<br />
|
||||
En cas d'erreur, vous devrez attendre que l'adresse soit totalement supprim<69>e du serveur pour pouvoir la recr<63>er.<br />
|
||||
<br /><br /><br />
|
||||
|
||||
<div style="width: 500px; margin: auto">
|
||||
<form action="execution-7.html" method="post">
|
||||
<table width="500" cellpadding="5">
|
||||
|
||||
<tr>
|
||||
<td style="width:150px">Domaine <20> supprimer :</td>
|
||||
<td style="width:350px">
|
||||
<select name="Domaine" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%;">
|
||||
<option selected="selected" value="">S<>lectionnez</option>
|
||||
<?php
|
||||
if ( $ListTable == FALSE)
|
||||
{
|
||||
$TotalEnregistement = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
$TotalEnregistement = count ($ListTable);
|
||||
}
|
||||
|
||||
for ($i=0; $i < $TotalEnregistement; $i++)
|
||||
{
|
||||
echo "<option value='".$ListTable[$i]["Adresse"]."'>".$ListTable[$i]["Adresse"]."</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Tapez "oui" :</td>
|
||||
<td><input name="Confirmation" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%;" maxlength="3" /></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<div style="text-align: center; width: 100%; margin-top: 20px;">
|
||||
<input type="submit" name="Submit" value="Supprimer le domaine" style=" border: #006633 1px solid; background-color: #edffe1;" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
53
0.7.1/panel/module/email/ajoutalias.php
Executable file
53
0.7.1/panel/module/email/ajoutalias.php
Executable file
@@ -0,0 +1,53 @@
|
||||
<?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>Ajouter un alias email</h3>
|
||||
<br />
|
||||
Un alias est un email qui redirige tout le courriel vers un autre.
|
||||
<br /><br />
|
||||
Les alias emails sont compatible uniquement avec les domaines externes.<br />
|
||||
Avant d'ajouter un alias, veuillez au pr<70>alable lui d<>finir une redirection de <strong>type MX</strong> pointant vers <strong><?php echo gethostbyname('mail.kelio.org'); ?> (mail.kelio.org)</strong>. Dans le cas contraire, il vous sera impossible d'ajouter de compte.
|
||||
<br /><br />
|
||||
L'alias sera cr<63><72> dans l'heure qui suit.
|
||||
<br /><br /><br />
|
||||
|
||||
<div style="width: 500px; margin: auto">
|
||||
<form action="execution-9.html" method="post">
|
||||
<table width="500" cellpadding="5">
|
||||
<tr>
|
||||
<td style="width:100px">Courriel :</td>
|
||||
<td style="width:400px"><input name="Nom" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="60" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pointage :</td>
|
||||
<td><input name="Pointage" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="60" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Commentaire :</td>
|
||||
<td><input name="Commentaire" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="50" /></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<div style="text-align: center; width: 100%; margin-top: 20px;">
|
||||
<input type="submit" name="Submit" value="Cr<43>er l'alias email" style=" border: #006633 1px solid; background-color: #edffe1;" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
52
0.7.1/panel/module/email/ajoutcompte.php
Executable file
52
0.7.1/panel/module/email/ajoutcompte.php
Executable file
@@ -0,0 +1,52 @@
|
||||
<?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>Ajouter un compte email</h3>
|
||||
<br />
|
||||
Le compte sera hebergé par Kelio, vous pourrez y accéder par <a href="http://webmail.kelio.org">notre webmail</a> ou via les protocoles IMAP/POP3 en utilisant le serveur <strong>mail.kelio.org</strong>.
|
||||
<br /><br />
|
||||
Les comptes emails sont compatible uniquement avec les domaines externes.<br />
|
||||
Avant d'ajouter un compte, veuillez au pr<70>alable lui d<>finir une redirection de <strong>type MX</strong> pointant vers <strong><?php echo gethostbyname('mail.kelio.org'); ?> (mail.kelio.org)</strong>. Dans le cas contraire, il vous sera impossible d'ajouter de compte.
|
||||
<br /><br />
|
||||
Le compte sera cr<63><72> dans l'heure qui suit.
|
||||
<br /><br /><br />
|
||||
|
||||
<div style="width: 500px; margin: auto">
|
||||
<form action="execution-8.html" method="post">
|
||||
<table width="500" cellpadding="5">
|
||||
<tr>
|
||||
<td style="width:100px">Courriel :</td>
|
||||
<td style="width:400px"><input name="Nom" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="60" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mot de passe :</td>
|
||||
<td><input name="MotDePasse" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="9" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Commentaire :</td>
|
||||
<td><input name="Commentaire" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="50" /></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<div style="text-align: center; width: 100%; margin-top: 20px;">
|
||||
<input type="submit" name="Submit" value="Cr<43>er le compte email" style=" border: #006633 1px solid; background-color: #edffe1;" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
207
0.7.1/panel/module/email/recapitulatif.php
Executable file
207
0.7.1/panel/module/email/recapitulatif.php
Executable file
@@ -0,0 +1,207 @@
|
||||
<?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.
|
||||
*/
|
||||
$ListCompte = $MySql->Select ("*", "email", "Utilisateur='".$_SESSION['Utilisateur']."' AND Type='compte'", "", "", "", "");
|
||||
$ListAlias = $MySql->Select ("*", "email", "Utilisateur='".$_SESSION['Utilisateur']."' AND Type='alias'", "", "", "", "");
|
||||
|
||||
$CountCompte = count($ListCompte);
|
||||
$CountAlias = count ($ListAlias);
|
||||
|
||||
if ( $ListCompte == FALSE ) { $CountCompte = 0; }
|
||||
if ( $ListAlias == FALSE ) { $CountAlias = 0; }
|
||||
|
||||
?>
|
||||
<h3>R<>capitulatif de comptes et alias e-mail
|
||||
<a style="border: 0px;" href="http://wiki.kelio.org/doku.php?id=doc_panel:email"><img style="vertical-align:middle; border: 0px;" src="image/icons/question.png" alt="Aide" title="Aide" /></a>
|
||||
</h3>
|
||||
<br />
|
||||
Actuellement, vous avez <?php echo $CountCompte; ?> compte(s) email et <?php echo $CountAlias; ?> alias.
|
||||
<br />
|
||||
Passez votre souris sur le commentaire pour le voir en entier.<br /><br />
|
||||
Le statut "Cr<43>ation" signifie que votre compte/alias est en attente de cr<63>ation par notre robot. <br />
|
||||
Normalement, cette op<6F>ration prend moins d'une heure.<br />
|
||||
Il en est de meme pour le statut "Suppression".
|
||||
<br /><br />
|
||||
<h4>Liste des comptes email</h4>
|
||||
<div style="border:#006633 1px solid; width: 90%; margin: auto; margin-top: 15px;">
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Nom</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><strong>Date</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 10%;"><strong>Statut</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><strong>Mot de passe</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 25%;"><strong>Commentaire</strong></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
if ( $ListCompte == FALSE )
|
||||
{
|
||||
echo '
|
||||
<tr>
|
||||
<td colspan="6" class="Tableau1" style="text-align:center"><strong>Il n\'y a aucun email pour le moment.</strong></td>
|
||||
</tr>';
|
||||
}
|
||||
else
|
||||
{
|
||||
for ($i=0; $i < $CountCompte; $i++)
|
||||
{
|
||||
|
||||
if ( $ListCompte[$i]["Status"] == "1" )
|
||||
{
|
||||
$Status = "Creation";
|
||||
}
|
||||
elseif ( $ListCompte[$i]["Status"] == "2" )
|
||||
{
|
||||
$Status = "Activ<69>";
|
||||
}
|
||||
elseif ( $ListCompte[$i]["Status"] == "3" )
|
||||
{
|
||||
$Status = "Suppression";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Status = "Erreur";
|
||||
}
|
||||
|
||||
if ( strlen($ListCompte[$i]["Commentaire"]) > 19 )
|
||||
{
|
||||
$Commentaire = substr ($ListCompte[$i]["Commentaire"], 0, 19)." ...";
|
||||
}
|
||||
elseif ( strlen($ListCompte[$i]["Commentaire"]) == 0 )
|
||||
{
|
||||
$Commentaire = "-";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Commentaire = $ListCompte[$i]["Commentaire"];
|
||||
}
|
||||
|
||||
if ( strlen($ListCompte[$i]["Nom"]) > 16 )
|
||||
{
|
||||
$Nom = substr ($ListCompte[$i]["Nom"], 0, 16)." ...";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Nom = $ListCompte[$i]["Nom"];
|
||||
}
|
||||
|
||||
echo '
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center;"><span style="cursor:pointer;" title="'.$ListCompte[$i]["Nom"].'">'.$Nom.'</span></td>
|
||||
<td class="Tableau1" style="text-align: center;"><span style="cursor: pointer" title="'.date ("d-m-Y H:i:s",$ListCompte[$i]["DateDeCreation"]).'">'.date("d-m-Y", $ListCompte[$i]["DateDeCreation"]).'</span></td>
|
||||
<td class="Tableau1" style="text-align: center;">'.$Status.'</td>
|
||||
<td class="Tableau1" style="text-align: center;">'.$ListCompte[$i]["Password"].'</td>
|
||||
<td class="Tableau1" style="text-align: center;">'.$Commentaire.'</td>
|
||||
</tr>';
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<h4>Liste des alias email</h4>
|
||||
<div style="border:#006633 1px solid; width: 90%; margin: auto; margin-top: 15px;">
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center; width: 25%;"><strong>Nom</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><strong>Date</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 10%;"><strong>Statut</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 25%;"><strong>Destination</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 25%;"><strong>Commentaire</strong></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
if ( $ListAlias == FALSE )
|
||||
{
|
||||
echo '
|
||||
<tr>
|
||||
<td colspan="6" class="Tableau1" style="text-align:center"><strong>Il n\'y a aucun alias pour le moment.</strong></td>
|
||||
</tr>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
for ($i=0; $i < $CountAlias; $i++)
|
||||
{
|
||||
|
||||
if ( $ListAlias[$i]["Status"] == "1" )
|
||||
{
|
||||
$Status = "Creation";
|
||||
}
|
||||
elseif ( $ListAlias[$i]["Status"] == "2" )
|
||||
{
|
||||
$Status = "Activ<69>";
|
||||
}
|
||||
elseif ( $ListAlias[$i]["Status"] == "3" )
|
||||
{
|
||||
$Status = "Suppression";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Status = "Erreur";
|
||||
}
|
||||
|
||||
if ( strlen($ListAlias[$i]["Nom"]) > 16 )
|
||||
{
|
||||
$Nom = substr ($ListAlias[$i]["Nom"], 0, 16)." ...";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Nom = $ListAlias[$i]["Nom"];
|
||||
}
|
||||
|
||||
if ( strlen($ListAlias[$i]["Pointage"]) > 16 )
|
||||
{
|
||||
$Pointage = substr ($ListAlias[$i]["Pointage"], 0, 16)." ...";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Pointage = $ListAlias[$i]["Pointage"];
|
||||
}
|
||||
|
||||
if ( strlen($ListAlias[$i]["Commentaire"]) > 16 )
|
||||
{
|
||||
$Commentaire = substr ($ListCompte[$i]["Commentaire"], 0, 16)." ...";
|
||||
}
|
||||
elseif ( strlen($ListAlias[$i]["Commentaire"]) == 0 )
|
||||
{
|
||||
$Commentaire = "-";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Commentaire = $ListAlias[$i]["Commentaire"];
|
||||
}
|
||||
|
||||
echo '
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center;"><span style="cursor:pointer;" title="'.$ListAlias[$i]["Nom"].'">'.$Nom.'</span></td>
|
||||
<td class="Tableau1" style="text-align: center;"><span style="cursor: pointer" title="'.date ("d-m-Y H:i:s",$ListAlias[$i]["DateDeCreation"]).'">'.date("d-m-Y", $ListAlias[$i]["DateDeCreation"]).'</span></td>
|
||||
<td class="Tableau1" style="text-align: center;">'.$Status.'</td>
|
||||
<td class="Tableau1" style="text-align: center;"><span style="cursor:pointer;" title="'.$ListAlias[$i]["Pointage"].'">'.$Pointage.'</span></td>
|
||||
<td class="Tableau1" style="text-align: center;"><span style="cursor:pointer;" title="'.$ListAlias[$i]["Commentaire"].'">'.$Commentaire.'</span></td>
|
||||
</tr>';
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
67
0.7.1/panel/module/email/suppression.php
Executable file
67
0.7.1/panel/module/email/suppression.php
Executable file
@@ -0,0 +1,67 @@
|
||||
<?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.
|
||||
*/
|
||||
$ListTable = $MySql->Select ("*", "email", "Utilisateur='".$_SESSION['Utilisateur']."' AND Status='2'", "", "", "", "");
|
||||
|
||||
?>
|
||||
<h3>Supprimer un compte ou un alias</h3>
|
||||
Avant de supprimer un compte email, assurez vous d'avoir fais une backup de toute vos donn<6E>es.
|
||||
<br /><br />
|
||||
Une fois la suppression effectu<74>e, le compte/alias ne sera plus actif, et le serveur refusera alors tous courriels.
|
||||
<br /><br /><br />
|
||||
|
||||
|
||||
<div style="width: 500px; margin: auto">
|
||||
<form action="execution-10.html" method="post">
|
||||
<table width="500" cellpadding="5">
|
||||
|
||||
<tr>
|
||||
<td style="width:150px">Email <20> supprimer :</td>
|
||||
<td style="width:350px">
|
||||
<select name="Nom" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%;">
|
||||
<option selected="selected" value="">S<>lectionnez</option>
|
||||
<?php
|
||||
if ( $ListTable == FALSE)
|
||||
{
|
||||
$TotalEnregistement = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
$TotalEnregistement = count ($ListTable);
|
||||
}
|
||||
|
||||
for ($i=0; $i < $TotalEnregistement; $i++)
|
||||
{
|
||||
echo "<option value='".$ListTable[$i]["Nom"]."'>".$ListTable[$i]["Nom"]." (".$ListTable[$i]["Type"].")</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Tapez "oui" :</td>
|
||||
<td><input name="Confirmation" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%;" maxlength="3" /></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<div style="text-align: center; width: 100%; margin-top: 20px;">
|
||||
<input type="submit" name="Submit" value="Supprimer l'email" style=" border: #006633 1px solid; background-color: #edffe1;" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
22
0.7.1/panel/module/erreur/desactive.php
Executable file
22
0.7.1/panel/module/erreur/desactive.php
Executable file
@@ -0,0 +1,22 @@
|
||||
<?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>Cette page est d<>sactiv<69>e.</h3>
|
||||
<p>Un administrateur a d<>sactiv<69> cette page. Pour plus d'information, contactez les administrateurs.</p>
|
||||
<br /><br />
|
||||
<p>Veuillez nous excuser pour la g<>ne occasionn<6E>e</p>
|
||||
22
0.7.1/panel/module/erreur/inconnu.php
Executable file
22
0.7.1/panel/module/erreur/inconnu.php
Executable file
@@ -0,0 +1,22 @@
|
||||
<?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>Cette page est inconnue sur le serveur ...</h3>
|
||||
<p>Si vous vouliez acc<63>der <20> cette page en suivant un lien, veuillez le signaler aux administrateurs.</p>
|
||||
<br /><br />
|
||||
<p>Veuillez nous excuser pour la g<>ne occasionn<6E>e</p>
|
||||
52
0.7.1/panel/module/ftp/ajoutcompte.php
Executable file
52
0.7.1/panel/module/ftp/ajoutcompte.php
Executable file
@@ -0,0 +1,52 @@
|
||||
<?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>Ajouter un compte Ftp</h3><br />
|
||||
Le nom de votre compte ftp ne doit contenir que les caract<63>res a-z et 0-9 (3 caract<63>res minimum et 9 maximum).<br />
|
||||
Au nom de votre compte ftp, sera rajout<75> automatiquement le pr<70>fixe : "<?php echo $_SESSION['Utilisateur'] ; ?>_" <br />
|
||||
Le mot de passe pour acc<63>der <20> ce compte ne sera pas crypt<70>, et accessible depuis le r<>capitulatif.<br />
|
||||
Le mot de passe, tout comme le nom, ne doit contenir que les caract<63>res a-z et 0-9 (3 caract<63>res minimim et 9 maximim).<br/>
|
||||
V<EFBFBD>rifiez que le chemin indiqu<71> corresponde bien <20> un dossier existant sur votre espace web.
|
||||
<br /><br /><br />
|
||||
|
||||
<div style="width: 500px; margin: auto">
|
||||
<form action="execution-4.html" method="post">
|
||||
<table width="500" cellpadding="5">
|
||||
<tr>
|
||||
<td style="width:100px">Nom du compte :</td>
|
||||
<td style="width:400px"><input name="Nom" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="9" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mot de passe :</td>
|
||||
<td><input name="MotDePasse" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="9" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Chemin :</td>
|
||||
<td><input name="Chemin" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="70" value="/" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Commentaire :</td>
|
||||
<td><input name="Commentaire" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="50" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="text-align: center; width: 100%; margin-top: 20px;">
|
||||
<input type="submit" name="Submit" value="Cr<43>er le compte ftp" style=" border: #006633 1px solid; background-color: #edffe1;" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
113
0.7.1/panel/module/ftp/recapitulatif.php
Executable file
113
0.7.1/panel/module/ftp/recapitulatif.php
Executable file
@@ -0,0 +1,113 @@
|
||||
<?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.
|
||||
*/
|
||||
$ListTable = $MySql->Select ("*", "ftp", "Utilisateur='".$_SESSION['Utilisateur']."'", "", "", "", "");
|
||||
$CountEnregistrement = count ($ListTable);
|
||||
if ( $ListTable == FALSE ) { $CountEnregistrement = 0; }
|
||||
|
||||
?>
|
||||
<h3>
|
||||
R<EFBFBD>capitulatif de vos comptes Ftp
|
||||
<a style="border: 0px;" href="http://wiki.kelio.org/doku.php?id=doc_panel:ftp"><img style="vertical-align:middle; border: 0px;" src="image/icons/question.png" alt="Aide" title="Aide" /></a>
|
||||
</h3>
|
||||
<br />
|
||||
Actuellement, vous avez <?php echo $CountEnregistrement ; ?> compte(s) ftp.
|
||||
<br />
|
||||
Passez votre souris sur le commentaire pour le voir en entier.<br />
|
||||
Idem pour le chemin<br /><br />
|
||||
Le statut "Cr<43>ation ..." signifie que votre compte FTP est en attente de cr<63>ation par notre robot. <br />
|
||||
Normalement, cette op<6F>ration prend moins d'une heure.<br />
|
||||
Il en est de meme pour le statut "Suppression ...".
|
||||
<br /><br/>Le dossier de publication de votre domaine <?php echo $_SESSION['Utilisateur']; ?>.kelio.org est /public<br />
|
||||
Le premier compte ftp doit pointer sur / .<br />
|
||||
|
||||
<div style="border:#006633 1px solid; width: 90%; margin: auto; margin-top: 15px;">
|
||||
<table style="width:100%">
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Nom</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><strong>Date</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 10%;"><strong>Statut</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><strong>Mot de passe</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Chemin</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Commentaire</strong></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
if ( $ListTable == FALSE )
|
||||
{
|
||||
echo '<tr><td class="Tableau1" style="text-align: center; width: 100%;" colspan="6">Aucun compte ftp pour le moment</td></tr>';
|
||||
}
|
||||
else
|
||||
{
|
||||
for ($i=0; $i < $CountEnregistrement; $i++)
|
||||
{
|
||||
if ( $ListTable[$i]["Status"] == "1" )
|
||||
{
|
||||
$Status = "Creation";
|
||||
}
|
||||
elseif ( $ListTable[$i]["Status"] == "2" )
|
||||
{
|
||||
$Status = "Activ<69>";
|
||||
}
|
||||
elseif ( $ListTable[$i]["Status"] == "3" )
|
||||
{
|
||||
$Status = "Suppression";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Status = "Erreur";
|
||||
}
|
||||
|
||||
if ( strlen($ListTable[$i]["Chemin"]) > 16 )
|
||||
{
|
||||
$Chemin = substr ($ListTable[$i]["Chemin"], 0, 16)." ...";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Chemin = $ListTable[$i]["Chemin"];
|
||||
}
|
||||
|
||||
if ( strlen($ListTable[$i]["Commentaire"]) > 16 )
|
||||
{
|
||||
$Commentaire = substr ($ListTable[$i]["Commentaire"], 0, 16)." ...";
|
||||
}
|
||||
elseif ( strlen($ListTable[$i]["Commentaire"]) == 0 )
|
||||
{
|
||||
$Commentaire = "-";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Commentaire = $ListTable[$i]["Commentaire"];
|
||||
}
|
||||
|
||||
echo '
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center;">'.$ListTable[$i]["Nom"].'</td>
|
||||
<td class="Tableau1" style="text-align: center;"><span style="cursor: pointer" title="'.date ("d-m-Y H:i:s",$ListTable[$i]["DateDeCreation"]).'">'.date("d-m-Y", $ListTable[$i]["DateDeCreation"]).'</span></td>
|
||||
<td class="Tableau1" style="text-align: center;">'.$Status.'</td>
|
||||
<td class="Tableau1" style="text-align: center;">'.$ListTable[$i]["Password"].'</td>
|
||||
<td class="Tableau1" style="text-align: center;"><span style="cursor: pointer" title="'.$ListTable[$i]["Chemin"].'">'.$Chemin.'</span></td>
|
||||
<td class="Tableau1" style="text-align: center;"><span style="cursor: pointer" title="'.$ListTable[$i]["Commentaire"].'">'.$Commentaire.'</span></td>
|
||||
</tr>' ;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
66
0.7.1/panel/module/ftp/suppressioncompte.php
Executable file
66
0.7.1/panel/module/ftp/suppressioncompte.php
Executable file
@@ -0,0 +1,66 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
$ListTable = $MySql->Select ("*", "ftp", "Utilisateur='".$_SESSION['Utilisateur']."' AND Status='2'", "", "", "", "");
|
||||
|
||||
?>
|
||||
<h3>Supprimer un compte ftp</h3>
|
||||
<br />
|
||||
En cas d'erreur, vous devrez attendre que le compte soit totalement supprim<69> du serveur pour pouvoir le recr<63>er.<br />
|
||||
Afin d'<27>viter toute erreur, vous devrez entrer le mot de passe du compte. (vous pouvez le voir sur la page "R<>capitulatif").
|
||||
<br /><br /><br />
|
||||
|
||||
<div style="width: 500px; margin: auto">
|
||||
<form action="execution-5.html" method="post">
|
||||
<table width="500" cellpadding="5">
|
||||
<tr>
|
||||
<td style="width:150px">Compte a supprimer :</td>
|
||||
<td style="width:350px">
|
||||
<select name="Nom" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%;">
|
||||
<option selected="selected" value="">S<>lectionnez</option>
|
||||
<?php
|
||||
if ( $ListTable == FALSE)
|
||||
{
|
||||
$TotalEnregistement = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
$TotalEnregistement = count ($ListTable);
|
||||
}
|
||||
|
||||
for ($i=0; $i < $TotalEnregistement; $i++)
|
||||
{
|
||||
echo "<option value='".$ListTable[$i]["Nom"]."'>".$ListTable[$i]["Nom"]."</option>\n";
|
||||
}
|
||||
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mot de passe :</td>
|
||||
<td><input name="MotDePasse" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%;" maxlength="9" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="text-align: center; width: 100%; margin-top: 20px;">
|
||||
<input type="submit" name="Submit" value="Supprimer le compte FTP" style=" border: #006633 1px solid; background-color: #edffe1;" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
49
0.7.1/panel/module/mysql/ajoutbdd.php
Executable file
49
0.7.1/panel/module/mysql/ajoutbdd.php
Executable file
@@ -0,0 +1,49 @@
|
||||
<?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>Ajouter une base de donn<6E>es</h3>
|
||||
<br />
|
||||
Le nom de votre base de donn<6E>es ne doit contenir que les caract<63>res a-z et 0-9 (3 caract<63>res minimum et 6 maximum).<br />
|
||||
Au nom de votre base de donn<6E>es, sera rajout<75> automatiquement le pr<70>fixe : "<?php echo $_SESSION['Utilisateur'] ; ?>_" <br />
|
||||
Le mot de passe pour acc<63>der <20> cette nouvelle base de donn<6E>es ne sera pas crypt<70>, et accessible depuis le r<>capitulatif.<br />
|
||||
Le mot de passe, tout comme le nom, ne doit contenir que les caract<63>res a-z et 0-9 (3 caract<63>res minimum et 9 maximum).
|
||||
<br /><br /><br />
|
||||
|
||||
<div style="width: 500px; margin: auto">
|
||||
<form action="execution-2.html" method="post">
|
||||
<table width="500" cellpadding="5">
|
||||
<tr>
|
||||
<td style="width:100px">Nom de la base :</td>
|
||||
<td style="width:400px"><input name="Nom" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="9" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mot de passe :</td>
|
||||
<td><input name="MotDePasse" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%;" maxlength="9" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Commentaire :</td>
|
||||
<td><input name="Commentaire" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%;" maxlength="50" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="text-align: center; width: 100%; margin-top: 20px;">
|
||||
<input type="submit" name="Submit" value="Cr<43>er la base de donn<6E>es" style=" border: #006633 1px solid; background-color: #edffe1;" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
99
0.7.1/panel/module/mysql/recapitulatif.php
Executable file
99
0.7.1/panel/module/mysql/recapitulatif.php
Executable file
@@ -0,0 +1,99 @@
|
||||
<?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.
|
||||
*/
|
||||
$ListTable = $MySql->Select ("*", "basededonnee", "Utilisateur='".$_SESSION['Utilisateur']."'", "", "", "", "");
|
||||
$CountTable = count ($ListTable);
|
||||
if ( $ListTable == FALSE ) { $CountTable = 0; }
|
||||
?>
|
||||
<h3>
|
||||
R<EFBFBD>capitulatif de vos bases de donn<6E>es MySql
|
||||
<a style="border: 0px;" href="http://wiki.kelio.org/doku.php?id=doc_panel:mysql"><img style="vertical-align:middle; border: 0px;" src="image/icons/question.png" alt="Aide" title="Aide" /></a>
|
||||
</h3>
|
||||
<br />
|
||||
Actuellement, vous avez <?php echo $CountTable; ?> base(s) de donn<6E>e(s).
|
||||
<br />
|
||||
Passez votre souris sur le commentaire pour le voir en entier.<br /><br />
|
||||
Le statut "Cr<43>ation" signifie que votre base de donn<6E>es est en attente de cr<63>ation par notre robot. <br />
|
||||
Normalement, cette op<6F>ration prend moins d'une heure.<br />
|
||||
Il en est de meme pour le statut "Suppression".
|
||||
<br /><br />
|
||||
<div style="border:#006633 1px solid; width: 90%; margin: auto; margin-top: 15px;">
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><strong>Nom</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Date</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><strong>Statut</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Mot de passe</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 30%;"><strong>Commentaire</strong></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
if ( $ListTable == FALSE )
|
||||
{
|
||||
echo '
|
||||
<tr><td class="Tableau1" style="text-align: center; width: 100%;" colspan="5">Aucune base de donn<6E>es pour le moment</td></tr>' ;
|
||||
}
|
||||
else
|
||||
{
|
||||
for ($i=0; $i < $CountTable; $i++)
|
||||
{
|
||||
if ( $ListTable[$i]["Status"] == "1" )
|
||||
{
|
||||
$Status = "Creation";
|
||||
}
|
||||
elseif ( $ListTable[$i]["Status"] == "2" )
|
||||
{
|
||||
$Status = "Activ<69>";
|
||||
}
|
||||
elseif ( $ListTable[$i]["Status"] == "3" )
|
||||
{
|
||||
$Status = "Suppression";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Status = "Erreur";
|
||||
}
|
||||
|
||||
if ( strlen($ListTable[$i]["Commentaire"]) > 16 )
|
||||
{
|
||||
$Commentaire = substr ($ListTable[$i]["Commentaire"], 0, 16)." ...";
|
||||
}
|
||||
elseif ( strlen($ListTable[$i]["Commentaire"]) == 0 )
|
||||
{
|
||||
$Commentaire = "-";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Commentaire = $ListTable[$i]["Commentaire"];
|
||||
}
|
||||
|
||||
echo '
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;">'.$ListTable[$i]["Nom"].'</td>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><span style="cursor: pointer" title="'.date ("d-m-Y H:i:s",$ListTable[$i]["DateDeCreation"]).'">'.date("d-m-Y", $ListTable[$i]["DateDeCreation"]).'</span></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;">'.$Status.'</td>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;">'.$ListTable[$i]["Password"].'</td>
|
||||
<td class="Tableau1" style="text-align: center; width: 55%;"><span style="cursor: pointer" title="'.$ListTable[$i]["Commentaire"].'">'.$Commentaire.'</span></td>
|
||||
</tr>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
67
0.7.1/panel/module/mysql/suppressionbdd.php
Executable file
67
0.7.1/panel/module/mysql/suppressionbdd.php
Executable file
@@ -0,0 +1,67 @@
|
||||
<?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.
|
||||
*/
|
||||
$ListTable = $MySql->Select ("*", "basededonnee", "Utilisateur='".$_SESSION['Utilisateur']."' AND Status='2'", "", "", "", "");
|
||||
|
||||
?>
|
||||
<h3>Supprimer une base de donn<6E>es</h3>
|
||||
<br />
|
||||
Attention, une fois votre base de donn<6E>es supprim<69>e, vous ne pourrez plus revenir sur votre choix.<br />
|
||||
Pensez <20> faire une sauvegarde avant de la mettre en attente de suppression.
|
||||
<br /> Seules les bases de donn<6E>es ayant leur statut "activ<69>" peuvent <20>tre supprim<69>es. Si ce n'est pas le cas, veuillez attendre que leur statut passe <20> "activ<69>"<br />
|
||||
Afin d'<27>viter toute erreur, vous devrez entrer le mot de passe de celle-ci. (vous pouvez le voir sur la page "R<>capitulatif").
|
||||
<br /><br /><br />
|
||||
|
||||
<div style="width: 500px; margin: auto">
|
||||
<form action="execution-3.html" method="post">
|
||||
<table width="500" cellpadding="5">
|
||||
<tr>
|
||||
<td style="width:150px">Base <20> supprimer :</td>
|
||||
<td style="width:350px">
|
||||
<select name="Base" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%;">
|
||||
<option selected="selected" value="">S<>lectionnez</option>
|
||||
<?php
|
||||
if ( $ListTable == FALSE)
|
||||
{
|
||||
$TotalEnregistement = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
$TotalEnregistement = count ($ListTable);
|
||||
}
|
||||
|
||||
for ($i=0; $i < $TotalEnregistement; $i++)
|
||||
{
|
||||
echo "<option value='".$ListTable[$i]["Nom"]."'>".$ListTable[$i]["Nom"]."</option>\n";
|
||||
}
|
||||
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mot de passe :</td>
|
||||
<td><input name="MotDePasse" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%;" maxlength="9" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="text-align: center; width: 100%; margin-top: 20px;">
|
||||
<input type="submit" name="Submit" value="Supprimer la base de donn<6E>es" style=" border: #006633 1px solid; background-color: #edffe1;" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user