new coding convention , Change File name : class_ becomes file.class.php

This commit is contained in:
Dany De Bontridder 2017-07-08 09:46:41 +02:00
parent 1d5550713f
commit f84a96033e
355 changed files with 1011 additions and 1011 deletions

View file

@ -9,9 +9,9 @@ require_once '../../include/constant.php';
const REPOSITORY_DB=1; const REPOSITORY_DB=1;
const ACCOUNT_DB=2; const ACCOUNT_DB=2;
require NOALYSS_INCLUDE."/lib/class_database.php"; require NOALYSS_INCLUDE."/lib/database.class.php";
require NOALYSS_INCLUDE."/lib/class_iselect.php"; require NOALYSS_INCLUDE."/lib/iselect.class.php";
require NOALYSS_INCLUDE."/lib/class_http_input.php"; require NOALYSS_INCLUDE."/lib/http_input.class.php";
require './table_sql.class.php'; require './table_sql.class.php';

View file

@ -19,8 +19,8 @@
* along with NOALYSS; if not, write to the Free Software * along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
require_once NOALYSS_INCLUDE.'/database/class_noalyss_sql.php'; require_once NOALYSS_INCLUDE.'/database/noalyss_sql.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
/** /**

View file

@ -23,9 +23,9 @@
* \brief create GL comptes as PDF * \brief create GL comptes as PDF
*/ */
include_once '../../include/constant.php'; include_once '../../include/constant.php';
require_once NOALYSS_INCLUDE.'/lib/class_pdf.php'; require_once NOALYSS_INCLUDE.'/lib/pdf.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/class/class_own.php'; require_once NOALYSS_INCLUDE.'/class/own.class.php';
bcscale(2); bcscale(2);
$_REQUEST['gDossier']=37; $_REQUEST['gDossier']=37;
$_GET['gDossier']=37; $_GET['gDossier']=37;

View file

@ -14,12 +14,12 @@
*/ */
if ( ! defined ('ALLOWED') ) define ('ALLOWED',1); if ( ! defined ('ALLOWED') ) define ('ALLOWED',1);
require_once '../include/constant.php'; require_once '../include/constant.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE.'/class/class_extension.php'; require_once NOALYSS_INCLUDE.'/class/extension.class.php';
if ( !isset ($_REQUEST['gDossier'])) exit(); if ( !isset ($_REQUEST['gDossier'])) exit();
require_once NOALYSS_INCLUDE.'/class/class_own.php'; require_once NOALYSS_INCLUDE.'/class/own.class.php';
mb_internal_encoding("UTF-8"); mb_internal_encoding("UTF-8");
global $g_user,$cn,$g_parameter; global $g_user,$cn,$g_parameter;

View file

@ -38,13 +38,13 @@
if ( ! defined('ALLOWED')) define ('ALLOWED',1); if ( ! defined('ALLOWED')) define ('ALLOWED',1);
require_once '../include/constant.php'; require_once '../include/constant.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; require_once NOALYSS_INCLUDE.'/class/fiche.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_iradio.php'; require_once NOALYSS_INCLUDE.'/lib/iradio.class.php';
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
mb_internal_encoding("UTF-8"); mb_internal_encoding("UTF-8");
@ -208,7 +208,7 @@ switch ($op)
//-------------------------------------------------- //--------------------------------------------------
// get the last date of a ledger // get the last date of a ledger
case 'lastdate': case 'lastdate':
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_fin.php'; require_once NOALYSS_INCLUDE.'/class/acc_ledger_fin.class.php';
$ledger = new Acc_Ledger_Fin($cn, $_GET['p_jrn']); $ledger = new Acc_Ledger_Fin($cn, $_GET['p_jrn']);
$html = $ledger->get_last_date(); $html = $ledger->get_last_date();
$html = escape_xml($html); $html = escape_xml($html);
@ -223,7 +223,7 @@ EOF;
break; break;
case 'bkname': case 'bkname':
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_fin.php'; require_once NOALYSS_INCLUDE.'/class/acc_ledger_fin.class.php';
$ledger = new Acc_Ledger_Fin($cn, $_GET['p_jrn']); $ledger = new Acc_Ledger_Fin($cn, $_GET['p_jrn']);
$html = $ledger->get_bank_name(); $html = $ledger->get_bank_name();
$html = escape_xml($html); $html = escape_xml($html);
@ -238,7 +238,7 @@ EOF;
break; break;
// display new calendar // display new calendar
case 'cal': case 'cal':
require_once NOALYSS_INCLUDE.'/class/class_calendar.php'; require_once NOALYSS_INCLUDE.'/class/calendar.class.php';
/* others report */ /* others report */
$cal = new Calendar(); $cal = new Calendar();
$cal->set_periode($per); $cal->set_periode($per);
@ -256,7 +256,7 @@ EOF;
break; break;
/* rem a cat of document */ /* rem a cat of document */
case 'rem_cat_doc': case 'rem_cat_doc':
require_once NOALYSS_INCLUDE.'/class/class_document_type.php'; require_once NOALYSS_INCLUDE.'/class/document_type.class.php';
// if user can not return error message // if user can not return error message
$message=""; $message="";
if ($g_user->check_action(PARCATDOC) == 0) if ($g_user->check_action(PARCATDOC) == 0)

View file

@ -31,11 +31,11 @@
* Must return at least tva, htva and tvac * Must return at least tva, htva and tvac
*/ */
require_once '../include/constant.php'; require_once '../include/constant.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_compute.php'; require_once NOALYSS_INCLUDE.'/class/acc_compute.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_tva.php'; require_once NOALYSS_INCLUDE.'/class/acc_tva.class.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
// Check if the needed field does exist // Check if the needed field does exist
extract ($_GET, EXTR_SKIP ); extract ($_GET, EXTR_SKIP );

View file

@ -19,8 +19,8 @@
*/ */
require_once '../include/constant.php'; require_once '../include/constant.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
$cn=Dossier::connect(); $cn=Dossier::connect();
global $g_user; global $g_user;

View file

@ -24,14 +24,14 @@ define('ALLOWED',1);
* \brief Main file * \brief Main file
*/ */
require_once '../include/constant.php'; require_once '../include/constant.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/lib/user_common.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php';
require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
require_once NOALYSS_INCLUDE.'/constant.security.php'; require_once NOALYSS_INCLUDE.'/constant.security.php';
require_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
mb_internal_encoding("UTF-8"); mb_internal_encoding("UTF-8");

