<?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_1() {
   global $stage,$cms_name, $langue;
   $stage = 0;
   $accueil = 'install/languages/'.$langue.'/bienvenue.txt';
   echo '
    <form name="welcome" method="post" action="install.php">
     <table width="100%" cellpadding="2" cellspacing="1" align="center" border="0">
      <tr class="tableau_titre">
       <td class="headform" align="center">'.ins_translate('Bienvenue').'</td>
      </tr>
      <tr>
       <td class="bienvenue" valign="top"><p>';
      $id_fr = fopen("$accueil", "r");
      fpassthru($id_fr);
   echo '</p></td>
      </tr>
      <tr>
       <td colspan="2"><br />
       <blockquote>
        '.ins_translate('Nouvelle installation').'&nbsp;<span class="fich">'.$cms_name.'</span><br />
       </blockquote>
      </td>
     </tr>
    </table>
    <div style="text-align: center">
     <input type="hidden" name="stage" value="2" />
    <input type="hidden" name="langue" value="'.$langue.'" />
    <input type="submit" class="bouton_standard" value="'.ins_translate(' Etape suivante ').'" />
    </div><br />
       </td></tr></table></table></table>
    </form><br />';
}
?>