_("Your account"))); dual_begin(array()); 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("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("
Please note that syncing is done only once
when this form is submitted.
\n"); print("