Subversion Repositories ALCASAR

Rev

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

Rev 921 Rev 922
Line 21... Line 21...
21
		$l_max_all_session_imp="Durée totale autorisée :";
21
		$l_max_all_session_imp="Durée totale autorisée :";
22
		$l_session_timeout_imp="Durée d'une session :";
22
		$l_session_timeout_imp="Durée d'une session :";
23
		$l_max_daily_session_imp="Durée journalière :";
23
		$l_max_daily_session_imp="Durée journalière :";
24
		$l_max_monthly_session_imp ="Durée mensuelle :";
24
		$l_max_monthly_session_imp ="Durée mensuelle :";
25
		$l_expiration_imp="Date d'expiration :";
25
		$l_expiration_imp="Date d'expiration :";
26
		$v_illimit="Illimitée";
26
		$l_unlimited="Illimitée";
27
		$v_without="Aucune";
27
		$l_without="Aucune";
28
	break;
28
	break;
29
	case 'de':
29
	case 'de':
30
		$l_title_imp = "INTERNETZUGANG TICKET";
30
		$l_title_imp = "INTERNETZUGANG TICKET";
31
		$l_footer_imp = "Präsentiert von ALCASAR";
31
		$l_footer_imp = "Präsentiert von ALCASAR";
32
	       	$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, logout, etc.).";
32
	       	$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, logout, etc.).";
Line 35... Line 35...
35
		$l_max_all_session_imp="Maximale erlaubt Dauer :";
35
		$l_max_all_session_imp="Maximale erlaubt Dauer :";
36
		$l_session_timeout_imp="Dauer der Sitzung :";
36
		$l_session_timeout_imp="Dauer der Sitzung :";
37
		$l_max_daily_session_imp="Stunden täglich :";
37
		$l_max_daily_session_imp="Stunden täglich :";
38
		$l_max_monthly_session_imp ="monatlich Dauer :";
38
		$l_max_monthly_session_imp ="monatlich Dauer :";
39
		$l_expiration_imp="Verfallsdatum :";
39
		$l_expiration_imp="Verfallsdatum :";
40
		$v_illimit="Unbegrentz";
40
		$l_unlimited="Unbegrentz";
41
		$v_without="Ohne";
41
		$l_without="Ohne";
42
	break;
42
	break;
43
	case 'nl':
43
	case 'nl':
44
		$l_title_imp = "ONTVANGST INTERNET";
44
		$l_title_imp = "ONTVANGST INTERNET";
45
		$l_footer_imp = "Powered by ALCASAR";
45
		$l_footer_imp = "Powered by ALCASAR";
-
 
46
	       	$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, logout, etc.).";
46
		$l_login_imp = "Gebruikers :";
47
		$l_login_imp = "Gebruikers :";
47
		$l_password_imp = "Wachtwoord :";
48
		$l_password_imp = "Wachtwoord :";
48
		$l_max_all_session_imp="Totaal toegestane tijd :";
49
		$l_max_all_session_imp="Totaal toegestane tijd :";
49
		$l_session_timeout_imp="Sessieduur :";
50
		$l_session_timeout_imp="Sessieduur :";
50
		$l_max_daily_session_imp="Dagelijkse uren :";
51
		$l_max_daily_session_imp="Dagelijkse uren :";
51
		$l_max_monthly_session_imp ="Maandelijkse duur :";
52
		$l_max_monthly_session_imp ="Maandelijkse duur :";
52
		$l_expiration_imp="Vervaldatum :";
53
		$l_expiration_imp="Vervaldatum :";
53
		$v_illimit="Onbeperkte";
54
		$l_unlimited="Onbeperkte";
54
		$v_without="Ohne";
55
		$l_without="Ohne";
55
	break;
56
	break;
56
	case 'es':
57
	case 'es':
57
		$l_title_imp = "BONO INTERNET";
58
		$l_title_imp = "BONO INTERNET";
58
		$l_footer_imp = "Desarrollado por ALCASAR";
59
		$l_footer_imp = "Desarrollado por ALCASAR";
-
 
60
	       	$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, logout, etc.).";
59
		$l_login_imp = "Usuario :";
61
		$l_login_imp = "Usuario :";
60
		$l_password_imp = "Contraseña :";
62
		$l_password_imp = "Contraseña :";
61
		$l_max_all_session_imp="Tiempo total permitido :";
63
		$l_max_all_session_imp="Tiempo total permitido :";
62
		$l_session_timeout_imp="Duraciôn de Sesiôn :";
64
		$l_session_timeout_imp="Duraciôn de Sesiôn :";
63
		$l_max_daily_session_imp="Horas diarias :";
65
		$l_max_daily_session_imp="Horas diarias :";
