Migration
This commit is contained in:
61
0.8.0/module/ftp/ajoutcompte.php
Executable file
61
0.8.0/module/ftp/ajoutcompte.php
Executable file
@@ -0,0 +1,61 @@
|
||||
<?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.
|
||||
*/
|
||||
$CountFTP = $MySql->Count('id', 'ftp', "Utilisateur='{$_SESSION['Utilisateur']}'");
|
||||
|
||||
?><h3>Ajouter un compte Ftp</h3>
|
||||
<p>
|
||||
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/>
|
||||
<strong>Le r<>pertoire de publication par d<>faut de votre domaine <?php echo $_SESSION['Utilisateur'] ; ?>.kelio.org est /public</strong><br/>
|
||||
<br/>
|
||||
<strong>Votre dossier virtuel sera cr<63><72> si il n'existe pas dans votre espace web.</strong>
|
||||
</p>
|
||||
|
||||
<?php if (($CountFTP < $_SESSION['Offre']['Ftp']) or ($_SESSION['Offre']['Ftp'] == '-1')): ?>
|
||||
<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"><?php echo $_SESSION['Utilisateur'] ; ?>_<input name="Nom" type="text" style="border: 0; border-bottom: #006633 1px solid; width:90%" maxlength="9" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mot de passe :</td>
|
||||
<td><input name="MotDePasse" type="text" style="border: 0; border-bottom: #006633 1px solid; width:100%" maxlength="9" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Chemin :</td>
|
||||
<td><input name="Chemin" type="text" style="border: 0; border-bottom: #006633 1px solid; 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; 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;" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<p>D<>sol<6F>, vous ne pouvez plus ajouter de compte(s) FTP. Votre offre ne vous le permet pas.</p>
|
||||
<?php endif;?>
|
||||
Reference in New Issue
Block a user