20require_once
'../include/constant.php';
21require_once NOALYSS_INCLUDE.
'/lib/ac_common.php';
22require_once NOALYSS_INCLUDE.
'/lib/function_javascript.php';
23require_once NOALYSS_INCLUDE.
'/lib/html_input.class.php';
24require_once NOALYSS_INCLUDE.
'/lib/icon_action.class.php';
25require_once NOALYSS_INCLUDE.
'/class/dossier.class.php';
26require_once NOALYSS_INCLUDE.
'/class/database.class.php';
27require_once NOALYSS_INCLUDE.
'/lib/http_input.class.php';
28require_once NOALYSS_INCLUDE .
'/class/noalyss_user.class.php';
29require_once NOALYSS_INCLUDE.
'/class/periode.class.php';
35if ( ! isset ($_SESSION[SESSION_KEY.
'g_user'] ) )
37 echo
"<h2>"._(
'Vous êtes déconnecté').
"</h2>";
38 $backurl=$_SERVER[
'REQUEST_URI'];
39 $url=
"index.php?".http_build_query(array(
'reconnect'=>1,
'backurl'=>urlencode($backurl)));
46echo
'<div style="float:left;">';
53window.onload=
function ()
67if ( basename(
$_GET[
'op']) ==
'history' )
84 if (isset(
$_GET[
'ex']))
100 if (isset(
$_GET[
'pcm_val']) )
102 $pcm_val=
$http->get(
"pcm_val");
103 $href_csv=
"export.php?".$href.
'&poste_id='.$pcm_val.
'&ople=0&type=poste&'.
$from_periode.
'&'.
$to_periode.
"&act=CSV:postedetail";
104 $href_pdf=
"export.php?".$href.
'&poste_id='.$pcm_val.
'&ople=0&type=poste&'.
$from_periode.
'&'.
$to_periode.
"&act=PDF:postedetail";;
113 echo
'<a class="smallbutton" href="'.$href_csv.
'">'._(
"Export CSV").
'</a>';
114 echo
'<a class="smallbutton" href="'.$href_pdf.
'">'._(
"Export PDF").
'</a>';
123$str=$_SERVER[
'QUERY_STRING'].
"&div=popup";
126 var obj={id:'popup',fixed:1,cssclass:'content',style:'width:auto',html:loading(),qs:'$str',js_success:'success_box',js_error:null,callback:'".$ajax.
"'};
html_page_start($p_theme="", $p_script="", $p_script2="")
Default page header for each page.
catch(Exception $e) $exercice
static id()
return the 'gDossier' value after a check
For the periode tables parm_periode and jrn_periode.
for($e=0; $e< count($afiche); $e++) exit
load_all_script()
load all the javascript only one time
create_script($p_string)
create the HTML for adding the script tags around of the script
redirect($p_string, $p_time=0)