64
		$l_max_monthly_session_imp ="Duraciôn mensual :";
66
		$l_max_monthly_session_imp ="Duraciôn mensual :";
65
		$l_expiration_imp="Fecha de caducidad :";
67
		$l_expiration_imp="Fecha de caducidad :";
66
		$v_illimit="Ilimitado";
68
		$l_unlimited="Ilimitado";
67
		$v_without="Sin";
69
		$l_without="Sin";
68
	break;
70
	break;
69
	case 'it':
71
	case 'it':
70
		$l_title_imp = "RICEVIMENTO INTERNET";
72
		$l_title_imp = "RICEVIMENTO INTERNET";
71
		$l_footer_imp = "Powered by ALCASAR";
73
		$l_footer_imp = "Powered by ALCASAR";
-
 
74
	       	$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, logout, etc.).";
72
		$l_login_imp = "Utenti :";
75
		$l_login_imp = "Utenti :";
73
		$l_password_imp = "Password :";
76
		$l_password_imp = "Password :";
74
		$l_max_all_session_imp="Tempo totale consentito:";
77
		$l_max_all_session_imp="Tempo totale consentito:";
75
		$l_session_timeout_imp="Durata della sessione :";
78
		$l_session_timeout_imp="Durata della sessione :";
76
		$l_max_daily_session_imp="Ore giornaliere :";
79
		$l_max_daily_session_imp="Ore giornaliere :";
77
		$l_max_monthly_session_imp ="Durata mensile :";
80
		$l_max_monthly_session_imp ="Durata mensile :";
78
		$l_expiration_imp="Data di scadenza :";
81
		$l_expiration_imp="Data di scadenza :";
79
		$v_illimit="Illimitato";
82
		$l_unlimited="Illimitato";
80
		$v_without="Senza";
83
		$l_without="Senza";
81
	break;
84
	break;
82
	case 'pt':
85
	case 'pt':
83
		$l_title_imp = "BILHETE DE ACESSO À INTERNET";
86
		$l_title_imp = "BILHETE DE ACESSO À INTERNET";
84
		$l_footer_imp = "Desenvolvido por ALCASAR";
87
		$l_footer_imp = "Desenvolvido por ALCASAR";
-
 
88
	       	$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, logout, etc.).";
85
		$l_login_imp = "Usuário :";
89
		$l_login_imp = "Usuário :";
86
		$l_password_imp = "Senha :";
90
		$l_password_imp = "Senha :";
87
		$l_max_all_session_imp="Tempo máximo de toda conexão :";
91
		$l_max_all_session_imp="Tempo máximo de toda conexão :";
88
		$l_session_timeout_imp="Fim da conexão :";
92
		$l_session_timeout_imp="Fim da conexão :";
89
		$l_max_daily_session_imp="Conexão máxima diária :";
93
		$l_max_daily_session_imp="Conexão máxima diária :";
90
		$l_max_monthly_session_imp ="MConexão máxima mensal :";
94
		$l_max_monthly_session_imp ="MConexão máxima mensal :";
91
		$l_expiration_imp="Data de vencimento :";
95
		$l_expiration_imp="Data de vencimento :";
92
		$v_illimit="Ilimitado";
96
		$l_unlimited="Ilimitado";
93
		$v_without="Sem";      
97
		$l_without="Sem";
-
 
98
	break;
94
	default:
99
	default:
95
		$l_title_imp = "INTERNET ACCESS TICKET";
100
		$l_title_imp = "INTERNET ACCESS TICKET";
96
		$l_footer_imp = "Powered by ALCASAR";
101
		$l_footer_imp = "Powered by ALCASAR";
-
 
102
	       	$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, logout, etc.).";
97
		$l_login_imp = "Login :";
103
		$l_login_imp = "Login :";
98
		$l_password_imp = "Password :";
104
		$l_password_imp = "Password :";
99
		$l_max_all_session_imp="Total time allowed :";
105
		$l_max_all_session_imp="Total time allowed :";
100
		$l_session_timeout_imp="Session timeout :";
106
		$l_session_timeout_imp="Session timeout :";
101
		$l_max_daily_session_imp="Max daily session :";
107
		$l_max_daily_session_imp="Max daily session :";
102
		$l_max_monthly_session_imp ="Max monthly session :";
108
		$l_max_monthly_session_imp ="Max monthly session :";
103
		$l_expiration_imp="Expiration date :";
109
		$l_expiration_imp="Expiration date :";
104
		$v_illimit="Unlimited";
110
		$l_unlimited="Unlimited";
105
		$v_without="Without";
111
		$l_without="Without";
106
	break;
112
	break;
107
	}
113
	}
108
//echo "$langue_imp - $l_login_imp - $exp_imp - $l_title_imp";
-
 
