Migration

This commit is contained in:
2016-02-21 01:33:05 +01:00
commit 6db8a86a48
386 changed files with 17311 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
<?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.
*/
$CountAlias = $MySql->Count('id', 'email', "Utilisateur = '{$_SESSION['Utilisateur']}' AND Type = 'alias'");
?>
<h3>Ajouter un alias email</h3>
<p>
Un alias est une adresse email qui redirige tout le courriel vers un autre.
</p>
<p>
Les alias emails sont compatible uniquement avec les domaines externes.<br />
Avant d'ajouter un alias, veuillez au pré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.
</p>
<p>
L'alias sera créé dans l'heure qui suit.
</p>
<?php if ( ($CountAlias < $_SESSION['Offre']['AliasEmail']) or ($_SESSION['Offre']['AliasEmail'] == '-1')): ?>
<div>
<form action="execution-9.html" method="post">
<table cellpadding="5">
<tr>
<th>Courriel</th>
<td><input name="Nom" type="text" maxlength="60" /></td>
</tr>
<tr>
<th>Pointage</th>
<td><input name="Pointage" type="text" maxlength="60" /></td>
</tr>
<tr>
<th>Commentaire </th>
<td><input name="Commentaire" type="text" maxlength="50" /></td>
</tr>
</table>
<input type="submit" name="Submit" value="Créer l'alias email" />
</form>
</div>
<?php else: ?>
<p>Désolé, vous ne pouvez plus ajouter d'alias. Votre offre ne vous le permet pas.</p>
<?php endif;?>