Subversion Repositories ALCASAR

Rev

Rev 1157 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1157 Rev 1160
Line 89... Line 89...
89
		$l_max_daily_session_imp="Durée journalière :";
89
		$l_max_daily_session_imp="Durée journalière :";
90
		$l_max_monthly_session_imp ="Durée mensuelle :";
90
		$l_max_monthly_session_imp ="Durée mensuelle :";
91
		$l_expiration_imp="Date d'expiration :";
91
		$l_expiration_imp="Date d'expiration :";
92
		$l_unlimited="Illimitée";
92
		$l_unlimited="Illimitée";
93
		$l_without="Aucune";
93
		$l_without="Aucune";
-
 
94
		$l_duplicate="Duplicata";
94
	break;
95
	break;
95
	case 'de':
96
	case 'de':
96
		$l_title_imp = "INTERNETZUGANG TICKET";
97
		$l_title_imp = "INTERNETZUGANG TICKET";
97
		$l_footer_imp = "Präsentiert von ALCASAR";
98
		$l_footer_imp = "Präsentiert von ALCASAR";
98
			//$l_explain1_imp = "Geben Sie 'Alcasar' in Ihrem Browser, um Ihr Konto zu verwalten (kennwort, zertifikat, etc.).";
99
			//$l_explain1_imp = "Geben Sie 'Alcasar' in Ihrem Browser, um Ihr Konto zu verwalten (kennwort, zertifikat, etc.).";
Line 107... Line 108...
107
		$l_max_daily_session_imp="Stunden täglich :";
108
		$l_max_daily_session_imp="Stunden täglich :";
108
		$l_max_monthly_session_imp ="monatlich Dauer :";
109
		$l_max_monthly_session_imp ="monatlich Dauer :";
109
		$l_expiration_imp="Verfallsdatum :";
110
		$l_expiration_imp="Verfallsdatum :";
110
		$l_unlimited="Unbegrentz";
111
		$l_unlimited="Unbegrentz";
111
		$l_without="Ohne";
112
		$l_without="Ohne";
-
 
113
		$l_duplicate="Duplikat";
112
	break;
114
	break;
113
	case 'nl':
115
	case 'nl':
114
		$l_title_imp = "ONTVANGST INTERNET";
116
		$l_title_imp = "ONTVANGST INTERNET";
115
		$l_footer_imp = "Powered by ALCASAR";
117
		$l_footer_imp = "Powered by ALCASAR";
116
			//$l_explain1_imp = "Voer 'Alcasar' in uw browser om uw account te beheren (wachtwoord, certificaat, etc.).";
118
			//$l_explain1_imp = "Voer 'Alcasar' in uw browser om uw account te beheren (wachtwoord, certificaat, etc.).";
Line 124... Line 126...
124
		$l_max_daily_session_imp="Dagelijkse uren :";
126
		$l_max_daily_session_imp="Dagelijkse uren :";
125
		$l_max_monthly_session_imp ="Maandelijkse duur :";
127
		$l_max_monthly_session_imp ="Maandelijkse duur :";
126
		$l_expiration_imp="Vervaldatum :";
128
		$l_expiration_imp="Vervaldatum :";
127
		$l_unlimited="Onbeperkte";
129
		$l_unlimited="Onbeperkte";
128
		$l_without="Ohne";
130
		$l_without="Ohne";
-
 
131
		$l_duplicate="Duplicaat";
129
	break;
132
	break;
130
	case 'es':
133
	case 'es':
131
		$l_title_imp = "BONO INTERNET";
134
		$l_title_imp = "BONO INTERNET";
132
		$l_footer_imp = "Desarrollado por ALCASAR";
135
		$l_footer_imp = "Desarrollado por ALCASAR";
133
			//$l_explain1_imp = "Escribe 'Alcasar' de su navegador para administrar su cuenta (contraseña, certificado, etc.).";
136
			//$l_explain1_imp = "Escribe 'Alcasar' de su navegador para administrar su cuenta (contraseña, certificado, etc.).";
Line 141... Line 144...
141
		$l_max_daily_session_imp="Horas diarias :";
144
		$l_max_daily_session_imp="Horas diarias :";
142
		$l_max_monthly_session_imp ="Duraciôn mensual :";
145
		$l_max_monthly_session_imp ="Duraciôn mensual :";
143
		$l_expiration_imp="Fecha de caducidad :";
146
		$l_expiration_imp="Fecha de caducidad :";
144
		$l_unlimited="Ilimitado";
147
		$l_unlimited="Ilimitado";
145
		$l_without="Sin";
148
		$l_without="Sin";
-
 
149
		$l_duplicate="Duplicado";
146
	break;
150
	break;
147
	case 'it':
151
	case 'it':
148
		$l_title_imp = "RICEVIMENTO INTERNET";
152
		$l_title_imp = "RICEVIMENTO INTERNET";
149
		$l_footer_imp = "Powered by ALCASAR";
153
		$l_footer_imp = "Powered by ALCASAR";
150
			//$l_explain1_imp = "Inserisci 'alcasar' nel tuo browser per gestire il tuo account (password, certificato, ecc).";
