<?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.       */
/************************************************************************/

function entete() {
   global $cms_logo, $cms_name, $stage;
   echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>NPDS IZ-Xinstall - Installation &amp; Configuration</title>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="content-script-type" content="text/javascript" />
  <meta http-equiv="content-style-type" content="text/css" />
  <meta http-equiv="expires" content="0" />
  <meta http-equiv="pragma" content="no-cache" />
  <meta http-equiv="identifier-url" content="" />
  <meta name="author" content="Developpeur, EBH, jpb, phr" />
  <meta name="owner" content="npds.org" />
  <meta name="reply-to" content="developpeur@npds.org" />
  <meta name="language" content="fr" />
  <meta http-equiv="content-language" content="fr, fr-be, fr-ca, fr-lu, fr-ch" />
  <meta name="description" content="NPDS IZ-Xinstall" />
  <meta name="keywords" content="NPDS, Installateur automatique" />
  <meta name="rating" content="general" />
  <meta name="distribution" content="global" />
  <meta name="copyright" content="npds.org 2001-2013" />
  <meta name="revisit-after" content="15 days" />
  <meta name="resource-type" content="document" />
  <meta name="robots" content="none" />
  <meta name="generator" content="NPDS IZ-Xinstall" />
  <style type="text/css">@import url("install/style/style.css");</style>
 </head>

 <body><br />
  <table width="900" align="center" border="0">
   <tr>
    <td align="center" valign="middle">
     <img src="'.$cms_logo.'" id="cms_logo" alt="" />
     <div class="cms_name">'.$cms_name.'</div>
    </td>
   </tr>
  </table><br />';
}
function pied_depage() {
   global $stage;
   echo '
  <table width="900" align="center" border="0">
   <tr>
    <td align="center" valign="middle"><img src="install/images/barre-IZX-maj.png" alt="interface_graphique" /></td>
   </tr>
   <tr>
    <td class="version" align="center" valign="middle">2013 - NPDS IZ-Xinstall version : 1.1.3</td>
   </tr>
  </table>
 </body>
</html>';
   exit();
}
function page_message($chaine) {
   entete();
   echo '
 <table width="100%" border="0" cellspacing="0" cellpadding="5" align="center">
  <tr>
   <td align="center"><br /><br />
   <h2>'.$chaine.'</h2>
   </td>
  </tr>
 </table>';
   pied_depage();
}
function menu() {
   global $langue, $colorst1, $colorst2, $colorst3, $colorst4, $colorst5, $colorst6, $colorst7, $colorst8, $colorst9, $colorst10;
   $lang_symb = substr($langue, 0, 3);
   if(file_exists($fichier_lang = 'install/languages/'.$langue.'/install-'.$lang_symb.'.php')) {
      @include $fichier_lang;
   }
   else {
      @include('install/languages/francais/install-fre.php');
   }
   echo '
 <table width="900" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
   <td class="tableau_gauche" width="30%" align="left" valign="top">
    <blockquote>
    <ul>
     <li style="font-weight: bold; color: '.$colorst1.'">'.ins_translate('Langue').'</li>
     <li style="font-weight: bold; color: '.$colorst2.'">'.ins_translate('Bienvenue').'</li>
     <li style="font-weight: bold; color: '.$colorst3.'">'.ins_translate('Licence').'</li>
     <li style="font-weight: bold; color: '.$colorst4.'">'.ins_translate('Vérification des fichiers').'</li>
     <li style="font-weight: bold; color: '.$colorst5.'">'.ins_translate('Paramètres de connexion').'</li>
     <li style="font-weight: bold; color: '.$colorst6.'">'.ins_translate('Autres paramètres').'</li>
     <li style="font-weight: bold; color: '.$colorst7.'">'.ins_translate('Base de données').'</li>
     <li style="font-weight: bold; color: '.$colorst8.'">'.ins_translate('Compte Admin').'</li>
     <li style="font-weight: bold; color: '.$colorst9.'">'.ins_translate('Module UPload').'</li>
     <li style="font-weight: bold; color: '.$colorst10.'">'.ins_translate('Fin').'</li>
    </ul>
    </blockquote>
   </td>
   <td class="tableau_droit" width="70%" align="center" valign="top">
    <table width="100%" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" align="center">
      <tr>
       <td>';
}
?> 