28require_once
'../include/constant.php';
29require_once NOALYSS_INCLUDE.
'/lib/ac_common.php';
33require_once NOALYSS_INCLUDE.
'/class/database.class.php';
34require_once NOALYSS_INCLUDE .
'/class/noalyss_user.class.php';
35require_once NOALYSS_INCLUDE.
'/lib/http_input.class.php';
42 include_once NOALYSS_INCLUDE.
"/lib/message_javascript.php";
49mb_internal_encoding(
"UTF-8");
58 echo
alert(
_(
'Accès interdit'));
68 $file_loginput=fopen($_ENV[
'TMP'].
'/export-'.
$prfile.
'-'.$_SERVER[
'REQUEST_TIME'].
'.php',
'a+');
69 fwrite ($file_loginput,
"<?php \n");
70 fwrite ($file_loginput,
'//@description: export '.
$prfile.
"\n");
71 fwrite($file_loginput,
'$_GET='.var_export(
$_GET,
true));
72 fwrite($file_loginput,
";\n");
73 fwrite($file_loginput,
'$_POST='.var_export(
$_POST,
true));
74 fwrite($file_loginput,
";\n");
75 fwrite($file_loginput,
'$_POST[\'gDossier\']=$gDossierLogInput;');
76 fwrite($file_loginput,
"\n");
77 fwrite($file_loginput,
'$_GET[\'gDossier\']=$gDossierLogInput;');
78 fwrite($file_loginput,
"\n");
79 fwrite($file_loginput,
' $_REQUEST=array_merge($_GET,$_POST);');
80 fwrite($file_loginput,
"\n");
81 fclose($file_loginput);
84 if (
$prfile ==
"" || !file_exists(NOALYSS_INCLUDE.
"/export/$prfile")) {
86 die (
_(
'Export impossible'));
88 require_once NOALYSS_INCLUDE.
"/export/$prfile";
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.
alert($p_msg, $buffer=false)
alert in javascript
global $g_user
if no group available , then stop
_("actif, passif,charge,...")
contains the class for connecting to Noalyss
Class to manage the company parameter (address, name...)
if( $action=='X'|| $g_user->check_print($action)==0) $prfile
for($e=0; $e< count($afiche); $e++) exit
redirect($p_string, $p_time=0)