<?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_3() {
 global $stage, $langue, $stopngo, $table_rep;
 $stage = 3;
 echo '<form name="path" method="post" action="install.php">
  <table width="100%" align="center" border="0" width="90%">
  <tr class="tableau_titre">
  <td align="left" class="headform">'.ins_translate('Vérification des fichiers').'</td>
  </tr>
  <tr>
  <td><br />
  <div align="left"><ul>';
  verif_php();
  verif_chmod();
  if($stopngo == 1)
  {
   echo '</div></ul>
   </form><br />
   <div style="text-align: center; color:#ff0000">
   &nbsp;'.ins_translate("Conseil : utilisez votre client FTP favori pour effectuer ces modifications puis faites 'Actualiser'.").'&nbsp;<br />
   <form name="reload" method="post">
   <input type="button" class="bouton_standard" value="'.ins_translate(' Actualiser ').'" onclick="window.location.reload()" />
   </form>
   </div>
   </td></tr></table></table></table>';
pied_depage();
   exit;
 }
 else
 {
  echo '</div></ul>
   <div style="text-align: center">
   <input type="hidden" name="langue" value="'.$langue.'" />
   <input type="hidden" name="stage" value="4" />
   <input type="submit" class="bouton_standard" value="'.ins_translate(' Etape suivante ').'" />
   </div><br />
   </td></tr></table></table></table><br />
   </form>';
 }
}
?>