Subversion Repositories ALCASAR

Rev

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

Rev 922 Rev 926
Line 27... Line 27...
27
		$l_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 = "Geben Sie 'Alcasar' in Ihrem Browser, um Ihr Konto zu verwalten (Passwort, Logout, etc.).";
33
		$l_login_imp = "Login :";
33
		$l_login_imp = "Login :";
34
		$l_password_imp = "Passwort :";
34
		$l_password_imp = "Passwort :";
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 :";
Line 41... Line 41...
41
		$l_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_explain1_imp = "Voer 'Alcasar' in je browser om uw account te beheren (wachtwoord, uitloggen, etc.).";
47
		$l_login_imp = "Gebruikers :";
47
		$l_login_imp = "Gebruikers :";
48
		$l_password_imp = "Wachtwoord :";
48
		$l_password_imp = "Wachtwoord :";
49
		$l_max_all_session_imp="Totaal toegestane tijd :";
49
		$l_max_all_session_imp="Totaal toegestane tijd :";
50
		$l_session_timeout_imp="Sessieduur :";
50
		$l_session_timeout_imp="Sessieduur :";
51
		$l_max_daily_session_imp="Dagelijkse uren :";
51
		$l_max_daily_session_imp="Dagelijkse uren :";
Line 55... Line 55...
55
		$l_without="Ohne";
55
		$l_without="Ohne";
56
	break;
56
	break;
57
	case 'es':
57
	case 'es':
58
		$l_title_imp = "BONO INTERNET";
58
		$l_title_imp = "BONO INTERNET";
59
		$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.).";
60
	       	$l_explain1_imp = "Escribe 'Alcasar' en su navegador para administrar su cuenta (contraseña, cerrar sesión, etc.).";
61
		$l_login_imp = "Usuario :";
61
		$l_login_imp = "Usuario :";
62
		$l_password_imp = "Contraseña :";
62
		$l_password_imp = "Contraseña :";
63
		$l_max_all_session_imp="Tiempo total permitido :";
63
		$l_max_all_session_imp="Tiempo total permitido :";
64
		$l_session_timeout_imp="Duraciôn de Sesiôn :";
64
		$l_session_timeout_imp="Duraciôn de Sesiôn :";
65
		$l_max_daily_session_imp="Horas diarias :";
65
		$l_max_daily_session_imp="Horas diarias :";
Line 69... Line 69...
69
		$l_without="Sin";
69
		$l_without="Sin";
70
	break;
70
	break;
71
	case 'it':
71
	case 'it':
72
		$l_title_imp = "RICEVIMENTO INTERNET";
72
		$l_title_imp = "RICEVIMENTO INTERNET";
73
		$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.).";
74
	       	$l_explain1_imp = "Inserisci 'alcasar' nel tuo browser per gestire il tuo account (password, logout, ecc).";
75
		$l_login_imp = "Utenti :";
75
		$l_login_imp = "Utenti :";
76
		$l_password_imp = "Password :";
76
		$l_password_imp = "Password :";
77
		$l_max_all_session_imp="Tempo totale consentito:";
77
		$l_max_all_session_imp="Tempo totale consentito:";
78
		$l_session_timeout_imp="Durata della sessione :";
78
		$l_session_timeout_imp="Durata della sessione :";
79
		$l_max_daily_session_imp="Ore giornaliere :";
79
		$l_max_daily_session_imp="Ore giornaliere :";
Line 83... Line 83...
83
		$l_without="Senza";
83
		$l_without="Senza";
84
	break;
84
	break;
85
	case 'pt':
85
	case 'pt':
86
		$l_title_imp = "BILHETE DE ACESSO À INTERNET";
86
		$l_title_imp = "BILHETE DE ACESSO À INTERNET";
87
		$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.).";
88
	       	$l_explain1_imp = "Digite 'Alcasar' no seu navegador para gerenciar sua conta (senha, logout, etc).";
89
		$l_login_imp = "Usuário :";
89
		$l_login_imp = "Usuário :";
90
		$l_password_imp = "Senha :";
90
		$l_password_imp = "Senha :";
