Migration
This commit is contained in:
117
0.8.0/module/domaine/ajoutdomaine.php
Executable file
117
0.8.0/module/domaine/ajoutdomaine.php
Executable file
@@ -0,0 +1,117 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
$ListBDD = $MySql->Select ("*", "utilisateur", "Utilisateur='".$_SESSION['Utilisateur']."'", "", "", "", "");
|
||||
$CountDomaine = $MySql->Count('id', 'domaine', "Utilisateur='{$_SESSION['Utilisateur']}'");
|
||||
|
||||
?><h3>Ajouter un domaine externe</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 pas exemple faire communiquer plusieurs de vos sites entre eux. En g<>n<EFBFBD>ral, celui-ci est identique <20> la racine.
|
||||
</p>
|
||||
<p>Le domaine doit <20>tre d<>pos<6F> aupr<70>s d'un <abbr title="bureau d'enregistrement en fran<61>ais">registrar</abbr>.
|
||||
<br />Il vous faut aussi faire une redirection de type A-record sur l'adresse ip : <strong><?php echo gethostbyname ($ListBDD[0]["ServeurFichier"]) ; ?> (<?php echo $ListBDD[0]["ServeurFichier"]; ?>)</strong>
|
||||
<br />Vous pouvez aussi utiliser des sous-domaines.<br />Tous les champs marqu<71>s d'une <20>toile sont obligatoires.
|
||||
</p>
|
||||
|
||||
<?php if ( ($CountDomaine < $_SESSION['Offre']['Domaine']) or ($_SESSION['Offre']['Domaine'] == '-1') ): ?>
|
||||
<div style="width:100%; padding-top: 15px; padding-bottom: 15px; text-align:center">
|
||||
<a style=" cursor:pointer" onclick="Cache('JS_ModExpert1'); Cache('JS_ModExpert2'); Cache('JS_ModExpert3'); Cache('JS_ModExpert4'); Cache('JS_ModExpert5'); Cache('JS_ModExpert6'); Cache('JS_ModExpert7'); Cache('JS_ModExpert8'); Cache('JS_ModExpert9'); Cache('JS_ModExpert10'); Cache('JS_ModExpert11'); Cache('JS_ModExpert12');">Mode expert / Mode normal</a><br /></div>
|
||||
|
||||
<div style="width: 500px; margin: auto">
|
||||
<form action="execution-6.html" method="post">
|
||||
<table width="500" cellpadding="5">
|
||||
<tr>
|
||||
<td style="width:150px">*Adresse (sans http://) :</td>
|
||||
<td style="width:350px"><input name="Adresse" type="text" style="border: 0; border-bottom: #006633 1px solid; width:100%" maxlength="120" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>*Racine :</td>
|
||||
<td><input name="Racine" type="text" style="border: 0; border-bottom: #006633 1px solid; width:100%" maxlength="120" value="/public/" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>*Open BaseDir :</td>
|
||||
<td><input name="BaseDir" type="text" style="border: 0; border-bottom: #006633 1px solid; width:100%" maxlength="120" value="/public/" /></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>
|
||||
<tr style="display: none" id="JS_ModExpert1">
|
||||
<td><span style="cursor: help" title="Host par d<>faut en cas de champs vide pour la fonction mysql_connect ()">Mysq.ldefault_host</span></td>
|
||||
<td><input name="mysqldefault_host" type="text" style="border: 0; border-bottom: #006633 1px solid; width:100%" maxlength="100" value="<?php echo $ListBDD[0]["ServeurMysql"]; ?>" /></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert2">
|
||||
<td><span style="cursor: help" title="Utilisateur par d<>faut en cas de champs vide pour la fonction mysql_connect ()">Mysql.default_user</span></td>
|
||||
<td><input name="mysqldefault_user" type="text" style="border: 0; border-bottom: #006633 1px solid; width:100%" maxlength="16" /></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert3">
|
||||
<td><span style="cursor: help" title="Password par d<>faut en cas de champs vide pour la fonction mysql_connect ()">Mysql.default_password</span></td>
|
||||
<td><input name="mysqldefault_password" type="text" style="border: 0; border-bottom: #006633 1px solid; width:100%" maxlength="16" /></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert4">
|
||||
<td><span style="cursor: help" title="Dossier contenant toute les donn<6E>es temporaires du domaine">Temporaire</span></td>
|
||||
<td><input name="temporaire" type="text" style="border: 0; border-bottom: #006633 1px solid; width:100%" maxlength="120" /></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert5">
|
||||
<td><span style="cursor: help" title="Dossier contenant toute les sessions du domaine">Sessions</span></td>
|
||||
<td><input name="sessions" type="text" style="border: 0; border-bottom: #006633 1px solid; width:100%" maxlength="120" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>*Listage du dossier :</td>
|
||||
<td><label><input name="Listage" type="radio" value="Oui" checked="checked" /> Oui</label> - <label><input name="Listage" type="radio" value="Non" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert6">
|
||||
<td style="width:150px"><span style="cursor: help" title="Autoriser l'ouvrture de fichier distant via la fonction fopen()">*Allow_url_fopen</span></td>
|
||||
<td style="width:350px"><label><input name="allow_url_fopen" type="radio" value="Oui" /> Oui</label> - <label><input name="allow_url_fopen" type="radio" value="Non" checked="checked" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert7">
|
||||
<td style="width:150px"><span style="cursor: help" title="Autoriser l'inclusion de fichier distant via la fonction include (), etc..">*Allow_url_include</span></td>
|
||||
<td style="width:350px"><label><input name="allow_url_include" type="radio" value="Oui" /> Oui</label> - <label><input name="allow_url_include" type="radio" value="Non" checked="checked" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert8">
|
||||
<td style="width:150px"><span style="cursor: help" title="Voir les erreurs g<>ner<65>s par php">*Display_errors</span></td>
|
||||
<td style="width:350px"><label><input name="display_errors" type="radio" value="Oui" checked="checked" /> Oui</label> - <label><input name="display_errors" type="radio" value="Non" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert9">
|
||||
<td style="width:150px"><span style="cursor: help" title="Permettre l'utilisation de <? ?>">*Short_open_tag</span></td>
|
||||
<td style="width:350px"><label><input name="short_open_tag" type="radio" value="Oui" checked="checked" /> Oui</label> - <label><input name="short_open_tag" type="radio" value="Non" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert10">
|
||||
<td style="width:150px"><span style="cursor: help" title="Demarrer les sessions en d<>but de page sans utiliser session_start ()">*Session.auto_start</span></td>
|
||||
<td style="width:350px"><label><input name="sessionauto_start" type="radio" value="Oui" /> Oui</label> - <label><input name="sessionauto_start" type="radio" value="Non" checked="checked" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert11">
|
||||
<td style="width:150px"><span style="cursor: help" title="Ajoute automatiquement des anti-slashs aux arrays $_POST, etc..">*Magic_quotes_gpc</span></td>
|
||||
<td style="width:350px"><label><input name="magic_quotes_gpc" type="radio" value="Oui" checked="checked" /> Oui</label> - <label><input name="magic_quotes_gpc" type="radio" value="Non" /> Non</label></td>
|
||||
</tr>
|
||||
<tr style="display: none" id="JS_ModExpert12">
|
||||
<td style="width:150px"><span style="cursor: help" title="Permet d'utiliser $_POST['var'] en $var">*Register_globals</span></td>
|
||||
<td style="width:350px"><label><input name="register_globals" type="radio" value="Oui" /> Oui</label> - <label><input name="register_globals" type="radio" value="Non" checked="checked" /> Non</label></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="text-align: center; width: 100%; margin-top: 20px;">
|
||||
<input type="submit" name="Submit" value="Ajouter le domaine" style=" border: #006633 1px solid;" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<p>D<>sol<6F>, vous ne pouvez plus ajouter de nom(s) de domaine. Votre offre ne vous le permet pas.</p>
|
||||
<?php endif;?>
|
||||
133
0.8.0/module/domaine/recapitulatif.php
Executable file
133
0.8.0/module/domaine/recapitulatif.php
Executable file
@@ -0,0 +1,133 @@
|
||||
<?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 ("*", "domaine", "Utilisateur='".$_SESSION['Utilisateur']."'", "", "", "", "");
|
||||
$CountEnregistrement = count ($ListTable);
|
||||
if ( $ListTable == FALSE ) { $CountEnregistrement = 0; }
|
||||
|
||||
?>
|
||||
<h3>
|
||||
R<EFBFBD>capitulatif de vos domaines externes
|
||||
<a style="border: 0px;" href="http://doc.kelio.org/gerer_les_noms_de_domaine"><img style="vertical-align:middle; border: 0px;" src="image/icons/question.png" alt="Aide" title="Aide" /></a>
|
||||
</h3>
|
||||
<p>
|
||||
Actuellement, vous avez <?php echo $CountEnregistrement; ?> domaine(s)<?php if ($_SESSION['Offre']['Domaine'] != '-1'):?> sur <?php echo $_SESSION['Offre']['Domaine']; ?> autoris<69>(s)<?php endif;?>.
|
||||
<br />Passez votre souris sur le commentaire pour le voir en entier.
|
||||
<br />Idem pour le chemin, ainsi que le Basedir
|
||||
</p>
|
||||
<p>
|
||||
Le statut "Cr<43>ation" signifie que votre domaine est en attente de cr<63>ation par notre robot. <br />
|
||||
Normalement, cette op<6F>ration prend moins d'une heure.<br />
|
||||
Il en est de meme pour le statut "Suppression".
|
||||
</p>
|
||||
|
||||
<div style="border:#006633 1px solid; width: 90%; margin: auto; margin-top: 15px;">
|
||||
<table style="width:100%">
|
||||
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><strong>Adresse</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><strong>Date</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 10%;"><strong>Statut</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Racine</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Basedir</strong></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Commentaire</strong></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
if ( $ListTable == FALSE )
|
||||
{
|
||||
echo '<tr><td class="Tableau1" style="text-align: center; width: 100%;" colspan="6">Aucun domaine pour le moment</td></tr>';
|
||||
}
|
||||
else
|
||||
{
|
||||
for ($i=0; $i < $CountEnregistrement; $i++)
|
||||
{
|
||||
if ( $ListTable[$i]["Status"] == "1" )
|
||||
{
|
||||
$Status = "Creation";
|
||||
}
|
||||
elseif ( $ListTable[$i]["Status"] == "2" )
|
||||
{
|
||||
$Status = "Activ<69>";
|
||||
}
|
||||
elseif ( $ListTable[$i]["Status"] == "3" )
|
||||
{
|
||||
$Status = "Suppression";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Status = "Erreur";
|
||||
}
|
||||
|
||||
if ( strlen($ListTable[$i]["Adresse"]) > 10 )
|
||||
{
|
||||
$Adresse = substr($ListTable[$i]["Adresse"], 0, 10)." ...";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Adresse = $ListTable[$i]["Adresse"];
|
||||
}
|
||||
|
||||
if ( strlen($ListTable[$i]["Racine"]) > 16 )
|
||||
{
|
||||
$Racine = substr($ListTable[$i]["Racine"], 0 ,16)." ...";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Racine = $ListTable[$i]["Racine"];
|
||||
}
|
||||
|
||||
if ( strlen ($ListTable[$i]["OpenBasedir"]) > 16 )
|
||||
{
|
||||
$Basedir = substr($ListTable[$i]["OpenBasedir"], 0 ,16)." ...";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Basedir = $ListTable[$i]["OpenBasedir"];
|
||||
}
|
||||
|
||||
if ( strlen ($ListTable[$i]["Commentaire"]) > 13 )
|
||||
{
|
||||
$Commentaire = substr($ListTable[$i]["Commentaire"], 0 ,16)." ...";
|
||||
}
|
||||
elseif ( strlen ($ListTable[$i]["Commentaire"]) == 0)
|
||||
{
|
||||
$Commentaire = "-";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Commentaire = $ListTable[$i]["Commentaire"];
|
||||
}
|
||||
|
||||
|
||||
echo '
|
||||
<tr>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><span style="cursor: pointer" title="'.$ListTable[$i]["Adresse"].'">'.$Adresse.'</span></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 15%;"><span style="cursor: pointer" title="'.date ("d-m-Y H:i:s",$ListTable[$i]["DateDeCreation"]).'">'.date("d-m-Y", $ListTable[$i]["DateDeCreation"]).'</span></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 10%;">'.$Status.'</td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><span style="cursor: pointer" title="'.$ListTable[$i]["Racine"].'">'.$Racine.'</span></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><span style="cursor: pointer" title="'.$ListTable[$i]["OpenBasedir"].'">'.$Basedir.'</span></td>
|
||||
<td class="Tableau1" style="text-align: center; width: 20%;"><span style="cursor: pointer" title="'.$ListTable[$i]["Commentaire"].'">'.$Commentaire.'</span></td>
|
||||
</tr>';
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
89
0.8.0/module/domaine/stats.php
Executable file
89
0.8.0/module/domaine/stats.php
Executable file
@@ -0,0 +1,89 @@
|
||||
<h3>Statistiques web</h3>
|
||||
<p>Vous pouvez activer les statistiques web pour le domaine externe de votre choix.</p>
|
||||
<h4>Activation des statistiques web</h4>
|
||||
<p>Vos statistiques web seront publiques. Elles sont actualis<EFBFBD>es tous les jours vers 6h.<br/>
|
||||
Vous ne pouvez pas activer les statistiques web sur <?php echo $_SESSION['Utilisateur']; ?>.kelio.org.</p>
|
||||
<?php
|
||||
$ListTable = $MySql->Select ("*", "domaine", "Utilisateur='".$_SESSION['Utilisateur']."' AND Status='2' AND Stats!='1'", "", "", "", "");
|
||||
|
||||
if ( VerifPOST("Domaine", "#^[a-z0-9.-]+\.[a-z]+$#", 5, 120) == "ChaineValide" )
|
||||
{
|
||||
$ListDomaine = $MySql->Select ("*", "domaine", "Adresse='".$_POST['Domaine']."' AND Stats='1'", "", "", "", "");
|
||||
|
||||
if ( $ListDomaine != FALSE )
|
||||
{
|
||||
echo '<p>ERREUR : Les statistiques web sont d<>j<EFBFBD> activ<69>es pour <strong>'.$_POST["Domaine"].'</strong></p>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$UpdateDomaine = $MySql->Update ("domaine", "Stats", "1", "Adresse='".$_POST['Domaine']."'");
|
||||
if ( $UpdateDomaine != FALSE )
|
||||
{
|
||||
echo '<p>Les statistiques web ont bien <20>t<EFBFBD> activ<69>es pour <strong>'.$_POST["Domaine"].'</strong></p>';
|
||||
echo '<p>Note. Vous pourrez commencer <20> consulter vos statistiques d\'ici 24h.</p>';
|
||||
}
|
||||
else
|
||||
{
|
||||
echo '<p>Une erreur est survenue</p>';
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( $ListTable == FALSE)
|
||||
{
|
||||
$TotalEnregistement = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
echo '<table><form action="Page-Domaine-Stats.html" method="post">
|
||||
<tr><td>Votre domaine : <select name="Domaine" style="border: 0; border-bottom: #006633 1px solid; width:100%;">
|
||||
<option selected="selected" value="">S<>lectionnez</option>';
|
||||
$TotalEnregistement = count ($ListTable);
|
||||
for ($i=0; $i < $TotalEnregistement; $i++)
|
||||
{
|
||||
echo "<option value='".$ListTable[$i]["Adresse"]."'>".$ListTable[$i]["Adresse"]."</option>\n";
|
||||
}
|
||||
echo '</select></td></tr>
|
||||
<tr><td><input type="submit" value="Valider" style=" border: #006633 1px solid;" /></td></tr>
|
||||
</form></table>';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
echo '<h4>Statistiques web activ<69>es</h4>';
|
||||
if (isset($_GET['desactivate']))
|
||||
{
|
||||
$UpdateDomaine = $MySql->Update ("domaine", "Stats", "0", "Utilisateur='".$_SESSION['Utilisateur']."' AND Status='2' AND Stats='1' AND Adresse='".$_GET['desactivate']."'");
|
||||
if ($UpdateDomaine != FALSE)
|
||||
{
|
||||
echo 'Les statistiques sur '.$_GET['desactivate'].' ont bien <20>t<EFBFBD> d<>sactiv<69>es';
|
||||
}
|
||||
else
|
||||
{
|
||||
echo 'Erreur lors de la d<>sactivation des statistiques';
|
||||
}
|
||||
}
|
||||
|
||||
$ListTable = $MySql->Select ("*", "domaine", "Utilisateur='".$_SESSION['Utilisateur']."' AND Stats='1'", "", "", "", "");
|
||||
|
||||
if ( $ListTable == FALSE)
|
||||
{
|
||||
$TotalEnregistement = 0;
|
||||
echo 'Pas de statistiques activ<69>es';
|
||||
}
|
||||
else
|
||||
{
|
||||
$TotalEnregistement = count ($ListTable);
|
||||
echo '<ul>';
|
||||
for ($i=0; $i < $TotalEnregistement; $i++)
|
||||
{
|
||||
echo '<li>';
|
||||
echo $ListTable[$i]["Adresse"];
|
||||
echo ' <a href="http://stats.kelio.org/'.$ListTable[$i]["Adresse"].'">[Consulter]</a>';
|
||||
echo '</li>';
|
||||
}
|
||||
echo '</ul>';
|
||||
}
|
||||
|
||||
?>
|
||||
65
0.8.0/module/domaine/suppressiondomaine.php
Executable file
65
0.8.0/module/domaine/suppressiondomaine.php
Executable file
@@ -0,0 +1,65 @@
|
||||
<?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 ("*", "domaine", "Utilisateur='".$_SESSION['Utilisateur']."' AND Status='2'", "", "", "", "");
|
||||
|
||||
?>
|
||||
<h3>Supprimer un domaine externe</h3>
|
||||
<p>
|
||||
En cas d'erreur, vous devrez attendre que l'adresse soit totalement supprim<69>e du serveur pour pouvoir la recr<63>er.<br />
|
||||
</p>
|
||||
|
||||
<div style="width: 500px; margin: auto">
|
||||
<form action="execution-7.html" method="post">
|
||||
<table width="500" cellpadding="5">
|
||||
|
||||
<tr>
|
||||
<td style="width:150px">Domaine <20> supprimer :</td>
|
||||
<td style="width:350px">
|
||||
<select name="Domaine" style="border: 0; border-bottom: #006633 1px solid; 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]["Adresse"]."'>".$ListTable[$i]["Adresse"]."</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Tapez "oui" :</td>
|
||||
<td><input name="Confirmation" type="text" style="border: 0; border-bottom: #006633 1px solid; width:100%;" maxlength="3" /></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<div style="text-align: center; width: 100%; margin-top: 20px;">
|
||||
<input type="submit" name="Submit" value="Supprimer le domaine" style=" border: #006633 1px solid;" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user