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