Subversion Repositories ALCASAR

Rev

Rev 584 | Rev 913 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 584 Rev 901
Line 2... Line 2...
2
// ticket d'impression (thank's to Geoffroy MUSITELLI)
2
// ticket d'impression (thank's to Geoffroy MUSITELLI)
3
//--recupération des variables provenant du formulaire 
3
//--recupération des variables provenant du formulaire 
4
// Etiquettes
4
// Etiquettes
5
$l_login_imp=utf8_decode($_POST["l_login_imp"]);
5
$l_login_imp=utf8_decode($_POST["l_login_imp"]);
6
$l_password_imp=utf8_decode($_POST["l_password_imp"]);
6
$l_password_imp=utf8_decode($_POST["l_password_imp"]);
-
 
7
$l_max_all_session_imp=utf8_decode($_POST["l_max_all_session_imp"]);
7
$l_session_timeout_imp=utf8_decode($_POST["l_session_timeout_imp"]);
8
$l_session_timeout_imp=utf8_decode($_POST["l_session_timeout_imp"]);
8
$l_max_daily_session_imp=utf8_decode($_POST["l_max_daily_session_imp"]);
9
$l_max_daily_session_imp=utf8_decode($_POST["l_max_daily_session_imp"]);
9
$l_max_monthly_session_imp=utf8_decode($_POST["l_max_monthly_session_imp"]);
10
$l_max_monthly_session_imp=utf8_decode($_POST["l_max_monthly_session_imp"]);
10
$l_expiration_imp=utf8_decode($_POST["l_expiration_imp"]);
11
$l_expiration_imp=utf8_decode($_POST["l_expiration_imp"]);
11
// Valeurs 
12
// Valeurs 
12
$log_imp=utf8_decode($_POST["log_imp"]);
13
$log_imp=utf8_decode($_POST["log_imp"]);
13
$passwd_imp=utf8_decode($_POST["passwd_imp"]);
14
$passwd_imp=utf8_decode($_POST["passwd_imp"]);
14
$exp_imp=utf8_decode($_POST["exp_imp"]);
15
$exp_imp=utf8_decode($_POST["exp_imp"]);
15
$sto_imp=utf8_decode($_POST["sto_imp"]);
16
$sto_imp=utf8_decode($_POST["sto_imp"]);
-
 
17
$mas_imp=utf8_decode($_POST["mas_imp"]);
16
$mds_imp=utf8_decode($_POST["mds_imp"]);
18
$mds_imp=utf8_decode($_POST["mds_imp"]);
17
$mms_imp=utf8_decode($_POST["mms_imp"]);
19
$mms_imp=utf8_decode($_POST["mms_imp"]);
18
 
20
 
19
//--initialisation des classes FPDF
21
//--initialisation des classes FPDF
20
require('../../lib/fpdf16/fpdf.php');
22
require('../../lib/fpdf16/fpdf.php');
Line 116... Line 118...
116
$pdf->SetFont('Arial','B',12);
118
$pdf->SetFont('Arial','B',12);
117
$pdf->Cell(45,10,$passwd_imp,0,1,'L');
119
$pdf->Cell(45,10,$passwd_imp,0,1,'L');
118
//saut de ligne 
120
//saut de ligne 
119
$pdf->Ln(7); 
121
$pdf->Ln(7); 
120
//création des attributs utilisateurs coordonnées x , y hauteur et largeur , texte
122
//création des attributs utilisateurs coordonnées x , y hauteur et largeur , texte
-
 
123
$pdf->cell(50);
121
$pdf->SetFont('Arial','',12);
124
$pdf->SetFont('Arial','',12);
-
 
125
$pdf->Cell(45,10,$l_max_all_session_imp,0,0,'R');
-
 
126
$pdf->SetFont('Arial','B',12);
-
 
127
$pdf->Cell(45,10,$mas_imp,0,1,'L');
122
$pdf->cell(50);
128
$pdf->cell(50);
-
 
129
$pdf->SetFont('Arial','',12);
123
$pdf->Cell(45,10,$l_session_timeout_imp,0,0,'R');
130
$pdf->Cell(45,10,$l_session_timeout_imp,0,0,'R');
124
$pdf->SetFont('Arial','B',12);
131
$pdf->SetFont('Arial','B',12);
125
$pdf->Cell(45,10,$sto_imp,0,1,'L');
132
$pdf->Cell(45,10,$sto_imp,0,1,'L');
126
$pdf->cell(50);
133
$pdf->cell(50);
127
$pdf->SetFont('Arial','',12);
134
$pdf->SetFont('Arial','',12);
128
$pdf->Cell(45,10,$l_max_daily_session_imp,0,0,'R');
135
$pdf->Cell(45,10,$l_max_daily_session_imp,0,0,'R');
129
$pdf->SetFont('Arial','B',12);
136
$pdf->SetFont('Arial','B',12);
130
$pdf->Cell(45,10,$mds_imp,0,1,'L');
137
$pdf->Cell(45,10,$mds_imp,0,1,'L');
131
$pdf->SetFont('Arial','',12);
138
//$pdf->SetFont('Arial','',12);
132
$pdf->cell(50);
139
//$pdf->cell(50);
133
$pdf->Cell(45,10,$l_max_monthly_session_imp,0,0,'R');
140
//$pdf->Cell(45,10,$l_max_monthly_session_imp,0,0,'R');
134
$pdf->SetFont('Arial','B',12);
141
//$pdf->SetFont('Arial','B',12);
135
$pdf->Cell(45,10,$mms_imp,0,1,'L');
142
//$pdf->Cell(45,10,$mms_imp,0,1,'L');
136
$pdf->cell(50);
143
$pdf->cell(50);
137
$pdf->SetFont('Arial','',12);
144
$pdf->SetFont('Arial','',12);
138
$pdf->Cell(45,10,$l_expiration_imp,0,0,'R');
145
$pdf->Cell(45,10,$l_expiration_imp,0,0,'R');
139
$pdf->SetFont('Arial','B',12);
146
$pdf->SetFont('Arial','B',12);
140
$pdf->Cell(45,10,$exp_imp,0,1,'L');
147
$pdf->Cell(45,10,$exp_imp,0,1,'L');