View file

@ -27,9 +27,9 @@
define ('ALLOWED',1); define ('ALLOWED',1);
require_once '../include/constant.php'; require_once '../include/constant.php';
global $g_user,$cn,$g_parameter; global $g_user,$cn,$g_parameter;
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$gDossier=dossier::id(); $gDossier=dossier::id();
$cn=Dossier::connect(); $cn=Dossier::connect();
mb_internal_encoding("UTF-8"); mb_internal_encoding("UTF-8");

View file

@ -24,14 +24,14 @@
* the security. Load several javascript files * the security. Load several javascript files
*/ */
require_once '../include/constant.php'; require_once '../include/constant.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
require_once NOALYSS_INCLUDE.'/class/class_extension.php'; require_once NOALYSS_INCLUDE.'/class/extension.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; require_once NOALYSS_INCLUDE.'/lib/iselect.class.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
global $g_user,$cn,$g_parameter; global $g_user,$cn,$g_parameter;

View file

@ -33,14 +33,14 @@
*\note if the j is -1 then all the card are shown *\note if the j is -1 then all the card are shown
*/ */
require_once '../include/constant.php'; require_once '../include/constant.php';
require_once NOALYSS_INCLUDE.'/class/class_own.php'; require_once NOALYSS_INCLUDE.'/class/own.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/lib/user_common.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php';
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
$gDossier=dossier::id(); $gDossier=dossier::id();
require_once('class/class_user.php'); require_once('class/user.class.php');
$cn=Dossier::connect(); $cn=Dossier::connect();
global $g_user; global $g_user;

View file

@ -26,8 +26,8 @@
*/ */
require_once '../include/constant.php'; require_once '../include/constant.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
/*!\brief /*!\brief
* Received parameters are * Received parameters are
* - j for the ledger * - j for the ledger
@ -48,7 +48,7 @@ $cn=Dossier::connect();
$d=$_REQUEST['e']; $d=$_REQUEST['e'];
$filter_card=''; $filter_card='';
require_once('class/class_user.php'); require_once('class/user.class.php');
global $g_user; global $g_user;
$g_user=new User($cn); $g_user=new User($cn);
$g_user->check(); $g_user->check();

View file

@ -121,7 +121,7 @@ if ( ! isset($_GET['lang'])){
} }
require_once '../include/constant.php'; require_once '../include/constant.php';
include_once NOALYSS_INCLUDE.'/lib/ac_common.php'; include_once NOALYSS_INCLUDE.'/lib/ac_common.php';
include_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; include_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
if ( $_GET['lang'] == "en_US.utf8" || $_GET['lang']=='fr_FR.utf8') if ( $_GET['lang'] == "en_US.utf8" || $_GET['lang']=='fr_FR.utf8')
{ {
$_SESSION['g_lang']=$_GET['lang']; $_SESSION['g_lang']=$_GET['lang'];
@ -322,7 +322,7 @@ if ( ! file_exists(NOALYSS_INCLUDE.'/config.inc.php')) {
// magic_quotes_sybase = Off // magic_quotes_sybase = Off
// include_path // include_path
require_once NOALYSS_INCLUDE.'/lib/config_file.php'; require_once NOALYSS_INCLUDE.'/lib/config_file.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
// we shouldn't use it // we shouldn't use it
// if ( defined ("MULTI") && MULTI==1) { create_htaccess();} // if ( defined ("MULTI") && MULTI==1) { create_htaccess();}
@ -489,7 +489,7 @@ if ( $Res==0) { ?>
<?php exit(); } <?php exit(); }
include_once('lib/ac_common.php'); include_once('lib/ac_common.php');
require_once('class/class_dossier.php'); require_once('class/dossier.class.php');
// Memory setting // Memory setting
//-- //--

View file

@ -25,7 +25,7 @@ include_once NOALYSS_INCLUDE.'/lib/ac_common.php';
* \brief Login page * \brief Login page
*/ */
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
// Verif if User and Pass match DB // Verif if User and Pass match DB
// if no, then redirect to the login page // if no, then redirect to the login page
$rep=new Database(); $rep=new Database();
@ -54,7 +54,7 @@ if ( isset ($_POST["p_user"] ) )
echo "<META HTTP-EQUIV=\"REFRESH\" content=\"0;url=admin-noalyss.php\">"; echo "<META HTTP-EQUIV=\"REFRESH\" content=\"0;url=admin-noalyss.php\">";
exit(); exit();
} }
include_once NOALYSS_INCLUDE."/class/class_user.php"; require_once NOALYSS_INCLUDE."/class/user.class.php";
$User=new User($rep); $User=new User($rep);
$User->Check(false,'LOGIN'); $User->Check(false,'LOGIN');
if ($g_captcha == true) if ($g_captcha == true)
@ -93,7 +93,7 @@ else
} }
include_once ("class/class_user.php"); include_once ("class/user.class.php");
$User=new User($rep); $User=new User($rep);
$User->Check(); $User->Check();

View file

@ -22,7 +22,7 @@
*/ */
require_once '../include/constant.php'; require_once '../include/constant.php';
require_once ("lib/ac_common.php"); require_once ("lib/ac_common.php");
require_once('lib/class_database.php'); require_once('lib/database.class.php');
session_unset(); session_unset();
html_page_start("classic"); html_page_start("classic");

View file

@ -20,11 +20,11 @@
require_once '../include/constant.php'; require_once '../include/constant.php';
require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
require_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE.'/class/class_periode.php'; require_once NOALYSS_INCLUDE.'/class/periode.class.php';
/* /*

View file

@ -21,9 +21,9 @@
* \brief Search module * \brief Search module
*/ */
require_once '../include/constant.php'; require_once '../include/constant.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
include_once NOALYSS_INCLUDE.'/lib/ac_common.php'; include_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
html_page_start($_SESSION['g_theme']); html_page_start($_SESSION['g_theme']);
@ -32,11 +32,11 @@ load_all_script();
$gDossier=dossier::id(); $gDossier=dossier::id();
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
/* Admin. Dossier */ /* Admin. Dossier */
$cn=Dossier::connect(); $cn=Dossier::connect();
include_once NOALYSS_INCLUDE.'/class/class_user.php'; include_once NOALYSS_INCLUDE.'/class/user.class.php';
global $g_user; global $g_user;
$g_user=new User($cn); $g_user=new User($cn);

View file

