Subversion Repositories ALCASAR

Rev

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

Rev 2105 Rev 2111
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: index.php 2105 2017-01-05 08:45:10Z richard $
2
# $Id: index.php 2111 2017-01-08 17:42:44Z richard $
3
#
3
#
4
# index.php for ALCASAR by Rexy
4
# index.php for ALCASAR by Rexy
5
# UI & css style by stephane ERARD
5
# UI & css style by stephane ERARD
6
# The contents of this file may be used under the terms of the GNU
6
# The contents of this file may be used under the terms of the GNU
7
# General Public License Version 2, provided that the above copyright
7
# General Public License Version 2, provided that the above copyright
Line 294... Line 294...
294
	$l_explain_warn_name="一人名为";
294
	$l_explain_warn_name="一人名为";
295
	$l_explain_warn_ip="在此IP:";
295
	$l_explain_warn_ip="在此IP:";
296
	$l_explain_warn_date="查看您的连接日志于";
296
	$l_explain_warn_date="查看您的连接日志于";
297
	$l_explain_warn_reason=" 如下原因:";
297
	$l_explain_warn_reason=" 如下原因:";
298
}
298
}
-
 
299
else if ($Language == 'ar') {
-
 
300
	$l_access_denied = "مراقبة الدخول";
-
 
301
	$l_access_welcome = "ALCASAR مرحبا بك في";
-
 
302
	$l_access_unavailable = "الدخول غير متوفر";
-
 
303
	$l_required_domain = "موقع إنترنيت مطلوب";
-
 
304
	$l_explain_acc_access = "مركز التحكم يمكنك من إدارة البوابة. يلزمك التوفر على حساب الادارة للدخول.";
-
 
305
	$l_explain_access_deny = "محاولة لدخول موارد تحتوي على معلومات غير ملائمة المحتوى";
-
 
306
	$l_explain_net_pb = "بوابتك تكتشف ان الدخول على الانترنت غير متوفر";
-
 
307
	$l_contact_access_deny = "المرجو الاتصال بضابط أمن (OSS / RSS) إذا اعتقدت ان هذه التصفية غير قانونية";
-
 
308
	$l_contact_net_pb = "المرجو الاتصال بمدير المعلومات أو مورد الأنترنت للمزيد من المعلومات";
-
 
309
	$l_welcome = "الصفحة الرسمية للبوابة الأسيرة الخاصة بك";
-
 
310
	$auto_save_sms_text = "تسجيل ذاتي على";
-
 
311
	$l_sms_access = "<a href=\"https://$hostname/autoregistrationinfo.php\">SMS $auto_save_sms_text</a>";
-
 
312
	$l_install_certif = "<a href=\"$cert_add/certificat_alcasar_ca.der\">ركب جذر الشهادة</a>";
-
 
313
	$install_cert_text = "تركيب شهادة السلطة؛ جذر الكزار";
-
 
314
	$l_install_certif_more = "<a href=\"$cert_add/certificat_alcasar_ca.der\">ALCASAR $install_cert_text</a>";
-
 
315
	$exchange_data_text = "يمَكن من تبادل البيانات المؤمّنة بين محطة الاستفسار و بوابة الكزار الأسيرة";
-
 
316
	$cert_not_saved_text = "إذا لم يتم تسجيل هذه الشهادة على محطة الاستفسار الخاصة بك، فمن الممكن ان يتم إصدار تنبيهات أمنية من متصحفك";
-
 
317
	$l_certif_explain = "<br><br>.$cert_not_saved_text<br> .$exchange_data_text";
-
 
318
	$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">مساعدة إضافية </a>";
-
 
319
	$l_category = "فئة :";
-
 
320
	if ((isset ($user[4])) && ($user[4] == "0")) {
-
 
321
		$l_logout_explain = "و لا جلسة استفسار للإنترنت مفتوحة حاليا على نظامك";
-
 
322
		$close_session_text = "فتح جلسة الإنترنت";
-
 
323
		$l_logout = "<a href=\"http://$hostname/index.php?url=$redirect_link\">$close_session_text</a>";
-
 
324
	} else {
-
 
325
		if ($user[5] != $user[0]) { // authentication exception or not
-
 
326
			$close_session_text = "إقفال جلسة المستخدم المتصل حاليا";
-
 
327
			$user_logged_text = "المستخدم متصل";
-
 
328
			$disconnect_user_text = "قطع الاتصال على المستخدم";
-
 
329
			$l_logout_explain = "Ferme la session de l'usager actuellement connecté. <br><br>Utilisateur connecté : <a href=\"http://$hostname:3990/logoff\" title=\"Deconnecter l'utilisateur $user[5]\"><b>$user[5]</b></a><br><br>$nb_connection_history dernières connexions :$connection_history";
-
 
330
			$logout_internet_text = "قطع الاتصال على الإنترنت";
-
 
331
			$l_logout = "<a href=\"http://$hostname:3990/logoff\">$logout_internet_text</a>";
-
 
332
		}
-
 
333
		else {
-
 
334
			$your_system_text = "نظامك";
-
 
335
			$auth_except_text = "على توثيق استثنائي";
-
 
336
			$last_conn_text = "اتصالات مشاركة";
-
 
337
			$l_logout_explain = "$connection_history :$last_conn_text $nb_connection_history<br><br>$auth_except_text ($user[5]) $your_system_text";
-
 
338
			$l_logout = "معلومات على الاتصالات ";
-
 
339
		}
-
 
340
	}
-
 
341
	$change_pass_text = "غير كلمتك السرية";
-
 
342
	$l_password_change = "<a href=\"https://$hostname/pass\">$change_pass_text</a>";
-
 
343
	$redirect_pass_text = "يوجهك على صفحة تغيير الكلمة السرية لحساب الإنترنت الخاص بك";
-
 
344
	$valid_account_text = "يجب ان يكون حساب الإنترنت الخاص بك صالحاً";
-
 
345
	$l_password_change_explain = "$valid_account_text<br><br>.$redirect_text";
-
 
346
	$redirect_sms_text = "يوجهك على الصفحة التفسيرية للتسجيل الذاتي بطريقة";
-
 
347
	$login_text = "تسجيل الدخول";
-
 
348
	$your_phone_text = "رقم الهاتف الخاص بك";
-
 
349
	$pass_text = "كلمة السر";
-
 
350
	$your_message_text = "رسالتك";
-
 
351
	$l_sms_explain = "$your_message_text <strong>$pass_text</strong><br>$your_phone_text <strong>$login_text</strong><br><br>$redirect_sms_text";
-
 
352
	$previous_text = "الصفحة السابقة";
-
 
353
	$l_back_page = "<a href=\"javascript:history.back()\">$previous_text</a>";
-
 
354
	$l_service_sms = "نشطة SMS خدمة";
-
 
355
	$l_service_sms_n = "غير نشطة SMS خدمة";
-
 
356
	$l_acc_sms = "تسجيل ذاتي عن طريق SMS";
-
 
357
	$l_explain_warn = "المسؤول أنشأ أرشيفاً تحتوي على سجلات الاتصال في إطار تحقيق قضائي";
-
 
358
	$understand_text = "أنا متفهم و أريد ان أواصل التصفح";
-
 
359
	if(isset($_GET['url'])) {
-
 
360
		$l_continue_link = "<a href='index.php?redirect=1&url=$_GET[url]' class='button'>$understand_text</a>";
-
 
361
	}
-
 
362
	else {
-
 
363
		$l_continue_link = "<a href='index.php' class='button'>$understand_text</a>";
-
 
364
	}
-
 
365
	$l_title_warn = "عزيزي المستعمل, ";
-
 
366
	$l_explain_warn_name = "شخص مسمىٰ ";
-
 
367
	$l_explain_warn_ip = "تحت هذا IP: ";
-
 
368
	$l_explain_warn_date = "إطّلع على سجلات الاتصال الخاصة بك في";
-
 
369
	$l_explain_warn_reason = "السبب المسرّح به: ";
-
 
370
}
299
else {
371
else {
300
	$l_access_denied = "Access control";
372
	$l_access_denied = "Access control";
301
	$l_access_welcome = "Welcome on ALCASAR";
373
	$l_access_welcome = "Welcome on ALCASAR";
302
	$l_access_unavailable = "ACCESS UNAVAILABLE";
374
	$l_access_unavailable = "ACCESS UNAVAILABLE";
303
	$l_required_domain = "Required WEB site";
375
	$l_required_domain = "Required WEB site";