23define(
'ALLOWED',TRUE);
24require_once
'../include/constant.php';
25require_once NOALYSS_INCLUDE.
'/class/dossier.class.php';
26include_once NOALYSS_INCLUDE.
'/lib/ac_common.php';
27require_once NOALYSS_INCLUDE.
'/class/acc_ledger.class.php';
28require_once NOALYSS_INCLUDE.
'/class/acc_ledger_search.class.php';
29require_once NOALYSS_INCLUDE.
'/lib/icon_action.class.php';
30require_once NOALYSS_INCLUDE.
'/lib/http_input.class.php';
33if ( ! isset ($_SESSION[SESSION_KEY.
'g_theme']))
35 echo
"<h2>"._(
'Vous êtes déconnecté').
"</h2>";
47require_once NOALYSS_INCLUDE.
'/class/database.class.php';
51include_once NOALYSS_INCLUDE .
'/class/noalyss_user.class.php';
60 redirect(
"extension.php?".dossier::get(),0);
65 alert(_(
'Accès interdit'));
75window.onload=
function ()
85echo
'<div class="content">';
87echo
'<form method="GET">';
94<input
type=
"button" class=
"smallbutton" onclick=
"window.close()" value=
"<?php echo _('Fermer')?>">
102if ( isset (
$_GET[
'viewsearch']))
106 $step=$_SESSION[SESSION_KEY.
'g_pagesize'];
110 if (count (
$_GET) == 0)
129 'qcode',
'accounting',
'unpaid',
'gDossier',
'ledger_type',
'tag_option'));
130 if (isset(
$_GET[
'r_jrn'])) {
132 $a_rjrn=
$http->get(
"r_jrn",
"array");
133 foreach ($a_rjrn as $k=>$v) {
140 if (isset(
$_GET[
'tag'])) {
143 foreach (
$aTag as $k=>$v) {
150 echo
'<form action="export.php" method="get">';
156 <input
type=
"button" class=
"smallbutton" onclick=
"window.close()" value=
"<?php echo _('Fermer')?>">
MaintenanceMode($p_file)
When you want to prevent users to connect, create a file in noalyss/ (NOALYSS_BASE) with the message ...
html_page_start($p_theme="", $p_script="", $p_script2="")
Default page header for each page.
alert($p_msg, $buffer=false)
alert in javascript
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r
for($e=0; $e< count($afiche); $e++) exit
load_all_script()
load all the javascript only one time
if( $act=='P') if( $act=='X') $ledger
redirect($p_string, $p_time=0)
navigation_bar($p_offset, $p_line, $p_size=0, $p_page=1, $p_javascript="")
Create a navigation_bar (pagesize)