24require_once
'../include/constant.php';
25require_once NOALYSS_INCLUDE.
'/class/database.class.php';
26require_once NOALYSS_INCLUDE .
'/class/noalyss_user.class.php';
27require_once NOALYSS_INCLUDE.
'/lib/ac_common.php';
36$res=
$cn->exec_sql(
"select distinct code,description from get_profile_menu($1) where code ~* $2 or description ~* $2 order by code limit 5 ",array(
$g_user->get_profile(),
$http->post(
"acs")));
45 echo
'<span class="informal"> '._(
$row[
'description']??
"").
'</span></li>';
49 echo _(
'Aucune correspondance');
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.
static fetch_array($ret, $p_indice=0, $p_mode=PGSQL_ASSOC)
wrapper for the function pg_fetch_array
static num_row($ret)
wrapper for the function pg_num_rows