Files
keliopanel-v1/0.9.0/panel/module/accueil.php
2016-02-21 01:33:05 +01:00

192 lines
8.7 KiB
PHP
Executable File

<?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"];
$UtilisateurID = $SelectionQuota[0]['id'];
}
else
$Espace = 0;
?>
<p><strong>Bienvenue dans votre espace de gestion de votre hébergement Kelio.</strong>
<br />Veuillez choisir une action à effectuer dans le menu ci-contre.</p>
<div style="background-image: url(img/icons-panel/message-info.png); background-repeat: no-repeat; padding-left: 35px; min-height: 24px;">
<p>N'oubliez pas que notre hébergement vit grâce à vos dons et à la publicité ! Mettre une petite publicité sur votre site nous aidera à continuer ! Vous ê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></p>
</div>
<div id="accueil">
<table border="0" style="width: 25%; float: left; margin-right: 10px;">
<thead>
<tr>
<th colspan="2"><img src="img/icons-panel/cube_green.png" alt="info" style="padding-right: 5px;" />Accès rapide</th>
</tr>
</thead>
<tbody>
<tr>
<td><img alt="Bases de données" src="img/icons-panel/database.png" /></td>
<td><a style=" cursor:pointer" onclick="Cache('JS_bdd');">Bases de données</a></td>
</tr>
<tr id="JS_bdd" style="display: none">
<td colspan="2">
<img src="img/icons-panel/em-plus.png" alt="info" style="padding-right: 5px;" /> <a href="Page-MySql-AjoutBdd.html">Ajouter</a><br />
<img src="img/icons-panel/em-cross.png" alt="info" style="padding-right: 5px;" /> <a href="Page-MySql-SuppressionBdd.html">Supprimer</a><br/>
<img src="img/icons-panel/em-check.png" alt="info" style="padding-right: 5px;" /> <a href="http://pma.kelio.org">phpMyAdmin</a>
</td>
</tr>
<tr>
<td><img alt="FTP" src="img/icons-panel/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="img/icons-panel/em-plus.png" alt="info" style="padding-right: 5px;" /> <a href="Page-Ftp-AjoutCompte.html">Ajouter</a><br />
<img src="img/icons-panel/em-cross.png" alt="info" style="padding-right: 5px;" /> <a href="Page-Ftp-SuppressionCompte.html">Supprimer</a><br/>
<img src="img/icons-panel/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="img/icons-panel/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="img/icons-panel/em-plus.png" alt="info" style="padding-right: 5px;" /> <a href="Page-Email-AjoutCompte.html">Ajouter compte</a><br />
<img src="img/icons-panel/em-plus.png" alt="info" style="padding-right: 5px;" /> <a href="Page-Email-AjoutAlias.html">Ajouter alias</a><br />
<img src="img/icons-panel/em-cross.png" alt="info" style="padding-right: 5px;" /> <a href="Page-Email-Suppression.html">Supprimer compte</a><br/>
<img src="img/icons-panel/em-check.png" alt="info" style="padding-right: 5px;" /> <a href="http://webmail.kelio.org">Webmail</a>
</td>
</tr>
<tr>
<td><img alt="DNS" src="img/icons-panel/house_go.png" /></td>
<td><a style=" cursor:pointer" onclick="Cache('JS_dns');">Noms de domaine</a></td>
</tr>
<tr id="JS_dns" style="display: none">
<td colspan="2">
<img src="img/icons-panel/em-plus.png" alt="info" style="padding-right: 5px;" /> <a href="Page-DNS-AjoutDomaine.html">Ajouter (domaine)</a><br/>
<img src="img/icons-panel/em-plus.png" alt="info" style="padding-right: 5px;" /> <a href="Page-DNS-AjoutSousDomaine.html">Ajouter (sous domaine)</a><br/>
<img src="img/icons-panel/em-cross.png" alt="info" style="padding-right: 5px;" /> <a href="Page-DNS-Suppression.html">Supprimer</a><br/>
</td>
</tr>
<tr>
<td><img alt="Compte" src="img/icons-panel/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="img/icons-panel/em-check.png" alt="info" style="padding-right: 5px;" /> <a href="Page-Compte-MotdePasse.html">Mot de passe</a>
</td>
</tr>
<tr>
<th colspan="2"><img src="img/icons-panel/cube_green.png" alt="info" style="padding-right: 5px;" />Assistance</th>
</tr>
<tr>
<td><img alt="Documentation" src="img/icons-panel/book_open.png" /></td>
<td><a href="http://doc.kelio.org">Documentation</a></td>
</tr>
<tr>
<td><img alt="assistance en ligne" src="img/icons-panel/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="img/icons-panel/em-check.png" alt="info" style="padding-right: 5px;" /><a href="http://www.kelio.asso.fr/contact.html">Formulaire</a>
<br />
<img src="img/icons-panel/em-check.png" alt="info" style="padding-right: 5px;" /><a href="http://forum.kelio.asso.fr/viewforum.php?id=10">Forum</a>
<br />
<img src="img/icons-panel/em-check.png" alt="info" style="padding-right: 5px;" /><a href="irc://irc.freenode.net/kelio">Dialogue en ligne (IRC)</a></td>
</tr>
<tr>
<td><img alt="Maintenances ou travaux" src="img/icons-panel/cog.png" /></td>
<td><a href="http://suivi.kelio.asso.fr">Maintenances ou travaux</a></td>
</tr>
</tbody>
</table>
<table border="0" style="width: 70%; margin-left 5px;">
<thead>
<tr>
<th colspan="2"><img src="img/icons-panel/cube_green.png" alt="info" style="padding-right: 5px;" />Informations générales</th>
</tr>
</thead>
<tbody>
<tr>
<td style="width: 45%">Version :</td>
<td>Kelio Panel <strong>0.9.0</strong> (<a href="Page-Divers-Changelog.html">Changelog</a>)</td>
</tr>
<tr>
<td>Mis en service :</td>
<td>1 février 2010</td>
</tr>
<tr>
<td>Développement par :</td>
<td>- Benjamin Mercier<br />- Vincent Lemoine</td>
</tr>
<tr>
<td>Version PHP :</td>
<td>5.2 (<a href="http://www.kelio.asso.fr/phpinfo.php">phpinfo</a>)</td>
</tr>
<tr>
<td>Version MySQL :</td>
<td>5.1</td>
</tr>
<tr>
<th><img src="img/icons-panel/group.png" alt="utilisateur" style="padding-right: 5px;" />Informations utilisateur</th>
<th></th>
</tr>
<tr>
<td style="width: 45%">Offre : </td>
<td><strong><?php echo $_SESSION['Offre']['Nom']; ?></strong></td>
</tr>
<tr>
<td style="width: 45%">Votre nom de domaine : </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 disque :</td>
<td><?php echo $Espace; ?> Mo<?php if ($_SESSION['Offre']['EspaceDisque'] != '-1'):?> sur <?php echo $_SESSION['Offre']['EspaceDisque']; ?>Mo autorisés<?php endif; ?></td>
</tr>
<tr>
<td>Numéro client :</td>
<td><?php echo $UtilisateurID; ?></td>
</tr>
<tr>
<th colspan="2"><img src="img/icons-panel/cube_green.png" alt="info" style="padding-right: 5px;" />Services complémentaires</th>
</tr>
<tr>
<td><img src="img/icons-panel/application_home.png" alt="technique" style="padding-right: 5px;" /><a href="http://www.azote.org">Noms de domaine gratuits Azote.org</a></td>
</tr>
</tbody>
</table>
</div>