$view, 'view_all' => $view_all, 'year' => $year, 'month' => $month, 'day' => $day, 'area' => $area, 'room' => $room ?? null ); print_header($context); echo "

" . get_vocab("about_mrbs") . "

\n"; if (!is_admin()) { echo "\n"; echo "\n"; echo "
" . get_vocab("mrbs") . "" . get_mrbs_version() . "
\n"; } else { // Restrict the configuration and server details to admins, for security reasons. echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo '\n"; echo '\n"; echo "
" . get_vocab("config_details") . "
" . get_vocab("mrbs_version") . "" . get_mrbs_version() . "
" . get_vocab("db_schema_version") . "" . DB::DB_SCHEMA_VERSION . "
" . get_vocab("db_local_schema_version") . "" . DB::DB_SCHEMA_VERSION_LOCAL . "
$auth[\'type\']' . escape_html($auth['type']) . "
$auth[\'session\']' . escape_html($auth['session']) . "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; // The PHP extensions loaded, particularly intl and mbstring, are useful for debugging. $extensions = get_loaded_extensions(); asort($extensions); echo "\n"; echo "
" . get_vocab("server_details") . "
" . get_vocab("database") . "" . db()->version() . "
" . get_vocab("system") . "" . System::info() . "
" . get_vocab("servertime") . "" . datetime_format($datetime_formats['date_and_time_help'], time()) . "
" . get_vocab("server_software") . "" . escape_html(get_server_software()) . "
PHP" . phpversion() . "
" . get_vocab("extensions") . "" . escape_html(implode(', ', $extensions)) . "
\n"; } echo "

\n" . get_vocab("browserlang") .":\n"; if (isset($server['HTTP_ACCEPT_LANGUAGE'])) { echo escape_html(implode(', ', Language::getBrowserPreferences($server['HTTP_ACCEPT_LANGUAGE']))); } echo "\n

\n"; echo "

" . get_vocab("help") . "

\n"; echo "

\n"; // Obfuscate the email address $html = '' . escape_html($mrbs_admin) . ''; $contact = '' . escape_html($mrbs_admin) . ''; echo get_vocab("please_contact", $contact) . "\n"; echo "

\n"; $faqfile = $faqfilelang ?? ''; // Older versions of MRBS required an underscore in front of the language // in the config setting. In order to maintain backwards compatibility we // cater for both old (eg "_fr") and new (eg "fr") styles. if (($faqfile !== '') && !str_starts_with($faqfile, '_')) { $faqfile = '_' . $faqfile; } require_once "site_faq/site_faq" . $faqfile . ".html"; print_footer();