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 ()
62$cn=Dossier::connect();
68if ( !
$g_user->is_double_identified()) {
71$g_user->check_dossier(Dossier::id());
73if ( basename(
$_GET[
'op']) ==
'history' )
90 if (isset(
$_GET[
'ex']))
106 if (isset(
$_GET[
'pcm_val']) )
108 $pcm_val=
$http->get(
"pcm_val");
109 $href_csv=
"export.php?".$href.
'&poste_id='.$pcm_val.
'&ople=0&type=poste&'.
$from_periode.
'&'.
$to_periode.
"&act=CSV:postedetail";
110 $href_pdf=
"export.php?".$href.
'&poste_id='.$pcm_val.
'&ople=0&type=poste&'.
$from_periode.
'&'.
$to_periode.
"&act=PDF:postedetail";;
119 echo
'<a class="smallbutton" href="'.$href_csv.
'">'.
_(
"Export CSV").
'</a>';
120 echo
'<a class="smallbutton" href="'.$href_pdf.
'">'.
_(
"Export PDF").
'</a>';
123 echo HtmlInput::print_window();
129$str=$_SERVER[
'QUERY_STRING'].
"&div=popup";
132 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.
global $g_user
if no group available , then stop
catch(Exception $e) $exercice
_("actif, passif,charge,...")
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