Migration
This commit is contained in:
73
0.9.0/panel/module/dns/ajoutdomaine.php
Executable file
73
0.9.0/panel/module/dns/ajoutdomaine.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.
|
||||
*/
|
||||
$CountDNS = $MySql->Count('id', 'domainedns', "Utilisateur='{$_SESSION['Utilisateur']}'");
|
||||
|
||||
?><h3>Ajouter un nom de domaine</h3>
|
||||
<p>
|
||||
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 par exemple faire communiquer plusieurs de vos sites entre eux. En général, celui-ci est identique à la racine.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Avant d'ajouter votre nom de domaine, vous devez l'avoir préalablement acheté auprès d'un registrar. Si ce n'est pas le cas, vous pouvez l'acheter auprès de <a href="http://www.gandi.net">Gandi</a>.<br />
|
||||
Notez que notre association peut se charger de la procédure d'achat et de configuration. Contactez-nous pour obtenir plus d'informations.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Pour utiliser nos serveurs DNS, configurez ceux-ci chez votre registrar pour pointer sur <b>ns1.kelio.org</b> et <b>ns2.kelio.org</b>.<br />
|
||||
Rendez-vous sur notre forum pour obtenir de l'aide.
|
||||
</p>
|
||||
|
||||
<?php if (($CountDNS < $_SESSION['Offre']['DomaineDns']) or ($_SESSION['Offre']['DomaineDns'] == '-1')): ?>
|
||||
<div>
|
||||
<form action="execution-11.html" method="post">
|
||||
<table cellpadding="5">
|
||||
<tr>
|
||||
<th>Domaine</th>
|
||||
<td><input name="Domaine" type="text" maxlength="80" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Racine</th>
|
||||
<td><input name="Racine" type="text" maxlength="80" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Open Basedir</th>
|
||||
<td><input name="OpenBasedir" type="text" maxlength="80" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Serveur Mail</th>
|
||||
<td>
|
||||
<input name="Mail" type="radio" value="mail.kelio.org" checked="checked"/> Utiliser le serveur mail de Kelio<br/>
|
||||
<input name="Mail" type="radio" value="autre" /> Utiliser un serveur mail externe: <input name="ServeurMail" type="text" maxlength="80" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Commentaire </th>
|
||||
<td><input name="Commentaire" type="text" maxlength="70" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="submit" name="Submit" value="Ajouter le nom de domaine" />
|
||||
</form>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<p>
|
||||
Désolé, votre offre ne vous permet pas d'ajouter plus de zone(s) DNS.<br />
|
||||
Veuillez en supprimer une ou utiliser un fournisseur de serveurs DNS externe.
|
||||
</p>
|
||||
<?php endif;?>
|
||||
Reference in New Issue
Block a user