Subversion Repositories ALCASAR

Rev

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

Rev 926 Rev 946
Line 13... Line 13...
13
//Langue du Ticket d'impression en fonction de la liste déroulante
13
//Langue du Ticket d'impression en fonction de la liste déroulante
14
switch ($langue_imp){
14
switch ($langue_imp){
15
	case 'fr':
15
	case 'fr':
16
		$l_title_imp = "TICKET D'ACCÈS INTERNET";
16
		$l_title_imp = "TICKET D'ACCÈS INTERNET";
17
		$l_footer_imp = "Généré par ALCASAR";
17
		$l_footer_imp = "Généré par ALCASAR";
18
	       	$l_explain1_imp = "Entrer 'alcasar' dans votre navigateur pour gérer votre compte (déconnexion, mot de passe, etc.).";
18
	       	$l_explain1_imp = "Entrer 'alcasar' dans votre navigateur pour gérer votre compte (mot de passe, certificat, etc.).";
-
 
19
	       	$l_explain2_imp = "Entrer 'logout' dans votre navigateur pour vous déconnecter.";
19
		$l_login_imp = "Utilisateur :";
20
		$l_login_imp = "Utilisateur :";
20
		$l_password_imp = "Mot de passe :";
21
		$l_password_imp = "Mot de passe :";
21
		$l_max_all_session_imp="Durée totale autorisée :";
22
		$l_max_all_session_imp="Durée totale autorisée :";
22
		$l_session_timeout_imp="Durée d'une session :";
23
		$l_session_timeout_imp="Durée d'une session :";
23
		$l_max_daily_session_imp="Durée journalière :";
24
		$l_max_daily_session_imp="Durée journalière :";
Line 27... Line 28...
27
		$l_without="Aucune";
28
		$l_without="Aucune";
28
	break;
29
	break;
29
	case 'de':
30
	case 'de':
30
		$l_title_imp = "INTERNETZUGANG TICKET";
31
		$l_title_imp = "INTERNETZUGANG TICKET";
31
		$l_footer_imp = "Präsentiert von ALCASAR";
32
		$l_footer_imp = "Präsentiert von ALCASAR";
32
	       	$l_explain1_imp = "Geben Sie 'Alcasar' in Ihrem Browser, um Ihr Konto zu verwalten (Passwort, Logout, etc.).";
33
	       	$l_explain1_imp = "Geben Sie 'Alcasar' in Ihrem Browser, um Ihr Konto zu verwalten (kennwort, zertifikat, etc.).";
-
 
34
	       	$l_explain2_imp = "Geben Sie 'logout' in Ihrem Browser zu trennen.";
33
		$l_login_imp = "Login :";
35
		$l_login_imp = "Login :";
34
		$l_password_imp = "Passwort :";
36
		$l_password_imp = "Passwort :";
35
		$l_max_all_session_imp="Maximale erlaubt Dauer :";
37
		$l_max_all_session_imp="Maximale erlaubt Dauer :";
36
		$l_session_timeout_imp="Dauer der Sitzung :";
38
		$l_session_timeout_imp="Dauer der Sitzung :";
37
		$l_max_daily_session_imp="Stunden täglich :";
39
		$l_max_daily_session_imp="Stunden täglich :";
Line 41... Line 43...
41
		$l_without="Ohne";
43
		$l_without="Ohne";
42
	break;
44
	break;
43
	case 'nl':
45
	case 'nl':
44
		$l_title_imp = "ONTVANGST INTERNET";
46
		$l_title_imp = "ONTVANGST INTERNET";
45
		$l_footer_imp = "Powered by ALCASAR";
47
		$l_footer_imp = "Powered by ALCASAR";
46
	       	$l_explain1_imp = "Voer 'Alcasar' in je browser om uw account te beheren (wachtwoord, uitloggen, etc.).";
48
	       	$l_explain1_imp = "Voer 'Alcasar' in uw browser om uw account te beheren (wachtwoord, certificaat, etc.).";
-
 
49
	       	$l_explain2_imp = "Voer 'logout' in uw browser de verbinding te verbreken.";
47
		$l_login_imp = "Gebruikers :";
50
		$l_login_imp = "Gebruikers :";
48
		$l_password_imp = "Wachtwoord :";
51
		$l_password_imp = "Wachtwoord :";
49
		$l_max_all_session_imp="Totaal toegestane tijd :";
52
		$l_max_all_session_imp="Totaal toegestane tijd :";
50
		$l_session_timeout_imp="Sessieduur :";
53
		$l_session_timeout_imp="Sessieduur :";
51
		$l_max_daily_session_imp="Dagelijkse uren :";
54
		$l_max_daily_session_imp="Dagelijkse uren :";
Line 55... Line 58...
55
		$l_without="Ohne";
58
		$l_without="Ohne";
56
	break;
59
	break;
57
	case 'es':
60
	case 'es':
58
		$l_title_imp = "BONO INTERNET";
61
		$l_title_imp = "BONO INTERNET";
59
		$l_footer_imp = "Desarrollado por ALCASAR";
62
		$l_footer_imp = "Desarrollado por ALCASAR";
60
	       	$l_explain1_imp = "Escribe 'Alcasar' en su navegador para administrar su cuenta (contraseña, cerrar sesión, etc.).";
63
	       	$l_explain1_imp = "Escribe 'Alcasar' de su navegador para administrar su cuenta (contraseña, certificado, etc.).";
-
 
64
	       	$l_explain2_imp = "Escribe 'logout' de su navegador para desconectar.";
61
		$l_login_imp = "Usuario :";
65
		$l_login_imp = "Usuario :";
62
		$l_password_imp = "Contraseña :";
66
		$l_password_imp = "Contraseña :";
63
		$l_max_all_session_imp="Tiempo total permitido :";
67
		$l_max_all_session_imp="Tiempo total permitido :";
64
		$l_session_timeout_imp="Duraciôn de Sesiôn :";
68
		$l_session_timeout_imp="Duraciôn de Sesiôn :";
65
		$l_max_daily_session_imp="Horas diarias :";
69
		$l_max_daily_session_imp="Horas diarias :";
Line 69... Line 73...
69
		$l_without="Sin";
73
		$l_without="Sin";
70
	break;
74
	break;
71
	case 'it':
75
	case 'it':
72
		$l_title_imp = "RICEVIMENTO INTERNET";
76
		$l_title_imp = "RICEVIMENTO INTERNET";
73
		$l_footer_imp = "Powered by ALCASAR";
77
		$l_footer_imp = "Powered by ALCASAR";
74
	       	$l_explain1_imp = "Inserisci 'alcasar' nel tuo browser per gestire il tuo account (password, logout, ecc).";
78
	       	$l_explain1_imp = "Inserisci 'alcasar' nel tuo browser per gestire il tuo account (password, certificato, ecc).";
-
 
79
	       	$l_explain2_imp = "Inserisci 'logout' nel tuo browser per disconnettersi.";
75
		$l_login_imp = "Utenti :";
80
		$l_login_imp = "Utenti :";
76
		$l_password_imp = "Password :";
81
		$l_password_imp = "Password :";
77
		$l_max_all_session_imp="Tempo totale consentito:";
82
		$l_max_all_session_imp="Tempo totale consentito:";
78
		$l_session_timeout_imp="Durata della sessione :";
83
		$l_session_timeout_imp="Durata della sessione :";
79
		$l_max_daily_session_imp="Ore giornaliere :";
84
		$l_max_daily_session_imp="Ore giornaliere :";
Line 83... Line 88...
83
		$l_without="Senza";
88
		$l_without="Senza";
84
	break;
89
	break;
85
	case 'pt':
90
	case 'pt':
86
		$l_title_imp = "BILHETE DE ACESSO À INTERNET";
91
		$l_title_imp = "BILHETE DE ACESSO À INTERNET";
87
		$l_footer_imp = "Desenvolvido por ALCASAR";
92
		$l_footer_imp = "Desenvolvido por ALCASAR";
88
	       	$l_explain1_imp = "Digite 'Alcasar' no seu navegador para gerenciar sua conta (senha, logout, etc).";
93
	       	$l_explain1_imp = "Digite 'Alcasar' no seu navegador para gerenciar sua conta (senha, certidão, etc).";
-
 
94
	       	$l_explain2_imp = "Digite 'logout' no seu navegador para desligar.";
89
		$l_login_imp = "Usuário :";
95
		$l_login_imp = "Usuário :";
90
		$l_password_imp = "Senha :";
96
		$l_password_imp = "Senha :";
91
		$l_max_all_session_imp="Tempo máximo de toda conexão :";
97
		$l_max_all_session_imp="Tempo máximo de toda conexão :";
92
		$l_session_timeout_imp="Fim da conexão :";
98
		$l_session_timeout_imp="Fim da conexão :";
93
		$l_max_daily_session_imp="Conexão máxima diária :";
99
		$l_max_daily_session_imp="Conexão máxima diária :";
Line 97... Line 103...
97
		$l_without="Sem";
103
		$l_without="Sem";
98
	break;
104
	break;
99
	default:
105
	default:
100
		$l_title_imp = "INTERNET ACCESS TICKET";
106
		$l_title_imp = "INTERNET ACCESS TICKET";
101
		$l_footer_imp = "Powered by ALCASAR";
107
		$l_footer_imp = "Powered by ALCASAR";
102
	       	$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, logout, etc.).";
108
	       	$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, certificate, etc.).";
