Check(); $action=$g_user->check_dossier($gDossier); $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 ( LOGINPUT) { $file_loginput=fopen($_ENV['TMP'].'/export-'.$prfile.'-'.$_SERVER['REQUEST_TIME'].'.php','a+'); fwrite ($file_loginput,"