154
			//$l_explain1_imp = "Inserisci 'alcasar' nel tuo browser per gestire il tuo account (password, certificato, ecc).";
Line 158... Line 162...
158
		$l_max_daily_session_imp="Ore giornaliere :";
162
		$l_max_daily_session_imp="Ore giornaliere :";
159
		$l_max_monthly_session_imp ="Durata mensile :";
163
		$l_max_monthly_session_imp ="Durata mensile :";
160
		$l_expiration_imp="Data di scadenza :";
164
		$l_expiration_imp="Data di scadenza :";
161
		$l_unlimited="Illimitato";
165
		$l_unlimited="Illimitato";
162
		$l_without="Senza";
166
		$l_without="Senza";
-
 
167
		$l_duplicate="Duplicato";
163
	break;
168
	break;
164
	case 'pt':
169
	case 'pt':
165
		$l_title_imp = "BILHETE DE ACESSO À INTERNET";
170
		$l_title_imp = "BILHETE DE ACESSO À INTERNET";
166
		$l_footer_imp = "Desenvolvido por ALCASAR";
171
		$l_footer_imp = "Desenvolvido por ALCASAR";
167
			//$l_explain1_imp = "Digite 'Alcasar' no seu navegador para gerenciar sua conta (senha, certidão, etc).";
172
			//$l_explain1_imp = "Digite 'Alcasar' no seu navegador para gerenciar sua conta (senha, certidão, etc).";
Line 175... Line 180...
175
		$l_max_daily_session_imp="Conexão máxima diária :";
180
		$l_max_daily_session_imp="Conexão máxima diária :";
176
		$l_max_monthly_session_imp ="MConexão máxima mensal :";
181
		$l_max_monthly_session_imp ="MConexão máxima mensal :";
177
		$l_expiration_imp="Data de vencimento :";
182
		$l_expiration_imp="Data de vencimento :";
178
		$l_unlimited="Ilimitado";
183
		$l_unlimited="Ilimitado";
179
		$l_without="Sem";
184
		$l_without="Sem";
-
 
185
		$l_duplicate="Duplicado";
180
	break;
186
	break;
181
	default:
187
	default:
182
		$l_title_imp = "INTERNET ACCESS TICKET";
188
		$l_title_imp = "INTERNET ACCESS TICKET";
183
		$l_footer_imp = "Powered by ALCASAR";
189
		$l_footer_imp = "Powered by ALCASAR";
184
			//$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, certificate, etc.).";
190
			//$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, certificate, etc.).";
Line 192... Line 198...
192
		$l_max_daily_session_imp="Max daily session :";
198
		$l_max_daily_session_imp="Max daily session :";
193
		$l_max_monthly_session_imp ="Max monthly session :";
199
		$l_max_monthly_session_imp ="Max monthly session :";
194
		$l_expiration_imp="Expiration date :";
200
		$l_expiration_imp="Expiration date :";
195
		$l_unlimited="Unlimited";
201
		$l_unlimited="Unlimited";
196
		$l_without="Without";
202
		$l_without="Without";
-
 
203
		$l_duplicate="Duplicate";
197
	break;
204
	break;
198
	}
205
	}
199
	
206
	
200
require(ROOT.'etc/freeradius-web/config.php');
207
require(ROOT.'etc/freeradius-web/config.php');
201
 
208
 
Line 299... Line 306...
299
				$pdf->addInfos($l_session_timeout_imp, $sto_imp);
306
				$pdf->addInfos($l_session_timeout_imp, $sto_imp);
300
				$pdf->addInfos($l_max_daily_session_imp, $mds_imp);
307
				$pdf->addInfos($l_max_daily_session_imp, $mds_imp);
301
				$pdf->addInfos($l_expiration_imp, $exp_imp);
308
				$pdf->addInfos($l_expiration_imp, $exp_imp);
302
				$pdf->Ln(10);
309
				$pdf->Ln(10);
303
				$pdf->addComment($l_explain);
310
				$pdf->addComment($l_explain);
-
 
311
 
-
 
312
				// Création du duplicata
-
 
313
				$pdf->newTickets();
-
 
314
				$pdf->Ln(5);
-
 
315
				$pdf->addInfos($l_login_imp, $login_imp);
-
 
316
				$pdf->addInfos($l_password_imp, $passwd1_imp);
-
 
317
				$pdf->Ln(5);
-
 
318
				$pdf->addInfos($l_max_all_session_imp, $mas_imp);
-
 
319
				$pdf->addInfos($l_session_timeout_imp, $sto_imp);
-
 
320
				$pdf->addInfos($l_max_daily_session_imp, $mds_imp);
-
 
321
				$pdf->addInfos($l_expiration_imp, $exp_imp);
-
 
322
				$pdf->Ln(10);
-
 
323
				$pdf->addComment($l_duplicate,'C');//à mettre en rouge
304
			} else {
324
			} else {
305
				$nbfailuser++;
325
				$nbfailuser++;
306
			}# if user
326
			}# if user
307
		} # end for
327
		} # end for
308
	} # end if (is file)
328
	} # end if (is file)