<?php
/****************************************************************************************
SMI (Services Maintenance Interventions) est une gestion libre de maintenance et de SAV

Version 1.0.0

Copyright (C) 2006-2014  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
 ****************************************************************************************/

session_start();

require_once('lib/gettext/gettext.inc');

$messerr = '';

if (version_compare(PHP_VERSION, '5.4.0', '<'))
    $messerr = _("Désolé, SMI ne fonctionne qu'avec une version PHP version 5.4 or supérieure.");
// On vérifie si prm.inc.php a bien été créé
if (!file_exists("inc/prm.inc.php"))
    $messerr.= _("Fichier prm.inc.php non créé")."<br /><br />"._("Merci de le créer et de le télécharger dans le dossier inc");

if ($messerr == '') {
    include_once("inc/config.inc.php");

    // Contrôle dossier fichiers techniques
    if (is_dir($url_gfc)) {
        if ((!is_readable($url_gfc)) OR (!is_writable($url_gfc))) {
            if ($messerr <> '')
                $messerr .= '<br /><br />';
            $messerr .= _("Problème sur le dossier des fichiers techniques");
        }
    }
    else {
        if ($messerr <> '')
            $messerr .= '<br /><br />';
        $messerr .= _("Problème sur le dossier des fichiers techniques");
    }

    // Contrôle dossier de sauvegarde
    if (is_dir($url_svg)) {
        if ((!is_readable($url_svg)) OR (!is_writable($url_svg))) {
            if ($messerr <> '')
                $messerr .= '<br /><br />';
            $messerr .= _("Problème sur le dossier de sauvegarde");
        }
    } else {
        if ($messerr <> '')
            $messerr .= '<br /><br />';
        $messerr .= _("Problème sur le dossier de sauvegarde");
    }

    // Contrôle dossier des icônes
    if (is_dir('./icones')) {
        if (!is_readable('./icones')) {
            if ($messerr <> '')
                $messerr .= '<br /><br />';
            $messerr .= _("Problème sur le dossier des icones");
        }
    } else {
        if ($messerr <> '')
            $messerr .= '<br /><br />';
        $messerr .= _("Problème sur le dossier des icones");
    }

    // Contrôle dossier des logos
    if (is_dir('./logos')) {
        if ((!is_readable('./logos')) OR (!is_writable('./logos'))) {
            if ($messerr <> '')
                $messerr .= '<br /><br />';
            $messerr .= _("Problème sur le dossier des logos");
        }
    } else {
        if ($messerr <> '')
            $messerr .= '<br /><br />';
        $messerr .= _("Problème sur le dossier des logos");
    }

    // Détection de l'OS du serveur
    $windows = 0;
    $unix = 0;
    $os = getenv('OS');
    if (empty($os)) {
        $os = php_uname();
    }
    if (empty($os)) {
        $os = "-";
        $unix = 1;
    } else {
        if (preg_match("/^Win.*/", $os))
            $windows = 1;
        else
            $unix = 1;
    }

    // Fileperms ne fonctionne correctement que sous Unix/Linux
    if ($unix == 1) {
        // On vérifie que les droits le répertoire inc sont ok
        $droits = substr(sprintf('%o', fileperms("./inc")), -4);
        if (($droits == "0775") OR ($droits == "0757") OR ($droits == "0777"))
        {
            if ($messerr <> '')
                $messerr .= '<br /><br />';
            $messerr .= _("Les droits sur le répertoire inc ne sont pas corrects") . " (" . $droits . ")<br /><br />" . _("Merci de ne pas utiliser '0775', '0757', ou '0777'");
        }

        // On vérifie que les droits sur prm.inc.php sont ok
        $droits = substr(sprintf('%o', fileperms("./inc/prm.inc.php")), -4);
        if ($droits != "0644")
        {
            if ($messerr <> '')
                $messerr .= '<br /><br />';
            $messerr .= _("Les droits sur le fichier prm.inc.php ne sont pas corrects") . " (" . $droits . ").<br /><br />" . _("Merci de corriger en '0644'");
        }
    }

    // Tout est ok...on démarre
    if ($messerr == '') {
        include_once("inc/func.inc.php");
        include_once("inc/func_log.inc.php");
        include_once("inc/func_txt.inc.php");
        include_once("classes/ezSQL/shared/ez_sql_core.php");
        include_once("classes/ezSQL/mysqli/ez_sql_mysqli.php");
        include_once("inc/func_sql.inc.php");

        // Archivage du log
        Archivelog(@$_SESSION["code_log"]);

        // Variables Formulaire
        fix_magic_quotes();
        $_POST = clean_str($_POST);

        $log_ip = $_SERVER['REMOTE_ADDR']; // Récupération adresse IP

        // Vérifie si l'administrateur a été créé (si non, il est créé)
        $db = open_database(DBUSER, DBPASS, DBNAME, DBHOST);
        $sql = "SELECT COUNT(*) FROM `" . TBPW . "` WHERE `pw_code` = '" . $db->escape($admin_code) . "'";
        $nb_rs = $db->get_var($sql);
        if ($nb_rs == 0) {
            $pass = md5($admin_mdp); // Cryptage du mot de passe administrateur

            $sql2 = "INSERT INTO `" . TBPW . "`";
            $sql2 .= " (pw_code,pw_pass,pw_level,pw_lastsuccess,pw_lastip,pw_actif) VALUES";
            $sql2 .= " ('" . $db->escape($admin_code) . "','" . $db->escape($pass) . "','9','$dateheurea','$log_ip','1')";
            $db->query($sql2);
        }
        // On crée le répertoire imports pour l'administrateur et le siège
        // Si le sous-répertoire spécifique aux imports n'existe pas, on le crée
        $tab_gfc = explode("/", str_ireplace($root, "", $url_gfc));
        $chemin = substr($root, 0, strlen($root));
        foreach ($tab_gfc as $idx => $value) {
            $chemin = $chemin . "/" . $value;
            if (!is_dir($chemin))
                $result = @mkdir($chemin);
        }
        $rep = $url_gfc . "/imports";
        if (!is_dir($rep)) {
            $cree_rep = @mkdir($rep);
            if ($cree_rep) {
                $desc = _("Dossier pour imports administrateur & centre de gestion");
                $detail = _("Dossier de stockage des fichiers pour import par l'administrateur et le centre de gestion");
                $sql2 = "INSERT INTO `" . TBFIC . "`";
                $sql2 .= " (fic_nom,fic_type,fic_desc,fic_detail,fic_datecrea,fic_codecrea,fic_nbtel) VALUES";
                $sql2 .= " ('" . $db->escape($rep) . "','0','" . $db->escape($desc) . "','" . $db->escape($detail) . "','$datea','" . $db->escape($admin_code) . "','')";
                $db->query($sql2);
            }
        }

        // On crée le répertoire pièce jointes pour l'administrateur et le siège
        // Si le sous-répertoire spécifique aux pièces n'existe pas, on le crée
        $rep = $url_gfc . "/pj";
        if (!is_dir($rep)) {
            $cree_rep = @mkdir($rep);
            if ($cree_rep) {
                $desc = _("Dossier pour PJ administrateur & centre de gestion");
                $detail = _("Dossier de stockage des PJ administrateur et centre de gestion");
                $sql2 = "INSERT INTO `" . TBFIC . "`";
                $sql2 .= " (fic_nom,fic_type,fic_desc,fic_detail,fic_datecrea,fic_codecrea,fic_nbtel) VALUES";
                $sql2 .= " ('" . $db->escape($rep) . "','0','" . $db->escape($desc) . "','" . $db->escape($detail) . "','$datea','" . $db->escape($admin_code) . "','0')";
                $db->query($sql2);
            }
        }
        $db->disconnect();

        $validpwd = False;
        $desactive = False;

        // Formulaire validé
        if (@$_POST["submit"] == _("Connexion")) {
            // Récupération Variables Formulaire
            $con_code = @$_POST["con_code"];
            $con_pass = md5(@$_POST["con_pass"]);

            if (!$validpwd) {
                // Contrôle du mot de passe
                $db = open_database(DBUSER, DBPASS, DBNAME, DBHOST);
                $sql = "SELECT * FROM `" . TBPW . "` WHERE `pw_code` = '" . $db->escape($con_code) . "'";
                $row = $db->get_row($sql, ARRAY_A);
                if ($row) {
                    extract($row);
                    if ($con_code == $pw_code) // Le code entré doit correspondre exactement au code stocké (majuscules/minuscules)
                    {
                        if ($pw_pass == $con_pass) // Le mot de passe doit correspondre exactement
                        {
                            if ($pw_actif == 1) // Le compte doit être actif
                            {
                                if (trim(@$_POST["con_lng"]) <> '')
                                    $_SESSION["lng"] = strtolower(@$_POST["con_lng"]);
                                else
                                    $_SESSION["lng"] = strtolower($pw_lng);
                                if (trim(@$_POST["con_pays"]) <> '')
                                    $_SESSION["codepays"] = strtoupper(@$_POST["con_pays"]);
                                else
                                    $_SESSION["codepays"] = strtoupper($pw_pays);

                                // On récupère les données de localisation du pays
                                $sql = "SELECT * FROM `" . TBPAYS . "` WHERE `pays_code` = '" . $db->escape($_SESSION["codepays"]) . "'";
                                $row = $db->get_row($sql, ARRAY_A);
                                if ($row)
                                    extract($row);
                                else {
                                    $_SESSION["codepays"] = strtoupper(PAYS_DEFAULT);
                                    $sql = "SELECT * FROM `" . TBPAYS . "` WHERE `pays_code` = '" . $db->escape($_SESSION["codepays"]) . "'";
                                    $row2 = $db->get_row($sql, ARRAY_A);
                                    if ($row2)
                                        extract($row2);
                                }
                                $_SESSION['num_nbdec'] = $pays_nbdec;
                                $_SESSION['num_cardec'] = $pays_cardec;
                                $_SESSION['num_carsep'] = $pays_carsep;
                                $_SESSION['date_fmt'] = $pays_datefmt;
                                $_SESSION['date_fmtshort'] = $pays_datefmtshort;
                                $_SESSION['date_fmtfull'] = $pays_datefmtfull;

                                $_SESSION["etat_log"] = "connecte";
                                $_SESSION["niv_log"] = $pw_level;
                                $_SESSION["code_log"] = $con_code;
                                $_SESSION["code_age"] = "";
                                $_SESSION["code_do"] = "";
                                $_SESSION["code_st"] = "";
                                $_SESSION["id_ccli"] = 0;
                                $_SESSION["mod"] = $pw_modele;
                                // Codes session complémentaires
                                switch ($pw_level) {
                                    // Code agence
                                    case 4 :
                                        $_SESSION["code_age"] = $con_code;
                                        break;
                                    // Code technicien agence
                                    case 3 :
                                        $sql2 = "SELECT tec_codeage FROM `" . TBTEC . "` WHERE `tec_code` = '" . $db->escape($con_code) . "'";
                                        $row2 = $db->get_row($sql2, ARRAY_A);
                                        if ($row2) {
                                            extract($row2);
                                            $_SESSION["code_age"] = $tec_codeage;
                                        }
                                        break;
                                    // Code donneur d'ordres
                                    case 6 :
                                        $_SESSION["code_do"] = $con_code;
                                        break;
                                    // Code technicien donneur d'ordres
                                    case 7 :
                                        $sql2 = "SELECT tec_codedo FROM `" . TBTEC . "` WHERE `tec_code` = '" . $db->escape($con_code) . "'";
                                        $row2 = $db->get_row($sql2, ARRAY_A);
                                        if ($row2) {
                                            extract($row2);
                                            $_SESSION["code_do"] = $tec_codedo;
                                        }
                                        break;
                                    // Code Sous-traitant
                                    case 10 :
                                        $_SESSION["code_st"] = $con_code;
                                        break;
                                    // Code technicien sous-traitant
                                    case 11 :
                                        $sql2 = "SELECT tec_codest FROM `" . TBTEC . "` WHERE `tec_code` = '" . $db->escape($con_code) . "'";
                                        $row2 = $db->get_row($sql2, ARRAY_A);
                                        if ($row2) {
                                            extract($row2);
                                            $_SESSION["code_st"] = $tec_codest;
                                        }
                                        break;
                                    // Code contact client
                                    case 12 :
                                        $_SESSION["niv_log"] = 1;
                                        $sql2 = "SELECT ccli_id,ccli_codecli FROM `" . TBCCLI . "` WHERE `ccli_code` = '" . $db->escape($con_code) . "'";
                                        $row2 = $db->get_row($sql2, ARRAY_A);
                                        if ($row2) {
                                            extract($row2);
                                            $_SESSION["code_log"] = $ccli_codecli;
                                            $_SESSION["id_ccli"] = $ccli_id;
                                        }
                                        break;
                                }
                                $sql2 = "UPDATE `" . TBPW . "` SET `pw_lastsuccess`='" . $dateheurea . "', `pw_lastip`='" . $log_ip . "' WHERE `pw_id`='" . $pw_id . "'";
                                $db->query($sql2);
                                $validpwd = True;
                            } else
                                $desactive = TRUE;
                        }
                    }
                }
                $db->disconnect();
            }
        }
    }
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <NOSCRIPT>
        <meta http-equiv="refresh" content="0;URL=<?PHP echo $rep_appli; ?>/nojs.php">
    </NOSCRIPT>
    <title>SMI : <?PHP echo _("ESPACE PRIVE"); ?></title>

    <?PHP include_once("header.inc.php"); ?>

    <script type="text/javascript">
        <!--
        function init_all() {
        <?php
        if ($validpwd)
        {
            if (@$_SESSION["etat_log"] == "connecte")
            {
                switch (@$_SESSION["niv_log"])
                {
                    case 1 :
                        echo 'window.location.replace("'.$rep_appli.'/cli/index.php");';
                        break;
                    case 2 :
                        echo 'window.location.replace("'.$rep_appli.'/ope/index.php?tl=1");';
                        break;
                    case 3 :
                    case 4 :
                        echo 'window.location.replace("'.$rep_appli.'/age/index.php");';
                        break;
                    case 5 :
                    case 9 :
                        echo 'window.location.replace("'.$rep_appli.'/admin/index.php");';
                        break;
                    case 6 :
                    case 7 :
                        echo 'window.location.replace("'.$rep_appli.'/do/index.php");';
                        break;
                    case 10 :
                    case 11 :
                        echo 'window.location.replace("'.$rep_appli.'/st/index.php");';
                        break;
                    default :
                        header("Location: index.php");
                        break;
                }
            }
        }
        else
        {
            echo 'init_Body();';
            echo 'Focus_first();';
            echo 'check_res();';
        }
        ?>
        }

        $(document).ready(function () {
            init_all();
        });
        //-->
    </script>

</head>

<body>
<?PHP
if (trim($messerr) <> '') {
    echo $messerr;
    exit();
}
?>

<form name="con" action="index.php" method="post">
    <input type="hidden" name="lng" id="lng" value="<?PHP echo $lng_appli; ?>">
    <table width="500" height="300" border="0" align="center">
        <tr>
            <td colspan="2" valign="top" align="center">
                <p><img src="img/logo.gif" alt="<?PHP echo _("logo SMI"); ?>"></p>

                <p><img src="img/login.png" alt="<?PHP echo _("connexion"); ?>"></p>

                <p class="annot_std_it"><?PHP echo _("Toutes les connexions sont archivées"); ?></p>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center" class="titre_std_gras_jaune_frouge">
                <strong><?PHP echo _("Connexion Espace Privé"); ?></strong></td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="50%" align="right" class="rubfrm"><?PHP echo _("Code Utilisateur"); ?></td>
            <td>
                <input name="con_code" type="text" id="con_code" size="26" maxlength="20">
            </td>
        </tr>
        <tr>
            <td align="right" class="rubfrm"><?PHP echo _("Mot de passe"); ?></td>
            <td>
                <input name="con_pass" type="password" id="con_pass" size="26" maxlength="20">
            </td>
        </tr>
        <tr>
            <td align="right" class="rubfrm"><?PHP echo _("Langue"); ?></td>
            <td>
                <?PHP
                cre_select('con_lng', 'con_lng', $tab_lngdisp, $_SESSION["lng"], '', _("-- Faites votre choix --"), 1, FALSE, '', '', FALSE);
                ?>
            </td>
        </tr>
        <tr>
            <td align="right" class="rubfrm"><?PHP echo _("Pays"); ?></td>
            <td>
                <?PHP
                // Création de la liste des pays
                $db = open_database(DBUSER, DBPASS, DBNAME, DBHOST);
                $rech = "SELECT * FROM `" . TBPAYS . "` ORDER BY pays_nom";
                $rows = $db->get_results($rech, ARRAY_A);
                $db->disconnect();
                cre_select_tab('pays', 'pays', $rows, 'pays_code', 'pays_nom', '', $_SESSION["codepays"], '', _("-- Faites votre choix --"), 1, FALSE, '', '', FALSE);
                ?>
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </table>
    <p align="center">
        <input name="RAZ" type="reset" class="bton_std" id="RAZ" value="<?PHP echo _("Réinitialiser"); ?>">
        <input type="submit" class="bton_std" name="submit" value="<?PHP echo _("Connexion"); ?>">
    </p>

    <p align="center"><a href="pass.php"><?PHP echo _("Mot de passe perdu ?"); ?></a></p>
</form>
<?PHP
if ($validpwd == 0) {
    if ($desactive == FALSE) {
        if (@$_POST["submit"] == _("Connexion"))
            echo '<p align="center"><span class="titre_std_gras_jaune_frouge">' . _("Mauvais codes de connexion") . '</span></p>';
    } else
        echo '<p align="center"><span class="titre_std_gras_jaune_frouge">' . _("Compte désactivé") . '</span></p>';
}
?>
<br /><br /><br />

<p align="center"><a href="http://smitst.homelinux.com"><span class="annot_petit_it">S.M.I. (Services Maintenance Interventions) <?PHP echo str_replace("S.M.I. ", "", $smiver); ?></span></a>
</p>

<div align="center">
    <br /><br /><br /><br /><br />
    <span class="annot_petit_it"><?PHP echo _("Soutenez le projet S.M.I."); ?></span><br />

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
        <input type="hidden" name="cmd" value="_s-xclick"/>
        <input type="image" src="https://www.paypal.com/fr_FR/i/btn/x-click-but04.gif" style="border:none" name="submit"
               alt="<?PHP echo _("Support SMI"); ?>"/>
        <img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1"/>
        <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHwQYJKoZIhvcNAQ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