Migration
8
0.7.1/panel/.htaccess
Executable file
@@ -0,0 +1,8 @@
|
||||
RewriteEngine on
|
||||
|
||||
RewriteRule ^Page\.html$ mainpage.php [L]
|
||||
RewriteRule ^Page-([a-zA-Z]+)\.html$ mainpage.php?id=$1 [L]
|
||||
RewriteRule ^Page-([a-zA-Z]+)-([a-zA-Z0-9]+)\.html$ mainpage.php?id=$1&ids=$2 [L]
|
||||
RewriteRule ^resultat\.html$ resultat.php [L]
|
||||
|
||||
RewriteRule ^execution-([0-9]+)\.html$ traitement.php?id=$1 [L]
|
||||
BIN
0.7.1/panel/image/assistance.png
Executable file
|
After Width: | Height: | Size: 11 KiB |
BIN
0.7.1/panel/image/background.png
Executable file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
0.7.1/panel/image/ban_azote.gif
Executable file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
0.7.1/panel/image/body.png
Executable file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
0.7.1/panel/image/cd_body.gif
Executable file
|
After Width: | Height: | Size: 119 B |
BIN
0.7.1/panel/image/cd_body.png
Executable file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
0.7.1/panel/image/cd_footer.gif
Executable file
|
After Width: | Height: | Size: 285 B |
BIN
0.7.1/panel/image/cd_footer.png
Executable file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
0.7.1/panel/image/cd_head.gif
Executable file
|
After Width: | Height: | Size: 835 B |
BIN
0.7.1/panel/image/cd_head.png
Executable file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
0.7.1/panel/image/chargement.gif
Executable file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
0.7.1/panel/image/corner_bottom_left.gif
Executable file
|
After Width: | Height: | Size: 172 B |
BIN
0.7.1/panel/image/corner_bottom_right.gif
Executable file
|
After Width: | Height: | Size: 170 B |
BIN
0.7.1/panel/image/corner_top_left.gif
Executable file
|
After Width: | Height: | Size: 168 B |
BIN
0.7.1/panel/image/corner_top_right.gif
Executable file
|
After Width: | Height: | Size: 170 B |
BIN
0.7.1/panel/image/design/body.png
Executable file
|
After Width: | Height: | Size: 227 B |
BIN
0.7.1/panel/image/design/bouton_off.png
Executable file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
0.7.1/panel/image/design/bouton_on.png
Executable file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
0.7.1/panel/image/design/corner_bottom_left.gif
Executable file
|
After Width: | Height: | Size: 194 B |
BIN
0.7.1/panel/image/design/corner_bottom_right.gif
Executable file
|
After Width: | Height: | Size: 193 B |
BIN
0.7.1/panel/image/design/corner_top_left.gif
Executable file
|
After Width: | Height: | Size: 192 B |
BIN
0.7.1/panel/image/design/corner_top_right.gif
Executable file
|
After Width: | Height: | Size: 196 B |
BIN
0.7.1/panel/image/design/fond.png
Executable file
|
After Width: | Height: | Size: 286 B |
BIN
0.7.1/panel/image/design/footer.png
Executable file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
0.7.1/panel/image/design/head_d.png
Executable file
|
After Width: | Height: | Size: 16 KiB |
BIN
0.7.1/panel/image/design/head_g.png
Executable file
|
After Width: | Height: | Size: 44 KiB |
BIN
0.7.1/panel/image/design/list-off.gif
Executable file
|
After Width: | Height: | Size: 37 B |
BIN
0.7.1/panel/image/design/list-on.gif
Executable file
|
After Width: | Height: | Size: 37 B |
BIN
0.7.1/panel/image/design/logo_3d.gif
Executable file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
0.7.1/panel/image/design/logo_3d.png
Executable file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
0.7.1/panel/image/design/menu_body.gif
Executable file
|
After Width: | Height: | Size: 122 B |
BIN
0.7.1/panel/image/design/menu_d.png
Executable file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
0.7.1/panel/image/design/menu_footer.gif
Executable file
|
After Width: | Height: | Size: 285 B |
BIN
0.7.1/panel/image/design/menu_g.png
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
0.7.1/panel/image/design/menu_head.gif
Executable file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
0.7.1/panel/image/design/rss.gif
Executable file
|
After Width: | Height: | Size: 652 B |
BIN
0.7.1/panel/image/design/shead.png
Executable file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
0.7.1/panel/image/design/shead_b1.png
Executable file
|
After Width: | Height: | Size: 896 B |
BIN
0.7.1/panel/image/design/shead_b2.png
Executable file
|
After Width: | Height: | Size: 688 B |
BIN
0.7.1/panel/image/design/shead_form.png
Executable file
|
After Width: | Height: | Size: 181 B |
BIN
0.7.1/panel/image/exemple.png
Executable file
|
After Width: | Height: | Size: 47 KiB |
BIN
0.7.1/panel/image/favicon.png
Executable file
|
After Width: | Height: | Size: 569 B |
BIN
0.7.1/panel/image/footer.png
Executable file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
0.7.1/panel/image/head_d.png
Executable file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
0.7.1/panel/image/head_g.png
Executable file
|
After Width: | Height: | Size: 40 KiB |
BIN
0.7.1/panel/image/head_shop.png
Executable file
|
After Width: | Height: | Size: 11 KiB |
BIN
0.7.1/panel/image/icons/16-member-profile.png
Executable file
|
After Width: | Height: | Size: 398 B |
BIN
0.7.1/panel/image/icons/application_home.png
Executable file
|
After Width: | Height: | Size: 685 B |
BIN
0.7.1/panel/image/icons/arrow_refresh.png
Executable file
|
After Width: | Height: | Size: 685 B |
BIN
0.7.1/panel/image/icons/book_open.png
Executable file
|
After Width: | Height: | Size: 622 B |
BIN
0.7.1/panel/image/icons/cog.png
Executable file
|
After Width: | Height: | Size: 512 B |
BIN
0.7.1/panel/image/icons/cube_green.png
Executable file
|
After Width: | Height: | Size: 313 B |
BIN
0.7.1/panel/image/icons/database.png
Executable file
|
After Width: | Height: | Size: 390 B |
BIN
0.7.1/panel/image/icons/em-check.png
Executable file
|
After Width: | Height: | Size: 194 B |
BIN
0.7.1/panel/image/icons/em-cross.png
Executable file
|
After Width: | Height: | Size: 177 B |
BIN
0.7.1/panel/image/icons/em-plus.png
Executable file
|
After Width: | Height: | Size: 222 B |
BIN
0.7.1/panel/image/icons/email.png
Executable file
|
After Width: | Height: | Size: 641 B |
BIN
0.7.1/panel/image/icons/file-archive.png
Executable file
|
After Width: | Height: | Size: 293 B |
BIN
0.7.1/panel/image/icons/group.png
Executable file
|
After Width: | Height: | Size: 753 B |
BIN
0.7.1/panel/image/icons/house.png
Executable file
|
After Width: | Height: | Size: 806 B |
BIN
0.7.1/panel/image/icons/house_go.png
Executable file
|
After Width: | Height: | Size: 861 B |
BIN
0.7.1/panel/image/icons/message-info.png
Executable file
|
After Width: | Height: | Size: 746 B |
BIN
0.7.1/panel/image/icons/message-warn.png
Executable file
|
After Width: | Height: | Size: 536 B |
BIN
0.7.1/panel/image/icons/question.png
Executable file
|
After Width: | Height: | Size: 682 B |
BIN
0.7.1/panel/image/icons/stop.png
Executable file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
0.7.1/panel/image/icons/tick.png
Executable file
|
After Width: | Height: | Size: 537 B |
BIN
0.7.1/panel/image/icons/user_comment.png
Executable file
|
After Width: | Height: | Size: 743 B |
BIN
0.7.1/panel/image/icons/wrench.png
Executable file
|
After Width: | Height: | Size: 610 B |
BIN
0.7.1/panel/image/list-active.gif
Executable file
|
After Width: | Height: | Size: 51 B |
BIN
0.7.1/panel/image/list-off.gif
Executable file
|
After Width: | Height: | Size: 37 B |
BIN
0.7.1/panel/image/list-on.gif
Executable file
|
After Width: | Height: | Size: 37 B |
BIN
0.7.1/panel/image/logo_3d-2.png
Executable file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
0.7.1/panel/image/menu_h.png
Executable file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
0.7.1/panel/image/menu_h_over.png
Executable file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
0.7.1/panel/image/result_bottom.png
Executable file
|
After Width: | Height: | Size: 260 B |
BIN
0.7.1/panel/image/result_top.png
Executable file
|
After Width: | Height: | Size: 517 B |
BIN
0.7.1/panel/image/sbt_lg.png
Executable file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
0.7.1/panel/image/shead_d.png
Executable file
|
After Width: | Height: | Size: 20 KiB |
BIN
0.7.1/panel/image/shead_g.png
Executable file
|
After Width: | Height: | Size: 14 KiB |
BIN
0.7.1/panel/image/smiley/Thumbs.db
Executable file
BIN
0.7.1/panel/image/smiley/content.gif
Executable file
|
After Width: | Height: | Size: 699 B |
BIN
0.7.1/panel/image/smiley/genial.gif
Executable file
|
After Width: | Height: | Size: 696 B |
BIN
0.7.1/panel/image/smiley/hmm.gif
Executable file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
0.7.1/panel/image/smiley/oeil.gif
Executable file
|
After Width: | Height: | Size: 698 B |
BIN
0.7.1/panel/image/smiley/sifflote.gif
Executable file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
0.7.1/panel/image/sshead.png
Executable file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
0.7.1/panel/image/sshead_b1.png
Executable file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
0.7.1/panel/image/sshead_b2.png
Executable file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
0.7.1/panel/image/valid-xhtml10.png
Executable file
|
After Width: | Height: | Size: 1.8 KiB |
20
0.7.1/panel/index.php
Executable file
@@ -0,0 +1,20 @@
|
||||
<?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.
|
||||
*/
|
||||
header ('Location: http://www.kelio.org') ;
|
||||
?>
|
||||
161
0.7.1/panel/mainpage.php
Executable file
@@ -0,0 +1,161 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
// Calcul du temps : Debut
|
||||
$Temps["Debut"] = microtime ();
|
||||
|
||||
require ('system/core.php');
|
||||
VerifDroit ();
|
||||
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
|
||||
<head>
|
||||
<title>Kelio.org, votre h<>bergeur libre et alternatif : h<>bergement gratuit et de qualit<69></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<link href="style.css" rel="stylesheet" type="text/css" />
|
||||
<script src="system/javascript.js" type="text/javascript"></script>
|
||||
<link rel="icon" type="image/png" href="/image/favicon.png" />
|
||||
</head>
|
||||
<body id="Panel">
|
||||
|
||||
<div id="cadre">
|
||||
|
||||
<!-- Head -->
|
||||
<div id="head">
|
||||
<div id="head_g"></div>
|
||||
<div id="head_d">
|
||||
<div id="head_pub">
|
||||
<script type="text/javascript"><!--
|
||||
google_ad_client = "pub-3624271267101348";
|
||||
google_ad_width = 468;
|
||||
google_ad_height = 60;
|
||||
google_ad_format = "468x60_as";
|
||||
google_ad_type = "image";
|
||||
google_ad_channel = "";
|
||||
//-->
|
||||
</script>
|
||||
<!--
|
||||
<script type="text/javascript"
|
||||
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
|
||||
</script>
|
||||
!-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- menu -->
|
||||
<div id="menu">
|
||||
<div id="menu_g"></div>
|
||||
<div id="menu_d">
|
||||
<ul>
|
||||
<li id="nav-accueil"><a href="http://www.kelio.org/?id=">Accueil</a></li>
|
||||
<li id="nav-offre"><a href="http://www.kelio.org/?id=Information">Notre offre</a></li>
|
||||
<li id="nav-panel"><a href="http://www.kelio.org/?id=Panel">Panel</a></li>
|
||||
<li id="nav-contact"><a href="http://www.kelio.org/?id=Contact">Contact</a></li>
|
||||
<li><a href="http://forum.kelio.org">Forum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- sous head -->
|
||||
<div id="shead">
|
||||
<div id="shead_inc">
|
||||
Afficher/Masquer le menu
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Body -->
|
||||
<div id="corps">
|
||||
|
||||
<!-- Menu !-->
|
||||
<div class="menu_total" id="JS_menu">
|
||||
<div class="menu_head">Hébergement</div>
|
||||
<div class="menu_corps">
|
||||
<div id="navcontainer">
|
||||
<ul>
|
||||
<li><a href="Page.html">Accueil</a></li>
|
||||
<li><a href="Page-Divers-Contribuer.html">Nous soutenir</a></li>
|
||||
<li><a href="Page-Divers-Bridage.html">Bridage</a></li>
|
||||
<li><a href="Page-Divers-Stockage.html">Stockage</a></li>
|
||||
<li><a href="http://wiki.kelio.org/doku.php?id=doc_panel">Documentation</a></li>
|
||||
</ul>
|
||||
<br />
|
||||
<ul>
|
||||
<li id="bdd"><strong>Gestion MySql</strong></li>
|
||||
<li><a href="Page-MySql-Recapitulatif.html">R<>capitulatif</a></li>
|
||||
<li><a href="Page-MySql-AjoutBdd.html">Ajouter</a></li>
|
||||
<li><a href="Page-MySql-SuppressionBdd.html">Supprimer</a></li>
|
||||
</ul>
|
||||
<br />
|
||||
<ul>
|
||||
<li id="ftp"><strong>Gestion Ftp</strong></li>
|
||||
<li><a href="Page-Ftp-Recapitulatif.html">R<>capitulatif</a></li>
|
||||
<li><a href="Page-Ftp-AjoutCompte.html">Ajouter</a></li>
|
||||
<li><a href="Page-Ftp-SuppressionCompte.html">Supprimer</a></li>
|
||||
</ul>
|
||||
<br />
|
||||
<ul>
|
||||
<li id="mail"><strong>Gestion email</strong></li>
|
||||
<li><a href="Page-Email-Recapitulatif.html">R<>capitulatif</a></li>
|
||||
<li><a href="Page-Email-AjoutCompte.html">Ajouter (compte)</a></li>
|
||||
<li><a href="Page-Email-AjoutAlias.html">Ajouter (alias)</a></li>
|
||||
<li><a href="Page-Email-Suppression.html">Supprimer</a></li>
|
||||
</ul>
|
||||
<br />
|
||||
<ul>
|
||||
<li id="domaine"><strong>Gestion domaine</strong></li>
|
||||
<li><a href="Page-Domaine-Recapitulatif.html">R<>capitulatif</a></li>
|
||||
<li><a href="Page-Domaine-AjoutDomaineExterne.html">Ajouter</a></li>
|
||||
<li><a href="Page-Domaine-SuppressionDomaineExterne.html">Supprimer</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="menu_footer"></div>
|
||||
</div>
|
||||
|
||||
<!-- Contenu !-->
|
||||
<div id="contenu">
|
||||
<h2>Bienvenue <?php echo ucwords($_SESSION['Utilisateur']); ?>, sur l'administration</h2>
|
||||
<?php require ('system/librairie/lib.page.php'); ?>
|
||||
</div>
|
||||
|
||||
<div style="clear:both; text-align: center; margin-left: auto; margin-right: auto;">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- pied de page -->
|
||||
<div id="sfooter">
|
||||
» <a href="http://www.kelio.org/?id=Abuse">Signaler un contenu illicite</a> | <a href="http://www.kelio.org/?id=Contact">Nous contacter</a> | <strong>© 2007 Kelio.org - Tous droits r<>serv<72>s</strong>
|
||||
<br/>
|
||||
<strong>Cr<43>dits</strong> | Graphismes par Germain - Fondateur : <a href="http://www.vinux.info">Vinux</a> - Programmeur : <a href="http://www.mogui.org">Mogui</a>
|
||||
<br/>
|
||||
<strong>Serveur</strong> | Ex<45>cution : <?php
|
||||
// Calcul du temps : Fin
|
||||
$Temps["Fin"] = microtime ();
|
||||
echo round($Temps["Fin"] - $Temps["Debut"], 3);
|
||||
?> - Requetes : <?php echo $MySql->total_req; ?>
|
||||
</div>
|
||||
<div id="footer"></div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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>
|
||||