@ -31,11 +31,11 @@
include_once("../include/constant.php"); include_once("../include/constant.php");
include_once("lib/ac_common.php"); include_once("lib/ac_common.php");
require_once('lib/class_database.php'); require_once('lib/database.class.php');
require_once ('class/class_dossier.php'); require_once ('class/dossier.class.php');
require_once('lib/class_html_input.php'); require_once('lib/html_input.class.php');
require_once ('lib/function_javascript.php'); require_once ('lib/function_javascript.php');
require_once 'class/class_user.php'; require_once 'class/user.class.php';
load_all_script(); load_all_script();
$gDossier=HtmlInput::default_value_get('gDossier', -1); $gDossier=HtmlInput::default_value_get('gDossier', -1);
if ($gDossier==-1) if ($gDossier==-1)

View file

@ -23,14 +23,14 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu // Copyright Author Dany De Bontridder danydb@aevalys.eu
require_once '../include/constant.php'; require_once '../include/constant.php';
include_once NOALYSS_INCLUDE.'/lib/ac_common.php'; include_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; require_once NOALYSS_INCLUDE.'/lib/itext.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
@html_page_start($_SESSION['g_theme']); @html_page_start($_SESSION['g_theme']);
$rep=new Database(); $rep=new Database();
include_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
$User=new User($rep); $User=new User($rep);
$User->Check(); $User->Check();

View file

@ -28,11 +28,11 @@ $retour=HtmlInput::button_anchor(_('Retour liste'),
//----------------------------------------------------- //-----------------------------------------------------
// Follow_Up // Follow_Up
//----------------------------------------------------- //-----------------------------------------------------
require_once NOALYSS_INCLUDE.'/lib/class_icard.php'; require_once NOALYSS_INCLUDE.'/lib/icard.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_ispan.php'; require_once NOALYSS_INCLUDE.'/lib/ispan.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_ifile.php'; require_once NOALYSS_INCLUDE.'/lib/ifile.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; require_once NOALYSS_INCLUDE.'/lib/itext.class.php';
require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
/*!\brief Show the list of action, this code should be common /*!\brief Show the list of action, this code should be common
* to several webpage. But for the moment we keep like that * to several webpage. But for the moment we keep like that
* because it is used only by this file. * because it is used only by this file.

View file

@ -21,13 +21,13 @@
* the customer category * the customer category
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; require_once NOALYSS_INCLUDE.'/lib/iselect.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php';
require_once NOALYSS_INCLUDE.'/class/class_customer.php'; require_once NOALYSS_INCLUDE.'/class/customer.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_ibutton.php'; require_once NOALYSS_INCLUDE.'/lib/ibutton.class.php';
require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php'; require_once NOALYSS_INCLUDE.'/class/fiche_def.class.php';
require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php'; require_once NOALYSS_INCLUDE.'/class/fiche_def.class.php';
require_once NOALYSS_INCLUDE.'/class/class_admin.php'; require_once NOALYSS_INCLUDE.'/class/admin.class.php';
global $g_user,$http; global $g_user,$http;

View file

@ -23,12 +23,12 @@
*/ */
if ( ! defined ('ALLOWED')) { die (_('Non autorisé'));} if ( ! defined ('ALLOWED')) { die (_('Non autorisé'));}
include_once NOALYSS_INCLUDE."/class/class_user.php"; include_once NOALYSS_INCLUDE."/class/user.class.php";
require_once NOALYSS_INCLUDE."/lib/user_common.php"; require_once NOALYSS_INCLUDE."/lib/user_common.php";
include_once NOALYSS_INCLUDE."/lib/ac_common.php"; include_once NOALYSS_INCLUDE."/lib/ac_common.php";
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE."/lib/user_menu.php"; require_once NOALYSS_INCLUDE."/lib/user_menu.php";
require_once NOALYSS_INCLUDE."/lib/class_http_input.php"; require_once NOALYSS_INCLUDE."/lib/http_input.class.php";
$http=new HttpInput(); $http=new HttpInput();
$action = $http->request("action","string", ""); $action = $http->request("action","string", "");

View file

@ -21,7 +21,7 @@
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
try try
{ {
@ -35,7 +35,7 @@ catch (Exception $exc)
return; return;
} }
require_once 'class/class_follow_up.php'; require_once 'class/follow_up.class.php';
$follow=new Follow_Up($cn,$ag_id); $follow=new Follow_Up($cn,$ag_id);
ob_start(); ob_start();

View file

@ -24,7 +24,7 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
/** /**
* Insert into follow-up the card (f_id) for the action_gestion (ag_id) * Insert into follow-up the card (f_id) for the action_gestion (ag_id)
*/ */
require_once 'class/class_follow_up.php'; require_once 'class/follow_up.class.php';
$follow=new Follow_Up($cn,$ag_id); $follow=new Follow_Up($cn,$ag_id);
$follow->insert_linked_card($f_id); $follow->insert_linked_card($f_id);
/** /**

View file

@ -24,7 +24,7 @@
if (!defined('ALLOWED')) if (!defined('ALLOWED'))
die('Appel direct ne sont pas permis'); die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
ob_start(); ob_start();
@ -39,7 +39,7 @@ catch (Exception $exc)
return; return;
} }
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
$r=HtmlInput::title_box(_("Détail fiche"), 'search_card'); $r=HtmlInput::title_box(_("Détail fiche"), 'search_card');

View file

@ -40,7 +40,7 @@ if (!defined('ALLOWED'))
if ($g_user->check_module('CFGPRO')==0) if ($g_user->check_module('CFGPRO')==0)
die(); die();
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
try try

View file

@ -32,7 +32,7 @@ if ($g_user->Admin()==0)
die(); die();
} }
set_language(); set_language();
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
// From admin, grant the access to a folder to an // From admin, grant the access to a folder to an

View file

@ -27,7 +27,7 @@
// Copyright (2014) Author Dany De Bontridder danydb@aevalys.eu // Copyright (2014) Author Dany De Bontridder danydb@aevalys.eu
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
try try
@ -44,7 +44,7 @@ catch (Exception $exc)
} }
require_once 'class/class_anc_key.php'; require_once 'class/anc_key.class.php';
ob_start(); ob_start();
echo HtmlInput::title_box(_("Choix d'une clef"), 'div_anc_key_choice'); echo HtmlInput::title_box(_("Choix d'une clef"), 'div_anc_key_choice');

View file

@ -28,8 +28,8 @@
// //
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_anc_key.php'; require_once NOALYSS_INCLUDE.'/class/anc_key.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
try try

View file

@ -28,16 +28,16 @@
// parameter are gDossier , c1 : the control id to update, // parameter are gDossier , c1 : the control id to update,
// c2 the control id which contains the pa_id // c2 the control id which contains the pa_id
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; require_once NOALYSS_INCLUDE.'/lib/itext.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_ibutton.php'; require_once NOALYSS_INCLUDE.'/lib/ibutton.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/class/class_anc_account.php'; require_once NOALYSS_INCLUDE.'/class/anc_account.class.php';
require_once NOALYSS_INCLUDE.'/class/class_anc_plan.php'; require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php';
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
$texte=new IText('plabel'); $texte=new IText('plabel');

View file

@ -3,8 +3,8 @@
//see licence.txt //see licence.txt
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
$cn=Dossier::connect(); $cn=Dossier::connect();

View file

@ -35,9 +35,9 @@
* - ctl the ctl where to get the quick_code * - ctl the ctl where to get the quick_code
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; require_once NOALYSS_INCLUDE.'/class/fiche.class.php';
extract($_GET, EXTR_SKIP); extract($_GET, EXTR_SKIP);
/* check the parameters */ /* check the parameters */
foreach ( array('j','ctl') as $a ) foreach ( array('j','ctl') as $a )

View file

@ -18,8 +18,8 @@
*/ */
// Copyright Author Dany De Bontridder danydb@aevalys.eu // Copyright Author Dany De Bontridder danydb@aevalys.eu
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_calendar.php'; require_once NOALYSS_INCLUDE.'/class/calendar.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
ob_start(); ob_start();

View file

@ -55,13 +55,13 @@
*/ */
if ( ! defined('ALLOWED')) die (_('Accès non autorisé')); if ( ! defined('ALLOWED')) die (_('Accès non autorisé'));
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; require_once NOALYSS_INCLUDE.'/class/fiche.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_iradio.php'; require_once NOALYSS_INCLUDE.'/lib/iradio.class.php';
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE.'/class/class_fiche_attr.php'; require_once NOALYSS_INCLUDE.'/class/fiche_attr.class.php';
mb_internal_encoding("UTF-8"); mb_internal_encoding("UTF-8");
@ -338,7 +338,7 @@ case 'sc':
* *
*----------------------------------------------------------------------*/ *----------------------------------------------------------------------*/
case 'fs': case 'fs':
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
$r=HtmlInput::title_box(_("Détail fiche"), 'search_card'); $r=HtmlInput::title_box(_("Détail fiche"), 'search_card');
$r.='<form method="GET" onsubmit="this.ctl=\'ipop_card\';search_get_card(this);return false;">'; $r.='<form method="GET" onsubmit="this.ctl=\'ipop_card\';search_get_card(this);return false;">';
$q=new IText('query'); $q=new IText('query');

View file

@ -3,7 +3,7 @@
//see licence.txt //see licence.txt
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_menu_ref.php'; require_once NOALYSS_INCLUDE.'/class/menu_ref.class.php';
$msg=_("Création"); $msg=_("Création");
$m=new Menu_Ref($cn); $m=new Menu_Ref($cn);
echo '<form method="POST" id="ajax_create_menu_frm" onsubmit="return confirm_box(this,\''._('Vous confirmez ?').'\')">'; echo '<form method="POST" id="ajax_create_menu_frm" onsubmit="return confirm_box(this,\''._('Vous confirmez ?').'\')">';

View file

@ -23,7 +23,7 @@
if (!defined('ALLOWED')) if (!defined('ALLOWED'))
die('Appel direct ne sont pas permis'); die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_lettering.php'; require_once NOALYSS_INCLUDE.'/class/lettering.class.php';
$exercice=$g_user->get_exercice(); $exercice=$g_user->get_exercice();
if ($g_user->check_module("LETCARD")==0 && $g_user->check_module("LETACC")==0) if ($g_user->check_module("LETCARD")==0 && $g_user->check_module("LETACC")==0)
exit(); exit();

View file

@ -30,7 +30,7 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
// Security // Security
if ( $g_user->check_module('CFGPRO') == 0 ) die(); if ( $g_user->check_module('CFGPRO') == 0 ) die();
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
ob_start(); ob_start();
@ -47,7 +47,7 @@ catch (Exception $exc)
return; return;
} }
require_once NOALYSS_INCLUDE.'/class/class_profile_menu.php'; require_once NOALYSS_INCLUDE.'/class/profile_menu.class.php';
$p_level++; $p_level++;
$profile=new Profile_Menu($cn); $profile=new Profile_Menu($cn);
$profile->p_id=$p_id; $profile->p_id=$p_id;

