<?php
/************************************************************************/
/* DUNE by NPDS                                                         */
/* ===========================                                          */
/*                                                                      */
/* NPDS Copyright (c) 2002-2013 by Philippe Brunier                     */
/* IZ-Xinstall version : 1.1.3                                          */
/*                                                                      */
/* Auteurs : v.0.1.0 EBH (plan.net@free.fr)                             */
/*         : v.1.1.1 jpb, phr                                           */
/*         : v.1.1.2 jpb, phr, dev, boris                               */
/*         : v.1.1.3 dev - 2013                                         */
/*                                                                      */
/* 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.       */
/************************************************************************/
if (!stristr($_SERVER['PHP_SELF'],"install.php")) { die(); }

function etape_7() {
 include_once ('config.php');

   global $langue, $stage, $minpass, $NPDS_Prefix;
   $stage = 7;
   echo '<table border="0" cellpadding="2" cellspacing="1" width="100%">
   <tr class="tableau_titre">
      <td align="center" class="headform">'.ins_translate('Compte Admin').'</td>
      </tr>
      <tr>
      <td align="center"><br />
         <form id="admin_password" name="admin_password" method="post" action="install.php">
         <table width="90%" border="0" cellpadding="2" cellspacing="1">
         <tr>
         <td colspan="2" align="center">
         <b><u>'.ins_translate('Administrateur').'</u></b><br /><br />
         </td>
         </tr>
         <tr>
         <td width="50%" align="left"><b>'.ins_translate('Identifiant').'</b><br /></td>
         <td align="left">
         <input type="text" name="adminlogin" size="35" maxlength="40" value="Root">
         </td>
         </tr>
         <tr>
         <td width="50%" align="left"><b>'.ins_translate('Mot de passe').' *</b><br /></td>
         <td align="left">
         <input type="password" name="adminpass1" size="35" maxlength="40">
         </td>
         </tr>
         <tr>
         <td width="50%" align="left"><b>'.ins_translate("Une seconde fois").'</b><br /></td>
         <td align="left">
         <input type="password" name="adminpass2" size="35" maxlength="40" />
         </td>
         </tr>
         <tr>
         <td colspan="2" align="center"><br /><br />
         * '.ins_translate('Remarque').' : '.$minpass.' '.ins_translate('caractères minimum').'<br /><br />
         <input type="hidden" name="langue" value="'.$langue.'" />
         <input type="hidden" name="stage" value="'.$stage.'" />
         <input type="hidden" name="op" value="write_users" />
         <input type="submit" class="bouton_standard" value="'.ins_translate(" Créer ").'" />
         </td></tr></table>
         </form>
      </td></tr></table></table></table><br />';
}
?>