67 lines
2.3 KiB
PHP
Executable File
67 lines
2.3 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.
|
|
*/
|
|
$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ées.
|
|
<br /><br />
|
|
Une fois la suppression effectué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 à 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>
|