View file

@ -26,8 +26,8 @@
* *
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php'; require_once NOALYSS_INCLUDE.'/class/fiche_def.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_single_record.php'; require_once NOALYSS_INCLUDE.'/lib/single_record.class.php';
global $g_user; global $g_user;
$g_user->can_request(FICCAT,0); $g_user->can_request(FICCAT,0);

View file

@ -26,7 +26,7 @@
if (!defined('ALLOWED')) if (!defined('ALLOWED'))
die('Appel direct ne sont pas permis'); die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
if ($op=='action_show') if ($op=='action_show')
@ -34,7 +34,7 @@ if ($op=='action_show')
/** /**
* display action * display action
*/ */
require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
$gestion=new Follow_Up($cn); $gestion=new Follow_Up($cn);
$array=$gestion->get_last(25); $array=$gestion->get_last(25);
$len_array=count($array); $len_array=count($array);
@ -43,14 +43,14 @@ if ($op=='action_show')
} }
if ($op=='action_add') if ($op=='action_add')
{ {
require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
$gestion=new Follow_Up($cn); $gestion=new Follow_Up($cn);
$gestion->display_short(); $gestion->display_short();
return; return;
} }
if ($op=='action_save') if ($op=='action_save')
{ {
require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
/** /**
* save info from the get * save info from the get

View file

@ -31,10 +31,10 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
// Security // Security
if ( $g_user->check_module('CFGPRO') == 0 ) die(); if ( $g_user->check_module('CFGPRO') == 0 ) die();
require_once NOALYSS_INCLUDE.'/database/class_profile_sql.php'; require_once NOALYSS_INCLUDE.'/database/profile_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/class_profile_menu.php'; require_once NOALYSS_INCLUDE.'/class/profile_menu.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
$p_id=$http->request('p_id',"string", -1); $p_id=$http->request('p_id',"string", -1);

View file

@ -30,10 +30,10 @@
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/constant.php'; require_once NOALYSS_INCLUDE.'/constant.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
// Check if the needed field does exist // Check if the needed field does exist
extract ($_GET, EXTR_SKIP); extract ($_GET, EXTR_SKIP);

View file

@ -25,13 +25,13 @@
*/ */
if ( ! defined('ALLOWED')) die (_('Accès interdit')); if ( ! defined('ALLOWED')) die (_('Accès interdit'));
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/class/class_periode.php'; require_once NOALYSS_INCLUDE.'/class/periode.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_account.php'; require_once NOALYSS_INCLUDE.'/class/acc_account.class.php';
require_once NOALYSS_INCLUDE.'/class/class_exercice.php'; require_once NOALYSS_INCLUDE.'/class/exercice.class.php';
$div=$_REQUEST['div']; $div=$_REQUEST['div'];
mb_internal_encoding("UTF-8"); mb_internal_encoding("UTF-8");

View file

@ -30,17 +30,17 @@
*/ */
if ( ! defined('ALLOWED')) die(_('Non authorisé')); if ( ! defined('ALLOWED')) die(_('Non authorisé'));
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_operation.php'; require_once NOALYSS_INCLUDE.'/class/acc_operation.class.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; require_once NOALYSS_INCLUDE.'/class/fiche.class.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_reconciliation.php'; require_once NOALYSS_INCLUDE.'/class/acc_reconciliation.class.php';
require_once NOALYSS_INCLUDE.'/class/class_anc_operation.php'; require_once NOALYSS_INCLUDE.'/class/anc_operation.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_idate.php'; require_once NOALYSS_INCLUDE.'/lib/idate.class.php';
require_once NOALYSS_INCLUDE.'/class/class_own.php'; require_once NOALYSS_INCLUDE.'/class/own.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_iconcerned.php'; require_once NOALYSS_INCLUDE.'/lib/iconcerned.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
/** /**

View file

@ -14,8 +14,8 @@
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
if ( ! isset ($r_jrn)) { $r_jrn=null;} if ( ! isset ($r_jrn)) { $r_jrn=null;}
$ctl='div_jrn'.$div; $ctl='div_jrn'.$div;
ob_start(); ob_start();

View file

@ -26,8 +26,8 @@
* *
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
extract($_GET, EXTR_SKIP); extract($_GET, EXTR_SKIP);
/* check the parameters */ /* check the parameters */
foreach ( array('j','ctl') as $a ) foreach ( array('j','ctl') as $a )

View file

@ -23,9 +23,9 @@
* \brief show the detail of a document and let you modify it * \brief show the detail of a document and let you modify it
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/class/class_document_modele.php'; require_once NOALYSS_INCLUDE.'/class/document_modele.class.php';
/* 1. Check security */ /* 1. Check security */
$cn=Dossier::connect(); $cn=Dossier::connect();

View file

@ -3,7 +3,7 @@
//see licence.txt //see licence.txt
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_menu_ref.php'; require_once NOALYSS_INCLUDE.'/class/menu_ref.class.php';
$m=new Menu_Ref($cn,$me_code); $m=new Menu_Ref($cn,$me_code);
$msg="Modification ".$m->me_code.' '.h($m->me_menu); $msg="Modification ".$m->me_code.' '.h($m->me_menu);
echo '<form method="POST" id="ajax_mod_menu_frm" onsubmit="return confirm_box(this,\'Vous confirmez ?\')">'; echo '<form method="POST" id="ajax_mod_menu_frm" onsubmit="return confirm_box(this,\'Vous confirmez ?\')">';

View file

@ -20,7 +20,7 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu // Copyright Author Dany De Bontridder danydb@aevalys.eu
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_periode.php'; require_once NOALYSS_INCLUDE.'/class/periode.class.php';
/**\file /**\file
* \brief display or save a periode * \brief display or save a periode

View file

@ -25,7 +25,7 @@
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
ob_start(); ob_start();
require_once NOALYSS_INCLUDE.'/class/class_pre_operation.php'; require_once NOALYSS_INCLUDE.'/class/pre_operation.class.php';
$op=new Pre_Operation($cn,$_GET['id']); $op=new Pre_Operation($cn,$_GET['id']);
$array=$op->load(); $array=$op->load();
echo HtmlInput::anchor_close('mod_predf_op'); echo HtmlInput::anchor_close('mod_predf_op');

View file

@ -26,7 +26,7 @@
* *
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/database/class_stock_sql.php'; require_once NOALYSS_INCLUDE.'/database/stock_sql.class.php';
$cn=Dossier::connect(); $cn=Dossier::connect();
$st=new Stock_Sql($cn,$_GET['r_id']); $st=new Stock_Sql($cn,$_GET['r_id']);
?> ?>

View file

@ -35,10 +35,10 @@
if ( ! defined('ALLOWED')) die (_('Non authorisé')); if ( ! defined('ALLOWED')) die (_('Non authorisé'));
require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_account_ledger.php'; require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php';
mb_internal_encoding("UTF-8"); mb_internal_encoding("UTF-8");
extract($_REQUEST, EXTR_SKIP); extract($_REQUEST, EXTR_SKIP);

View file

@ -22,11 +22,11 @@
* it permits to change the user preferences * it permits to change the user preferences
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; require_once NOALYSS_INCLUDE.'/lib/iselect.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_iperiod.php'; require_once NOALYSS_INCLUDE.'/lib/iperiod.class.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_report.php'; require_once NOALYSS_INCLUDE.'/class/acc_report.class.php';
require_once NOALYSS_INCLUDE.'/class/class_periode.php'; require_once NOALYSS_INCLUDE.'/class/periode.class.php';
echo HtmlInput::title_box(_('Préférence'), 'preference_div'); echo HtmlInput::title_box(_('Préférence'), 'preference_div');
echo '<DIV class="content">'; echo '<DIV class="content">';
echo '<p class="notice">'; echo '<p class="notice">';

View file

@ -21,7 +21,7 @@
// require_once '.php'; // require_once '.php';
if ( ! defined ('ALLOWED') ) die(_('Non autorisé')); if ( ! defined ('ALLOWED') ) die(_('Non autorisé'));
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
// Security // Security

View file

@ -23,7 +23,7 @@
* \brief save the new predefined operation * \brief save the new predefined operation
* included from ajax_misc * included from ajax_misc
*/ */
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');

View file

@ -21,9 +21,9 @@
* \brief Search module * \brief Search module
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
include_once NOALYSS_INCLUDE.'/lib/ac_common.php'; include_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
$_REQUEST['ac']='FOLLOW'; $_REQUEST['ac']='FOLLOW';

View file

@ -19,7 +19,7 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu // Copyright Author Dany De Bontridder danydb@aevalys.eu
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_tag.php'; require_once NOALYSS_INCLUDE.'/class/tag.class.php';
ob_start(); ob_start();
if ($_GET['clear']==1) { if ($_GET['clear']==1) {
/* Add a clear button */ /* Add a clear button */

View file

@ -19,7 +19,7 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu // Copyright Author Dany De Bontridder danydb@aevalys.eu
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_tag.php'; require_once NOALYSS_INCLUDE.'/class/tag.class.php';
ob_start(); ob_start();
echo Tag::button_search($_GET['pref']); echo Tag::button_search($_GET['pref']);
$response= ob_get_clean(); $response= ob_get_clean();

View file

@ -19,7 +19,7 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu // Copyright Author Dany De Bontridder danydb@aevalys.eu
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_tag.php'; require_once NOALYSS_INCLUDE.'/class/tag.class.php';
ob_start(); ob_start();
$tag=new Tag($cn); $tag=new Tag($cn);
$tag->select_search($_GET['pref']); $tag->select_search($_GET['pref']);

View file

@ -6,8 +6,8 @@
//see licence.txt //see licence.txt
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/lib/class_single_record.php'; require_once NOALYSS_INCLUDE.'/lib/single_record.class.php';
require_once NOALYSS_INCLUDE.'/class/class_tag.php'; require_once NOALYSS_INCLUDE.'/class/tag.class.php';
ob_start(); ob_start();
$tag=new Tag($cn); $tag=new Tag($cn);
$tag->data->t_id=$_GET['tag']; $tag->data->t_id=$_GET['tag'];

View file

@ -19,7 +19,7 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu // Copyright Author Dany De Bontridder danydb@aevalys.eu
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_tag.php'; require_once NOALYSS_INCLUDE.'/class/tag.class.php';
ob_start(); ob_start();
$tag=new Tag($cn); $tag=new Tag($cn);
$tag->select(); $tag->select();

View file

@ -4,7 +4,7 @@
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_tag.php'; require_once NOALYSS_INCLUDE.'/class/tag.class.php';
$tag=new Tag($cn); $tag=new Tag($cn);
$tag->save($_GET); $tag->save($_GET);

View file

@ -19,7 +19,7 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu // Copyright Author Dany De Bontridder danydb@aevalys.eu
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_tag.php'; require_once NOALYSS_INCLUDE.'/class/tag.class.php';
ob_start(); ob_start();
$tag=new Tag($cn); $tag=new Tag($cn);
$tag->select_search(); $tag->select_search();

View file

@ -34,12 +34,12 @@
* - i id * - i id
*/ */
if ( ! defined ('ALLOWED') ) die (_('Aucun accès direct')); if ( ! defined ('ALLOWED') ) die (_('Aucun accès direct'));
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/class/class_todo_list.php'; require_once NOALYSS_INCLUDE.'/class/todo_list.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
mb_internal_encoding("UTF-8"); mb_internal_encoding("UTF-8");
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();
$cn= Dossier::connect(); $cn= Dossier::connect();

View file

@ -26,7 +26,7 @@
* -l for the ledger * -l for the ledger
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
$ledger=new Acc_Ledger($cn,$l); $ledger=new Acc_Ledger($cn,$l);
echo $ledger->input_paid(1); echo $ledger->input_paid(1);
?> ?>

View file

@ -29,9 +29,9 @@
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/constant.php'; require_once NOALYSS_INCLUDE.'/constant.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/class/class_pre_operation.php'; require_once NOALYSS_INCLUDE.'/class/pre_operation.class.php';
// Check if the needed field does exist // Check if the needed field does exist
extract ($_GET, EXTR_SKIP); extract ($_GET, EXTR_SKIP);

View file

@ -27,8 +27,8 @@
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
ob_start(); ob_start();
require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
require_once NOALYSS_INCLUDE.'/class/class_default_menu.php'; require_once NOALYSS_INCLUDE.'/class/default_menu.class.php';
echo HtmlInput::title_box(_("Détail action"), $div); echo HtmlInput::title_box(_("Détail action"), $div);
$act = new Follow_Up($cn); $act = new Follow_Up($cn);

View file

@ -25,7 +25,7 @@
* @brief show detail of inv. * @brief show detail of inv.
* *
*/ */
require_once NOALYSS_INCLUDE.'/class/class_stock_goods.php'; require_once NOALYSS_INCLUDE.'/class/stock_goods.class.php';
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
$st=new Stock_Goods($cn); $st=new Stock_Goods($cn);

View file

@ -3,7 +3,7 @@
//see licence.txt //see licence.txt
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_anc_acc_list.php'; require_once NOALYSS_INCLUDE.'/class/anc_acc_list.class.php';
echo '<div class="content">'; echo '<div class="content">';
$tab = new Anc_Acc_List($cn); $tab = new Anc_Acc_List($cn);
$tab->get_request(); $tab->get_request();

View file

@ -3,7 +3,7 @@
//see licence.txt //see licence.txt
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_anc_table.php'; require_once NOALYSS_INCLUDE.'/class/anc_table.class.php';
$tab = new Anc_Table($cn); $tab = new Anc_Table($cn);
$tab->get_request(); $tab->get_request();
echo '<form method="get">'; echo '<form method="get">';

View file

@ -3,7 +3,7 @@
//see licence.txt //see licence.txt
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_anc_balance_double.php'; require_once NOALYSS_INCLUDE.'/class/anc_balance_double.class.php';
$bc = new Anc_Balance_Double($cn); $bc = new Anc_Balance_Double($cn);
$bc->get_request(); $bc->get_request();
echo '<form method="get">'; echo '<form method="get">';

View file

@ -3,7 +3,7 @@
//see licence.txt //see licence.txt
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_anc_balance_simple.php'; require_once NOALYSS_INCLUDE.'/class/anc_balance_simple.class.php';
$bs = new Anc_Balance_Simple($cn); $bs = new Anc_Balance_Simple($cn);
$bs->get_request(); $bs->get_request();
echo '<form method="get">'; echo '<form method="get">';

View file

@ -5,7 +5,7 @@
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
echo '<div style="content">'; echo '<div style="content">';
global $http; global $http;
require_once NOALYSS_INCLUDE.'/class/class_anc_grandlivre.php'; require_once NOALYSS_INCLUDE.'/class/anc_grandlivre.class.php';
$grandLivre=new Anc_Grandlivre($cn); $grandLivre=new Anc_Grandlivre($cn);

View file

@ -24,9 +24,9 @@
* *
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; require_once NOALYSS_INCLUDE.'/lib/itext.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; require_once NOALYSS_INCLUDE.'/lib/iselect.class.php';
require_once NOALYSS_INCLUDE.'/class/class_anc_group.php'; require_once NOALYSS_INCLUDE.'/class/anc_group.class.php';
$r=new Anc_Group($cn); $r=new Anc_Group($cn);

View file

@ -3,7 +3,7 @@
//see licence.txt //see licence.txt
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_anc_group.php'; require_once NOALYSS_INCLUDE.'/class/anc_group.class.php';
$gr = new Anc_Group($cn); $gr = new Anc_Group($cn);
$gr->get_request(); $gr->get_request();

View file

@ -5,7 +5,7 @@
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_anc_listing.php'; require_once NOALYSS_INCLUDE.'/class/anc_listing.class.php';
$list = new Anc_Listing($cn); $list = new Anc_Listing($cn);
$list->get_request(); $list->get_request();

View file

@ -29,7 +29,7 @@
if (!defined('ALLOWED')) if (!defined('ALLOWED'))
die('Appel direct ne sont pas permis'); die('Appel direct ne sont pas permis');
global $cn, $g_user; global $cn, $g_user;
require_once NOALYSS_INCLUDE.'/class/class_anc_key.php'; require_once NOALYSS_INCLUDE.'/class/anc_key.class.php';
global $http; global $http;
$op=$http->request("op", "string", "list"); $op=$http->request("op", "string", "list");

View file

@ -26,12 +26,12 @@
* *
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; require_once NOALYSS_INCLUDE.'/lib/iselect.class.php';
require_once NOALYSS_INCLUDE.'/class/class_anc_account.php'; require_once NOALYSS_INCLUDE.'/class/anc_account.class.php';
require_once NOALYSS_INCLUDE.'/class/class_anc_operation.php'; require_once NOALYSS_INCLUDE.'/class/anc_operation.class.php';
require_once NOALYSS_INCLUDE.'/class/class_anc_plan.php'; require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php';
require_once NOALYSS_INCLUDE.'/class/class_anc_group_operation.php'; require_once NOALYSS_INCLUDE.'/class/anc_group_operation.class.php';
global $g_user; global $g_user;

View file

@ -27,8 +27,8 @@
*/ */
if (!defined('ALLOWED')) if (!defined('ALLOWED'))
die('Appel direct ne sont pas permis'); die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_anc_plan.php'; require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php';
require_once NOALYSS_INCLUDE.'/class/class_anc_account.php'; require_once NOALYSS_INCLUDE.'/class/anc_account.class.php';
$ret=""; $ret="";
$str_dossier=Dossier::get(); $str_dossier=Dossier::get();

View file

@ -20,7 +20,7 @@
* \brief Make and restore backup * \brief Make and restore backup
*/ */
if ( !defined("ALLOWED")) { die (_("Non autorisé")); } if ( !defined("ALLOWED")) { die (_("Non autorisé")); }
require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
$http=new HttpInput(); $http=new HttpInput();

View file

@ -25,14 +25,14 @@
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once NOALYSS_INCLUDE.'/lib/ac_common.php'; include_once NOALYSS_INCLUDE.'/lib/ac_common.php';
include_once NOALYSS_INCLUDE.'/class/class_acc_balance.php'; include_once NOALYSS_INCLUDE.'/class/acc_balance.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; require_once NOALYSS_INCLUDE.'/lib/iselect.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_ispan.php'; require_once NOALYSS_INCLUDE.'/lib/ispan.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_icheckbox.php'; require_once NOALYSS_INCLUDE.'/lib/icheckbox.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
require_once NOALYSS_INCLUDE.'/class/class_periode.php'; require_once NOALYSS_INCLUDE.'/class/periode.class.php';
require_once NOALYSS_INCLUDE.'/class/class_exercice.php'; require_once NOALYSS_INCLUDE.'/class/exercice.class.php';
global $g_user, $http; global $g_user, $http;
$gDossier=dossier::id(); $gDossier=dossier::id();
$exercice=(isset($_GET['exercice']))?$_GET['exercice']:$g_user->get_exercice(); $exercice=(isset($_GET['exercice']))?$_GET['exercice']:$g_user->get_exercice();

View file

@ -69,7 +69,7 @@ $w_lettre->selected=$let;
?> ?>
</form> </form>
<?php <?php
require_once NOALYSS_INCLUDE.'/class/class_balance_age.php'; require_once NOALYSS_INCLUDE.'/class/balance_age.class.php';
$balance=new Balance_Age($cn); $balance=new Balance_Age($cn);
if ( $type == "C") : if ( $type == "C") :

View file

@ -23,7 +23,7 @@
* \brief show the status of a card * \brief show the status of a card
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_exercice.php'; require_once NOALYSS_INCLUDE.'/class/exercice.class.php';
global $g_user; global $g_user;
echo '<div class="content" style="width:90%;margin-left:5%">'; echo '<div class="content" style="width:90%;margin-left:5%">';

View file

@ -25,8 +25,8 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
* @brief * @brief
* @param type $name Descriptionara * @param type $name Descriptionara
*/ */
require_once NOALYSS_INCLUDE.'/class/class_exercice.php'; require_once NOALYSS_INCLUDE.'/class/exercice.class.php';
require_once NOALYSS_INCLUDE.'/class/class_balance_age.php'; require_once NOALYSS_INCLUDE.'/class/balance_age.class.php';
$let=( isset ($_GET['p_let']))?'let':'unlet'; $let=( isset ($_GET['p_let']))?'let':'unlet';
$export_csv = '<FORM METHOD="get" ACTION="export.php" style="display:inline">'; $export_csv = '<FORM METHOD="get" ACTION="export.php" style="display:inline">';

View file

@ -21,10 +21,10 @@
* the supplier category * the supplier category
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; require_once NOALYSS_INCLUDE.'/lib/iselect.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php';
require_once NOALYSS_INCLUDE.'/class/class_bank.php'; require_once NOALYSS_INCLUDE.'/class/bank.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_ibutton.php'; require_once NOALYSS_INCLUDE.'/lib/ibutton.class.php';
global $g_user , $http; global $g_user , $http;
$low_action=$http->request('sb',"string",'list'); $low_action=$http->request('sb',"string",'list');

View file

@ -8,7 +8,7 @@
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_calendar.php'; require_once NOALYSS_INCLUDE.'/class/calendar.class.php';
$cal=new Calendar(); $cal=new Calendar();
$cal->default_periode=(isset ($_GET['in']))?$_GET['in']:$g_user->get_periode(); $cal->default_periode=(isset ($_GET['in']))?$_GET['in']:$g_user->get_periode();

View file

@ -23,7 +23,7 @@
* \brief Manage the attributs * \brief Manage the attributs
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_fiche_attr.php'; require_once NOALYSS_INCLUDE.'/class/fiche_attr.class.php';
global $http; global $http;

View file

@ -28,7 +28,7 @@
// show list of document // show list of document
if (!defined('ALLOWED')) if (!defined('ALLOWED'))
die('Appel direct ne sont pas permis'); die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_document_type.php'; require_once NOALYSS_INCLUDE.'/class/document_type.class.php';
global $http; global $http;

View file

@ -28,7 +28,7 @@
*/ */
if (!defined('ALLOWED')) if (!defined('ALLOWED'))
die('Appel direct ne sont pas permis'); die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_contact.php'; require_once NOALYSS_INCLUDE.'/class/contact.class.php';
global $http; global $http;

View file

@ -32,7 +32,7 @@
// Save modification // Save modification
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_customer.php'; require_once NOALYSS_INCLUDE.'/class/customer.class.php';
global $http; global $http;
$f_id=$http->request('f_id','number'); $f_id=$http->request('f_id','number');

View file

@ -27,7 +27,7 @@
* - $cn = database connection * - $cn = database connection
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
global $http; global $http;
/** /**
*\note problem with ShowActionList, this function is local *\note problem with ShowActionList, this function is local

View file

@ -29,7 +29,7 @@
* - $ss_action * - $ss_action
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
global $http; global $http;
$f=new Fiche($cn,$http->request('f_id',"number")); $f=new Fiche($cn,$http->request('f_id',"number"));

View file

@ -22,15 +22,15 @@
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; require_once NOALYSS_INCLUDE.'/lib/itext.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php';
require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; require_once NOALYSS_INCLUDE.'/class/fiche.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/lib/user_menu.php'; require_once NOALYSS_INCLUDE.'/lib/user_menu.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_sort_table.php'; require_once NOALYSS_INCLUDE.'/lib/sort_table.class.php';
require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php'; require_once NOALYSS_INCLUDE.'/class/fiche_def.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_single_record.php'; require_once NOALYSS_INCLUDE.'/lib/single_record.class.php';
global $http; global $http;
$retour=HtmlInput::button_anchor("Retour à la liste", HtmlInput::get_to_string(array("gDossier","ac"))); $retour=HtmlInput::button_anchor("Retour à la liste", HtmlInput::get_to_string(array("gDossier","ac")));

View file

@ -27,12 +27,12 @@
* *
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/class/user.class.php';
require_once NOALYSS_INCLUDE.'/lib/user_menu.php'; require_once NOALYSS_INCLUDE.'/lib/user_menu.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
$gDossier=dossier::id(); $gDossier=dossier::id();
global $cn; global $cn;

View file

@ -19,7 +19,7 @@
// Copyright (2014) Author Dany De Bontridder <dany@alchimerys.be> // Copyright (2014) Author Dany De Bontridder <dany@alchimerys.be>
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_extension.php'; require_once NOALYSS_INCLUDE.'/class/extension.class.php';
/** /**
* @file * @file

View file

@ -24,8 +24,8 @@ if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
* @brief Manage the tags * @brief Manage the tags
* *
*/ */
require_once NOALYSS_INCLUDE.'/class/class_tag.php'; require_once NOALYSS_INCLUDE.'/class/tag.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_single_record.php'; require_once NOALYSS_INCLUDE.'/lib/single_record.class.php';
$tag=new Tag($cn); $tag=new Tag($cn);
$uos=new Single_Record('tag'); $uos=new Single_Record('tag');

View file

@ -23,9 +23,9 @@
/*! /*!
* \brief Manage the account from the table tmp_pcmn * \brief Manage the account from the table tmp_pcmn
*/ */
require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; require_once NOALYSS_INCLUDE.'/lib/iselect.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
class Acc_Account class Acc_Account
{ {

View file

@ -23,9 +23,9 @@
/*! /*!
* \brief Manage the account from the table jrn, jrnx or tmp_pcmn * \brief Manage the account from the table jrn, jrnx or tmp_pcmn
*/ */
require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
class Acc_Account_Ledger class Acc_Account_Ledger
{ {

View file

@ -23,7 +23,7 @@
/*! /*!
* \brief Class for manipulating data to print the balance of account * \brief Class for manipulating data to print the balance of account
*/ */
require_once NOALYSS_INCLUDE.'/class/class_acc_account.php'; require_once NOALYSS_INCLUDE.'/class/acc_account.class.php';
class Acc_Balance class Acc_Balance
{ {
@ -406,7 +406,7 @@ class Acc_Balance
} }
static function test_me () static function test_me ()
{ {
require 'class/class_user.php'; require 'class/user.class.php';
global $g_user; global $g_user;
$cn=Dossier::connect(); $cn=Dossier::connect();
$g_user=new User($cn); $g_user=new User($cn);

View file

@ -23,12 +23,12 @@
* \brief this class handle the different bilan, from the table bilan * \brief this class handle the different bilan, from the table bilan
* *
*/ */
require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; require_once NOALYSS_INCLUDE.'/lib/iselect.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_database.php'; require_once NOALYSS_INCLUDE.'/lib/database.class.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
require_once NOALYSS_INCLUDE.'/lib/class_impress.php'; require_once NOALYSS_INCLUDE.'/lib/impress.class.php';
require_once NOALYSS_INCLUDE.'/header_print.php'; require_once NOALYSS_INCLUDE.'/header_print.php';
require_once NOALYSS_INCLUDE.'/class/class_acc_account_ledger.php'; require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php';
/*! /*!
* \brief this class handle the different bilan, from the table bilan, parse the form and replace * \brief this class handle the different bilan, from the table bilan, parse the form and replace

Some files were not shown because too many files have changed in this diff Show more