24if ( ! defined (
'ALLOWED') ) die(
'Appel direct ne sont pas permis');
26require_once NOALYSS_INCLUDE.
'/lib/ac_common.php';
32 $user_id=
$http->get(
"user_id");
36 error_log($exc->getTraceAsString());
56 $str=_(
'Local Admin');
61 $str=_(
'Utilisateur normal');
65 $str=_(
'Extension uniquement');
71 $str=_(
' Super Admin');
83$pdf->SetAuthor(
'NOALYSS');
84$pdf->setTitle(_(
"Sécurité"),
true);
93$pdf->SetFont(
'DejaVu',
'B',9);
98 $pdf->SetTextColor(255,0,34);
99 $pdf->write_cell(0,7,_(
'Bloqué'),0,0,
'R');
105 $pdf->SetTextColor(0,0,0);
106 $pdf->setFillColor(239,251,255);
107 $pdf->write_cell(40,7,_(
'Administrateur'),1,1,
'R');
110$pdf->SetTextColor(0,0,0);
114$pdf->write_cell(0,7,_(
'Accès journaux'),1,0,
'C');
116$pdf->SetFont(
'DejaVu',
'',6);
117$Res=
$cn->exec_sql(
"select jrn_def_id,jrn_def_name from jrn_def ");
122 $pdf->write_cell(40,6,
$row[
'jrn_def_name']);
127 $pdf->SetTextColor(255,0,34);
128 $pdf->write_cell(30,6,_(
"Pas d'accès"));
131 $pdf->SetTextColor(54,233,0);
132 $pdf->write_cell(30,6,_(
"Lecture"));
138 $pdf->write_cell(30,6,_(
"Opérations prédéfinies uniquement"));
141 $pdf->SetTextColor(54,233,0);
142 $pdf->write_cell(30,6,_(
'Ecriture'));
145 $pdf->SetTextColor(0);
151$pdf->SetFont(
'DejaVu',
'B',9);
152$pdf->write_cell(0,7,_(
'Accès action'),1,0,
'C');
154$pdf->SetFont(
'DejaVu',
'',6);
156 "select ac_id, ac_description from action order by ac_description ");
163 $pdf->write_cell(90,6,$l_line[
'ac_description']);
164 $right=
$SecUser->check_action($l_line[
'ac_id']);
168 $pdf->SetTextColor(255,0,34);
170 $pdf->write_cell(30,6,_(
"Pas d'accès"));
174 $pdf->SetTextColor(54,233,0);
175 $pdf->write_cell(30,6,_(
"Accès"));
178 $pdf->SetTextColor(0);
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
contains the class for connecting to Noalyss
API for creating PDF, unicode, based on tfpdf.
for( $i=0 ; $i< $Max; $i++) $fDate
if($access=='L') elseif($access=='R') elseif( $access=='P') if( $SecUser->admin==1) $pdf
catch(Exception $exc) $rep
if( $delta< 0) elseif( $delta==0)