Check(); $action=$g_user->check_dossier($gDossier); set_language(); if ( $action=='X' || ! isset($_GET['act']) || $g_user->check_print($_GET['act'])==0 ) { echo alert(_('Accès interdit')); redirect("do.php?".dossier::get()); exit(); } // get file and execute it $action=HtmlInput::default_value_get('act', null); if ($action == null ) { die(_('Appel invalide')); } $prfile=$cn->get_value("select me_file from menu_ref where me_code=$1",array($action)); if ( $prfile == "") { die (_('Export impossible')); } require_once $prfile; ?>