handle_url_routing(""); } $locale = fusion_get_locale(); $info = []; ob_start(); if (!iMEMBER) { switch ($settings['login_method']) { case "2" : $placeholder = $locale['global_101c']; break; case "1" : $placeholder = $locale['global_101b']; break; default: $placeholder = $locale['global_101a']; } $user_name = isset($_POST['user_name']) ? form_sanitizer($_POST['user_name'], "", "user_name") : ""; $user_password = isset($_POST['user_pass']) ? form_sanitizer($_POST['user_pass'], "", "user_pass") : ""; $path = $settings['opening_page']; if (!defined('IN_PERMALINK')) { $path = BASEDIR.(!stristr($settings['opening_page'], '.php') ? $settings['opening_page'].'/index.php' : $settings['opening_page']); } $info = [ "open_form" => openform('loginpageform', 'POST', $path), "user_name" => form_text('user_name', "", $user_name, ['placeholder' => $placeholder, 'inline' => TRUE]), "user_pass" => form_text('user_pass', "", $user_password, ['placeholder' => $locale['global_102'], 'type' => 'password', 'inline' => TRUE]), "remember_me" => form_checkbox('remember_me', $locale['global_103'], ""), "login_button" => form_button('login', $locale['global_104'], $locale['global_104'], ['class' => 'btn-primary btn-block m-b-20']), "registration_link" => $settings['enable_registration'] ? "
".$locale['global_105']."
\n" : "", "forgot_password_link" => $locale['global_106'], "close_form" => closeform() ]; } require_once THEME."theme.php"; require_once INCLUDES."header_includes.php"; require_once INCLUDES."theme_functions_include.php"; require_once THEMES."templates/render_functions.php"; include THEMES."templates/global/maintenance.php"; header("Content-Type: text/html; charset=".$locale['charset'].""); echo "\n"; echo "\n"; echo "\n"; echo "