_("Your account"))); dual_begin(array()); print("

" . _("Home") . " / " . _("Your account") . "

\n"); print("

" . _("You have not authenticated yourself to the system yet with your") . " " . _("username") . " " . _("and") . " " . _("password") . ". " . _("You will not be able to use this section of the website without authenticating yourself first. So, please continue and login using the form on the right hand side.") . "

\n"); dual_middle(array()); show_account_details(array()); dual_end(array()); generic_footer(array()); exit; } $machinename = ""; function machinedescription_startelement($parser, $name, $attrs) { global $machinename; if ($name == "MACHINENAME") $machinename = $attrs["VALUE"]; } function machinedescription_endelement($parser, $name) { } $machinedescription_parser = xml_parser_create(); xml_set_element_handler($machinedescription_parser, "machinedescription_startelement", "machinedescription_endelement"); $machinedescription_fp = fopen("/opt/openfiler/etc/machinedescription.xml", "r"); while ($machinedescription_data = fread($machinedescription_fp, 4096)) xml_parse($machinedescription_parser, $machinedescription_data, feof($machinedescription_fp)); fclose($machinedescription_fp); xml_parser_free($machinedescription_parser); if ($actionnewmachinename == "Change") { $fp = popen("/usr/bin/sudo /usr/bin/tee /opt/openfiler/etc/machinedescription.xml", "w"); fputs($fp, "\n"); fputs($fp, "\n"); fputs($fp, "\t\n"); fputs($fp, "\n"); pclose($fp); apply_configuration(); header("Location: ./general_information.html"); exit; } if ($action == "newdatetime") { exec("/usr/bin/sudo /bin/date -s \"" . sprintf("%04d", $year) . "-" . sprintf("%02d", $month) . "-" . sprintf("%02d", $day) . " " . sprintf("%02d", $hour) . ":" . sprintf("%02d", $minute) . "\""); header("Location: ./general_information.html"); exit; } generic_header(array("title" => _("Administration Section"))); single_begin(array()); print("

" . _("Home") . " / " . _("Administration Section") . "

\n"); ?>

Welcome Administrator. The following are various system information and preferences, arranged into tabs. Please click on a tab to open up that category.

Machine information\n"); print("
\n"); print("
\n"); print("\n"); print("\n"); print("\n"); print("\t\n"); print("\t\n"); print("\t\n"); print("\n"); print("
Machine name
\n"); print("
\n"); print("
\n"); print("

 

\n"); print("

System clock

\n"); print("
\n"); print("
\n"); print("\n"); print("\n"); print("\n"); print("\t\n"); print("\t\n"); print("\n"); print("\n"); print("\t\n"); print("\t\n"); print("\n"); print("\n"); print("\t\n"); print("\n"); print("\n"); print("\t\n"); print("\n"); print("
Date\n"); print("\t\n"); print("\t\n"); print("\t\n"); print("\t
Time\n"); print("\t\n"); print("\t:\n"); print("\t\n"); print("\t
System clock uses UTC
\n"); print("
\n"); print("
\n"); nested_tab_end(); single_end(array()); generic_footer(array()); ?>