<?php
/****************************************************************************************
 * SMI (Services Maintenance Interventions) est une gestion libre de maintenance et de SAV
 *
 * Version 1.0.4
 *
 * Copyright (C) 2006-2016  Sylvain FATOME
 * 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
 * (in the directory docs);
 * if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA.
 *
 * Contact : galawa@free.fr
 *
 * Web : http://smi.no-ip.org
 ****************************************************************************************/


// Vérification des tentatives de hack
$pos = strpos($_SERVER['PHP_SELF'], 'inc.php');
if ($pos !== FALSE) {
    header('Location: ../index.php');
}

/*************************************/
/* Variables pour les pieds de liste */
/*************************************/

$lst_maj = FALSE;
$lst_voir = FALSE;
$lst_del = FALSE;
$lst_imp = FALSE;
$lst_impc = FALSE;
$lst_cocl = FALSE;
$lst_int = FALSE;
$lst_intp = FALSE;
$lst_mel = FALSE;
$lst_sta = FALSE;
$lst_vac = FALSE;
$lst_lic = FALSE;
$lst_recup = FALSE;
$lst_ferm = FALSE;
$lst_ttot = FALSE;
$lst_ttard = FALSE;
$lst_rel = FALSE;
$lst_ren = FALSE;
$lst_sig = FALSE;
$lst_fini = FALSE;
$lst_dem = FALSE;
$lst_relexist = FALSE;
$lst_relcreer = FALSE;
$lst_pbmrel = FALSE;
$lst_impp = FALSE;
$lst_grab = FALSE;
$lst_mve = FALSE;
$lst_name = FALSE;
$lst_histo = FALSE;
$lst_reopen = FALSE;
$lst_taxe = FALSE;
$lst_pen = FALSE;
$locked = FALSE;
$lst_clore = FALSE;
$lst_retp = FALSE;
$lst_retps = FALSE;
$lst_retd = FALSE;
$lst_rete = FALSE;
$lst_retee = FALSE;
$lst_retex = FALSE;
$lst_retr = FALSE;
$lst_env = FALSE;
$lst_envs = FALSE;
$lst_voire = FALSE;
$lst_bar = FALSE;
$lst_dos = FALSE;
$lst_mail = FALSE;
$lst_otadd = FALSE;
$lst_otlnk = FALSE;
$lst_otulnk = FALSE;
$lst_sfact = FALSE;
$lst_sfacta = FALSE;
$lst_impcl = FALSE;
$lst_repl = FALSE;
