get($_SESSION['domain']['language']['code'], 'app/system'); //set the row style class names $c = 0; $row_style["0"] = "row_style0"; $row_style["1"] = "row_style1"; // //get the network details // if (stristr(PHP_OS, 'Linux')) { // $result = shell_exec("ls /sys/class/net | tr '\n' ' '"); // $cards = array_map('trim', explode(' ', $result)); // $selected_card = $settings->get('system', 'network_interface', ''); // if (!in_array($selected_card, $cards, true)) { // // Selected card not in list // return; // } // // } $token = (new token())->create($_SERVER['PHP_SELF']); // Register as a subscriber for the dashboard information service subscriber::save_token($token, [system_dashboard_service::get_service_name()]); //system network status echo "
\n"; echo "\n"; echo "
\n"; echo "\n"; echo "".$text['label-network_usage']."\n"; echo "\n"; //if ($dashboard_chart_type === 'line') { ?>
\n"; echo "
\n";