109
//exit;
-
 
110
//création de la classe PDF pour faire l'entête et pieds de page
114
//création de la classe PDF pour faire l'entête et pieds de page
111
require('../../lib/fpdf17/fpdf.php');
115
require('../lib/fpdf/fpdf.php');
112
class PDF extends FPDF
116
class PDF extends FPDF
113
{
117
{
114
	//Entête
118
	//Entête
115
	function Header()
119
	function Header()
116
	{
120
	{
Line 210... Line 214...
210
//création des attributs utilisateurs coordonnées x , y hauteur et largeur , texte
214
//création des attributs utilisateurs coordonnées x , y hauteur et largeur , texte
211
$pdf->cell(50);
215
$pdf->cell(50);
212
$pdf->SetFont('Arial','',12);
216
$pdf->SetFont('Arial','',12);
213
$pdf->Cell(45,10,utf8_decode($l_max_all_session_imp),0,0,'R');
217
$pdf->Cell(45,10,utf8_decode($l_max_all_session_imp),0,0,'R');
214
$pdf->SetFont('Arial','B',12);
218
$pdf->SetFont('Arial','B',12);
-
 
219
if ($mas_imp == "Unlimited") $mas_imp=utf8_decode($l_unlimited);
215
$pdf->Cell(45,10,$mas_imp,0,1,'L');
220
$pdf->Cell(45,10,$mas_imp,0,1,'L');
216
$pdf->cell(50);
221
$pdf->cell(50);
217
$pdf->SetFont('Arial','',12);
222
$pdf->SetFont('Arial','',12);
218
$pdf->Cell(45,10,utf8_decode($l_session_timeout_imp),0,0,'R');
223
$pdf->Cell(45,10,utf8_decode($l_session_timeout_imp),0,0,'R');
219
$pdf->SetFont('Arial','B',12);
224
$pdf->SetFont('Arial','B',12);
-
 
225
if ($sto_imp == "Unlimited") $sto_imp=utf8_decode($l_unlimited);
220
$pdf->Cell(45,10,$sto_imp,0,1,'L');
226
$pdf->Cell(45,10,$sto_imp,0,1,'L');
221
$pdf->cell(50);
227
$pdf->cell(50);
222
$pdf->SetFont('Arial','',12);
228
$pdf->SetFont('Arial','',12);
223
$pdf->Cell(45,10,utf8_decode($l_max_daily_session_imp),0,0,'R');
229
$pdf->Cell(45,10,utf8_decode($l_max_daily_session_imp),0,0,'R');
224
$pdf->SetFont('Arial','B',12);
230
$pdf->SetFont('Arial','B',12);
-
 
231
if ($mds_imp == "Unlimited") $mds_imp=utf8_decode($l_unlimited);
225
$pdf->Cell(45,10,$mds_imp,0,1,'L');
232
$pdf->Cell(45,10,$mds_imp,0,1,'L');
226
//$pdf->SetFont('Arial','',12);
233
//$pdf->SetFont('Arial','',12);
227
//$pdf->cell(50);
234
//$pdf->cell(50);
228
//$pdf->Cell(45,10,$l_max_monthly_session_imp,0,0,'R');
235
//$pdf->Cell(45,10,$l_max_monthly_session_imp,0,0,'R');
229
//$pdf->SetFont('Arial','B',12);
236
//$pdf->SetFont('Arial','B',12);
230
//$pdf->Cell(45,10,$mms_imp,0,1,'L');
237
//$pdf->Cell(45,10,$mms_imp,0,1,'L');
231
$pdf->cell(50);
238
$pdf->cell(50);
232
$pdf->SetFont('Arial','',12);
239
$pdf->SetFont('Arial','',12);
233
$pdf->Cell(45,10,utf8_decode($l_expiration_imp),0,0,'R');
240
$pdf->Cell(45,10,utf8_decode($l_expiration_imp),0,0,'R');
234
$pdf->SetFont('Arial','B',12);
241
$pdf->SetFont('Arial','B',12);
-
 
242
if ($exp_imp == "Without") $exp_imp=utf8_decode($l_without);
235
$pdf->Cell(45,10,$exp_imp,0,1,'L');
243
$pdf->Cell(45,10,$exp_imp,0,1,'L');
236
$pdf->Ln(7); 
244
$pdf->Ln(7); 
237
$pdf->cell(50);
245
$pdf->cell(50);
238
$pdf->SetFont('Arial','',8);
246
$pdf->SetFont('Arial','',8);
239
$pdf->Cell(0,10,utf8_decode($l_explain1_imp),0,1,'L');
247
$pdf->Cell(0,10,utf8_decode($l_explain1_imp),0,1,'L');