<?php
//20.0.56.2 FMK/Chargeur.php GF 
//VersionVI: 30F200067s
//(c) 2005-2012 PC SOFT  - Release
 define('FMK_Chargeur',true); class FMK_Chargeur { var $sDossierFmk; function Fd0ef2564($sSuffix = '') { return ($this->sDossierFmk . DIRECTORY_SEPARATOR . $sSuffix); } function Fba6906b4($sSuffix) { return $this->sDossierFmk . DIRECTORY_SEPARATOR . 'WD' . md5($sSuffix) . '.php'; } function F06090cce($sSuffix = '') { return (utf8_str_replace(DIRECTORY_SEPARATOR,'/',$this->sDossierFmk . '/' . $sSuffix)); } function F9b23c5c8($sPrefix = '.') { $this->sDossierFmk = $sPrefix; $nTaille = strlen( $this->sDossierFmk ); if ( ( $this->sDossierFmk[$nTaille-1] === '/') || ( $this->sDossierFmk[$nTaille-1] === '\\') ){ $this->sDossierFmk = substr($this->sDossierFmk,0,$nTaille-1); } } function FMK_Chargeur() { $this->sDossierFmk = '.'; } } $_FMK_Chargeur = null; function& FMK_Chargeur() { global $_FMK_Chargeur; if (!isset($_FMK_Chargeur)) $_FMK_Chargeur = new FMK_Chargeur(); return $_FMK_Chargeur; } function FMK_Charge($_psChemin,$_pbForce=false) { if ( !Fec0f5e44($_psChemin) || $_pbForce ) { if (!$_pbForce) define(F35548844($_psChemin) ,true); $clChargeur =& FMK_Chargeur(); if (!XVER_DEBUG) { if (!include_once( $clChargeur->Fba6906b4($_psChemin) ) ) { Fee63fc94(FMK_ChaineConstruit(F1ac3f040('ERR_FICHIER_INCORRECT'),$clChargeur->Fd0ef2564($_psChemin)),E_ERROR); return false; } } else{ if (!include_once( $clChargeur->Fd0ef2564($_psChemin) ) ) { Fee63fc94(FMK_ChaineConstruit(F1ac3f040('ERR_FICHIER_INCORRECT'),$clChargeur->Fd0ef2564($_psChemin)),E_ERROR); return false; } } $tabVars = array_keys(get_defined_vars()); foreach ($tabVars as $var) { if ( (isset($var)) && ($var != 'clChargeur') && ($var != '_psChemin') && ($var != '_pbForce') && ($var != 'GLOBALS') ) { $GLOBALS[$var] = $$var; } } } return true; } function Fec0f5e44($sChemin) { return ( defined(F35548844($sChemin) ) ); } function F35548844( $sCheminAbsoluFichier ) { return '__INC__' . $sCheminAbsoluFichier; } function F13a0db5e($sDossierRacine = null, $bRecursif = true) { global $_FMK_Chargeur; if (!isset($sDossierRacine)) { $sCheminFMK = dirname('.') . DIRECTORY_SEPARATOR . $_FMK_Chargeur->Fd0ef2564(); } else { $sCheminFMK = realpath($sDossierRacine); } if (!empty($sCheminFMK) && $sCheminFMK[strlen($sCheminFMK)-1]!=DIRECTORY_SEPARATOR) { $sCheminFMK.=DIRECTORY_SEPARATOR; } $resRepertoireCOurant = opendir($sCheminFMK); if ($resRepertoireCOurant!==false) while(($sFichier = readdir($resRepertoireCOurant)) !== false) { if (is_file($sCheminFMK . $sFichier)) { $path_parts = pathinfo($sCheminFMK .$sFichier); if ( ($path_parts['extension'] === 'php') && (!Fec0f5e44(utf8_str_replace($_FMK_Chargeur->sDossierFmk . '/','',$sCheminFMK. $sFichier))) ) { if ((utf8_strcasecmp($sFichier,'PageErreur.php')!==0)&&(utf8_strcasecmp($sFichier,'WDa38ab3722e401a952bf6c663ecb42001.php')!==0)&&(utf8_strcasecmp($sFichier,'WDFramework.php')!==0)&&(utf8_strcasecmp($sFichier,'Webservice.php')!==0)){ if (utf8_strpos($sFichier,'5')===false){ require_once $sCheminFMK . $sFichier; define(F35548844(utf8_str_replace($_FMK_Chargeur->sDossierFmk .'/' ,'',$sCheminFMK. $sFichier) ) ,true); } } } } elseif ($bRecursif && (is_dir($sCheminFMK. $sFichier)) && ($sFichier!='.')&&($sFichier!='..')) { F13a0db5e($sCheminFMK . $sFichier . DIRECTORY_SEPARATOR); } } return true; } function F47db8683() { global $gsPrefixeResInclude; $gsPrefixeResInclude = 'COLL/'; Res_Include('COLSTDDATE.php',RES_PROC_GLOBALES); Res_Include('COLMASQUEDATEHEURERELATIF.php',RES_PROC_GLOBALES); Res_Include('COLMASQUEDATEHEURE.php',RES_PROC_GLOBALES); Res_Include('COLMASQUE.php',RES_PROC_GLOBALES); Res_Include('COLINFOLANGUE.php',RES_PROC_GLOBALES); Res_Include('COLDATETIMEBASE.php',RES_PROC_GLOBALES); Res_Include('COLACCESSDLLRES.php',RES_PROC_GLOBALES); Res_Include('COLXASSERT.php',RES_PROC_GLOBALES); Res_Include('COLXSYSTEM.php',RES_PROC_GLOBALES); Res_Include('COLSTDDATE-class.php',RES_CLASS_GLOBALES); Res_Include('COLMASQUEDATEHEURERELATIF-class.php',RES_CLASS_GLOBALES); Res_Include('COLMASQUEDATEHEURE-class.php',RES_CLASS_GLOBALES); Res_Include('COLMASQUE-class.php',RES_CLASS_GLOBALES); Res_Include('COLINFOLANGUE-class.php',RES_CLASS_GLOBALES); Res_Include('COLDATETIMEBASE-class.php',RES_CLASS_GLOBALES); Res_Include('COLACCESSDLLRES-class.php',RES_CLASS_GLOBALES); Res_Include('COLXASSERT-class.php',RES_CLASS_GLOBALES); Res_Include('COLXSYSTEM-class.php',RES_CLASS_GLOBALES); $gsPrefixeResInclude = ''; } ?>