. // Do some standard HashOver setup work require (realpath ('../backend/standard-setup.php')); // Setup class autoloader setup_autoloader (); try { // Instantiate HashOver class $hashover = new \HashOver (); // Template data $template = array ( 'title' => $hashover->locale->text['admin'], 'moderation' => $hashover->locale->text['moderation'], 'block-ip-addresses' => $hashover->locale->text['block-ip-addresses'], 'filter-url-queries' => $hashover->locale->text['filter-url-queries'], 'check-for-updates' => $hashover->locale->text['check-for-updates'], 'documentation' => $hashover->locale->text['documentation'], 'settings' => $hashover->locale->text['settings'] ); // Load and parse HTML template echo $hashover->templater->parseTemplate ('admin.html', $template); } catch (\Exception $error) { echo Misc::displayError ($error->getMessage ()); }