[ "Type" => FormUI::FTYPE_TEXT, "Label" => "User Name", "Size" => 12, "Placeholder" => "" ], "Password" => [ "Type" => FormUI::FTYPE_PASSWORD, "Label" => "Password", "Size" => 12, "Placeholder" => "" ], "Login" => [ "Type" => FormUI::FTYPE_CUSTOMCONTENT, "Content" => (new HtmlButton("Log In"))->getHtml(), "Label" => "" ] ]; $LogInForm = new FormUI($FormFields); if (isset($_POST["HTTP_REFERER"]) || isset($_SERVER["HTTP_REFERER"])) { $Referer = $_POST["HTTP_REFERER"] ?? $_SERVER["HTTP_REFERER"]; $LogInForm->addHiddenField("HTTP_REFERER", $Referer); } # ----- DISPLAY -------------------------------------------------------------- $AF->setPageTitle("Sign in"); ?>

# User Login

displayFormTable(); ?>

- Create a Login
- Forget your password?