. * * Support pour la gestion des droits */ if (!defined('BASEPATH')) exit ('No direct script access allowed'); // define("TRESORIER", 8); // define("SECRETAIRE", 16); // define("SECRETAIRE_ADJ", 32); // define("CA", 64); // define("CHEF_PI", 128); // define("VI_PLANEUR", 256); // define("VI_AVION", 512); // define("MECANO", 1024); // define("PILOTE_PLANEUR", 2048); // define("PILOTE_AVION", 4096); // define("REMORQUEUR", 8192); // define("PLIEUR", 16384); // define("ITP", 32768); // define("IVV", 65536); // define("FI_AVION", 131072); // define("FE_AVION", 262144); // define("TREUILLARD", 524288); if (!function_exists('logger_username')) { /** * Returns the first name and last name of the logged user for display * * @return string */ function logged_username() { $CI = & get_instance(); return $CI->dx_auth->get_username(); } }