91
		$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 :";
92
		$l_session_timeout_imp="Fim da conexão :";
92
		$l_session_timeout_imp="Fim da conexão :";
93
		$l_max_daily_session_imp="Conexão máxima diária :";
93
		$l_max_daily_session_imp="Conexão máxima diária :";
Line 118... Line 118...
118
	//Entête
118
	//Entête
119
	function Header()
119
	function Header()
120
	{
120
	{
121
		global $l_title_imp;
121
		global $l_title_imp;
122
		//Logo coordonnées x , y, largeur de l'image 
122
		//Logo coordonnées x , y, largeur de l'image 
123
		$this->Image('../../../images/logo-alcasar.png',25,5,25);
123
		$this->Image('../../../images/logo-alcasar.png',30,15,30);
124
		$this->Image('../../../images/organisme.png',250,5,25);
124
		$this->Image('../../../images/organisme.png',150,15,25);
125
		//Police Arial gras 15
125
		//Police Arial gras 15
126
		$this->SetFont('Arial','B',18);
126
		$this->SetFont('Arial','B',18);
127
		//couleur de l'écriture en rouge
127
		//couleur de l'écriture en rouge
128
		$this->SetTextColor(250,1,10);
128
		$this->SetTextColor(250,1,10);
129
		//Titre largeur cellule x , hauteur y, texte, bordure 0 , Indique où déplace la prochaine position courante 0 droite, centré C
129
		//Titre largeur cellule x , hauteur y, texte, bordure 0 , Indique où déplace la prochaine position courante 0 droite, centré C
Line 137... Line 137...
137
		global $l_footer_imp;
137
		global $l_footer_imp;
138
		//Positionnement à 1,5 cm du bas
138
		//Positionnement à 1,5 cm du bas
139
		$this->SetY(-15);
139
		$this->SetY(-15);
140
		//Police Arial italique 8
140
		//Police Arial italique 8
141
		$this->SetFont('Arial','I',8);
141
		$this->SetFont('Arial','I',8);
142
		//Produit par est volontairement resté en français
-
 
143
		$this->Cell(200,20,utf8_decode($l_footer_imp),0,0,'C');
142
		$this->Cell(200,20,utf8_decode($l_footer_imp),0,0,'C');
144
	}
143
	}
145
	//fonction rectangle
144
	//fonction rectangle
146
	//Rectangle : x, y : coin supérieur gauche du rectangle.w, h : largeur et hauteur. r : rayon des coins arrondis.
145
	//Rectangle : x, y : coin supérieur gauche du rectangle.w, h : largeur et hauteur. r : rayon des coins arrondis.
147
	//style : comme celui de Rect() : F, D (défaut), FD ou DF. 
146
	//style : comme celui de Rect() : F, D (défaut), FD ou DF. 
Line 240... Line 239...
240
$pdf->Cell(45,10,utf8_decode($l_expiration_imp),0,0,'R');
239
$pdf->Cell(45,10,utf8_decode($l_expiration_imp),0,0,'R');
241
$pdf->SetFont('Arial','B',12);
240
$pdf->SetFont('Arial','B',12);
242
if ($exp_imp == "Without") $exp_imp=utf8_decode($l_without);
241
if ($exp_imp == "Without") $exp_imp=utf8_decode($l_without);
243
$pdf->Cell(45,10,$exp_imp,0,1,'L');
242
$pdf->Cell(45,10,$exp_imp,0,1,'L');
244
$pdf->Ln(7); 
243
$pdf->Ln(7); 
245
$pdf->cell(50);
244
$pdf->cell(30);
246
$pdf->SetFont('Arial','',8);
245
$pdf->SetFont('Arial','',8);
247
$pdf->Cell(0,10,utf8_decode($l_explain1_imp),0,1,'L');
246
$pdf->Cell(0,10,utf8_decode($l_explain1_imp),0,1,'L');
248
 
247
 
249
//renvoie au navigateur du document 
248
//renvoie au navigateur du document 
250
$ticket_name="ticket_".$log_imp.".pdf";
249
$ticket_name="ticket_".$log_imp.".pdf";