26require_once
'../include/constant.php';
27require_once NOALYSS_INCLUDE.
'/class/database.class.php';
28require_once NOALYSS_INCLUDE.
'/class/dossier.class.php';
29require_once NOALYSS_INCLUDE.
'/lib/ac_common.php';
30require_once NOALYSS_INCLUDE.
'/lib/function_javascript.php';
31require_once NOALYSS_INCLUDE.
'/class/extension.class.php';
32require_once NOALYSS_INCLUDE.
'/lib/html_input.class.php';
33require_once NOALYSS_INCLUDE.
'/lib/iselect.class.php';
34require_once NOALYSS_INCLUDE .
'/class/noalyss_user.class.php';
52if (
$ext->search(
$http->request(
"plugin_code")) != -1 )
55 if ( !isset ($_SESSION[SESSION_KEY.
'g_user']) ||
$ext->can_request($_SESSION[SESSION_KEY.
'g_user']) == 0 )
60 require_once(NOALYSS_PLUGIN.DIRECTORY_SEPARATOR.dirname(trim(
$ext->getp(
'me_file'))).DIRECTORY_SEPARATOR.
'raw.php');
64 alert(
j(_(
"Cette extension n'existe pas ")));
MaintenanceMode($p_file)
When you want to prevent users to connect, create a file in noalyss/ (NOALYSS_BASE) with the message ...
set_language()
set the lang thanks the _SESSION['g_lang'] var.
j($p_string)
escape correctly php string to javascript
alert($p_msg, $buffer=false)
alert in javascript
manage the extension, it involves the table extension
Class to manage the company parameter (address, name...)
for($e=0; $e< count($afiche); $e++) exit