-
 
109
	       	$l_explain2_imp = "Enter 'logout' in your browser to disconnect.";
103
		$l_login_imp = "Login :";
110
		$l_login_imp = "Login :";
104
		$l_password_imp = "Password :";
111
		$l_password_imp = "Password :";
105
		$l_max_all_session_imp="Total time allowed :";
112
		$l_max_all_session_imp="Total time allowed :";
106
		$l_session_timeout_imp="Session timeout :";
113
		$l_session_timeout_imp="Session timeout :";
107
		$l_max_daily_session_imp="Max daily session :";
114
		$l_max_daily_session_imp="Max daily session :";
Line 241... Line 248...
241
if ($exp_imp == "Without") $exp_imp=utf8_decode($l_without);
248
if ($exp_imp == "Without") $exp_imp=utf8_decode($l_without);
242
$pdf->Cell(45,10,$exp_imp,0,1,'L');
249
$pdf->Cell(45,10,$exp_imp,0,1,'L');
243
$pdf->Ln(7); 
250
$pdf->Ln(7); 
244
$pdf->cell(30);
251
$pdf->cell(30);
245
$pdf->SetFont('Arial','',8);
252
$pdf->SetFont('Arial','',8);
246
$pdf->Cell(0,10,utf8_decode($l_explain1_imp),0,1,'L');
253
$pdf->Cell(0,5,utf8_decode($l_explain1_imp),0,1,'L');
-
 
254
$pdf->cell(30);
-
 
255
$pdf->SetFont('Arial','',8);
-
 
256
$pdf->Cell(0,5,utf8_decode($l_explain2_imp),0,1,'L');
247
 
257
 
248
//renvoie au navigateur du document 
258
// envoie du document au navigateur 
249
$ticket_name="ticket_".$log_imp.".pdf";
259
$ticket_name="ticket_".$log_imp.".pdf";
250
$pdf->Output($ticket_name,'D');
260
$pdf->Output("ticket.pdf");
251
 
-
 
-
 
261
header ('Location: ticket.pdf');
252
?>
262
?>