_("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; } 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_clock.html"); exit; } else if ($action == "newdatetimentp") { exec("/usr/bin/sudo /usr/sbin/ntpdate " . escapeshellarg($ntpserver)); exec("/usr/bin/sudo /usr/sbin/hwclock -w"); header("Location: ./general_clock.html"); exit; } else if ($action == "newtimezone") { if ($useutc == "on") $str = " --utc"; else $str = " --noutc"; exec("/usr/bin/sudo /usr/sbin/timeconfig" . $str . " \"" . $timezone . "\""); header("Location: ./general_clock.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.

Set system clock manually\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("
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
\n"); print("
\n"); print("
\n"); print("

 

\n"); print("

Set system clock using NTP

\n"); print("

Please note that syncing is done only once
when this form is submitted.

\n"); print("
\n"); print("
\n"); print("\n"); print("\n"); print("\n"); print("\t\n"); print("\n"); print("\n"); print("\t\n"); print("\n"); print("
\n"); print("\t\n"); print("\t
\n"); print("
\n"); print("
\n"); $zp = popen("cd /usr/share/zoneinfo; find . -type f -or -type l | grep '^./[A-Z]' | sort", "r"); if ($zp) { print("

 

\n"); print("

Timezone

\n"); print("
\n"); print("
\n"); print("\n"); print("\n"); print("\n"); print("\t\n"); print("\n"); print("\n"); print("\t\n"); print("\n"); print("\n"); print("\t\n"); print("\n"); print("
\n"); print("\t\n"); print("\t
System clock uses UTC
\n"); print("
\n"); print("
\n"); pclose($zp); } nested_tab_end(); single_end(array()); generic_footer(array()); ?>