| Line 1... | 
            Line 1... | 
          
          
            | 1 | 
            <?php
  | 
            1 | 
            <?php
  | 
          
          
            | 2 | 
            # $Id: status.php 2841 2020-06-28 21:49:00Z rexy $
  | 
            2 | 
            # $Id: status.php 2850 2020-07-15 22:24:44Z rexy $
  | 
          
          
            | 3 | 
            #
  | 
            3 | 
            #
  | 
          
          
            | 4 | 
            # status.php for ALCASAR captive portal
  | 
            4 | 
            # status.php for ALCASAR captive portal
  | 
          
          
            | 5 | 
            # by steweb57 & Rexy
  | 
            5 | 
            # by steweb57 & Rexy
  | 
          
          
            | 6 | 
            # 
  | 
            6 | 
            # 
  | 
          
          
            | 7 | 
            /****************************************************************
  | 
            7 | 
            /****************************************************************
  | 
          
          
            | Line 70... | 
            Line 70... | 
          
          
            | 70 | 
            if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
  | 
            70 | 
            if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
  | 
          
          
            | 71 | 
            	$Langue = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
  | 
            71 | 
            	$Langue = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
  | 
          
          
            | 72 | 
            	$Language = strtolower(substr(chop($Langue[0]), 0, 2));
  | 
            72 | 
            	$Language = strtolower(substr(chop($Langue[0]), 0, 2));
  | 
          
          
            | 73 | 
            }
  | 
            73 | 
            }
  | 
          
          
            | 74 | 
            if ($Language === 'es') {		// Spanish
  | 
            74 | 
            if ($Language === 'es') {		// Spanish
  | 
          
          
            | 75 | 
            	$l_login1			= "El éxito de la autenticación";
  | 
            75 | 
            	$l_login1			= "Inicio de sesión exitoso!";
  | 
          
          
            | 76 | 
            	$l_logout			= "Conexión de cierre";
  | 
            76 | 
            	$l_logout			= "Desconectarse";
  | 
          
          
            | 77 | 
            	$l_logout_question		= "¿Seguro que desea desconectar?";
  | 
            77 | 
            	$l_logout_question		= "¿Seguro que desea desconectarse?";
  | 
          
          
            | 78 | 
            	$l_loggedout			= "Su sesión se cierra";
  | 
            78 | 
            	$l_loggedout			= "Su sesión ha finalizado";
  | 
          
          
            | 79 | 
            	$l_wait				= "Por favor, espere un momento ...";
  | 
            79 | 
            	$l_wait				= "Por favor, espere un momento ...";
  | 
          
          
            | 80 | 
            	$l_state_label			= "Estado";
  | 
            80 | 
            	$l_state_label			= "Estado";
  | 
          
          
            | 81 | 
            	$l_session_id_label		= "Sesión ID";
  | 
            81 | 
            	$l_session_id_label		= "Sesión ID";
  | 
          
          
            | 82 | 
            	$l_max_session_time_label	= "Tiempo máximo de sesión";
  | 
            82 | 
            	$l_max_session_time_label	= "Tiempo máximo de sesión";
  | 
          
          
            | 83 | 
            	$l_max_idle_time_label		= "Tiempo de inactividad autorizado";
  | 
            83 | 
            	$l_max_idle_time_label		= "Tiempo de inactividad autorizado";
  | 
          
          
            | 84 | 
            	$l_start_time_label		= "Start Time";	// to translate
  | 
            84 | 
            	$l_start_time_label		= "Tiempo de inicio";
  | 
          
          
            | 85 | 
            	$l_session_time_label		= "Tiempo de conexión";
  | 
            85 | 
            	$l_session_time_label		= "Tiempo de conexión";
  | 
          
          
            | 86 | 
            	$l_idle_time_label		= "Idle Time";	// to translate
  | 
            86 | 
            	$l_idle_time_label		= "Tiempo inactivo";
  | 
          
          
            | 87 | 
            	$l_downloaded_label		= "Downloaded";	// to translate
  | 
            87 | 
            	$l_downloaded_label		= "Datos descargados";	
  | 
          
          
            | 88 | 
            	$l_uploaded_label		= "Uploaded";	// to translate
  | 
            88 | 
            	$l_uploaded_label		= "Datos subidos";
  | 
          
          
            | 89 | 
            	$l_original_url_label		= "Original URL";	// to translate
  | 
            89 | 
            	$l_original_url_label		= "URL original";
  | 
          
          
            | 90 | 
            	$l_not_available		= "Not available";	// to translate
  | 
            90 | 
            	$l_not_available		= "No disponible";	
  | 
          
          
            | 91 | 
            	$l_error			= "error";		// to translate
  | 
            91 | 
            	$l_error			= "error";
  | 
          
          
            | 92 | 
            	$l_welcome			= "Welcome";	// to translate
  | 
            92 | 
            	$l_welcome			= "Bienvenido";	
  | 
          
          
            | 93 | 
            	$l_conn_history			= "Your last $nb_connection_history connections";	// to translate
  | 
            93 | 
            	$l_conn_history			= "Últimas $nb_connection_history conexiones";
  | 
          
          
            | 94 | 
            	$l_connected 			= "logged"; // to translate
  | 
            94 | 
            	$l_connected 			= "conectado";
  | 
          
          
            | 95 | 
            	$l_a_connection			= "You have"; // to translate
  | 
            95 | 
            	$l_a_connection			= "Tiene";
  | 
          
          
            | 96 | 
            	$l_a_connection_time		= "active connections on the network"; // to translate
  | 
            96 | 
            	$l_a_connection_time		= "conexiones activas en la red";
  | 
          
          
            | 97 | 
            	$l_close_warning		= "Advertencia: se desconectará si cierra esta ventana";
  | 
            97 | 
            	$l_close_warning		= "Advertencia: se desconectará si cierra esta ventana";
  | 
          
          
            | 98 | 
            	$l_back_homepage		= "Volver a la página de inicio";
  | 
            98 | 
            	$l_back_homepage		= "Volver a la página de inicio";
  | 
          
          
            | 99 | 
            } else if ($Language === 'zh') {	// Chinese
  | 
            99 | 
            } else if ($Language === 'zh') {	// Chinese
  | 
          
          
            | 100 | 
            	$l_login1			= "验证通过";
  | 
            100 | 
            	$l_login1			= "验证通过";
  | 
          
          
            | 101 | 
            	$l_logout			= "关闭连接";
  | 
            101 | 
            	$l_logout			= "关闭连接";
  |