} $auth = new AuthClass(); if (isset($_POST["login"]) && isset($_POST["password"])) { if (!$auth->auth($_POST["login"], $_POST["password"])) { echo "Логи/пароль введены неверно"; echo $data["user_password"]; } } if (isset($_GET["is_exit"])) { if ($_GET["is_exit"] == 1) { $auth->out(); header("Location: ?is_exit=0"); } } if ($auth->isAuth()) { echo "Hello" . $auth->getLogin(); echo "</br><a href='?is_exit=1'>Exit</a>"; } else { ?> <style type="text/css"> #line{ width:150px; height: 20px; border-radius: 5px; } p{ color:#644ad8; font-weight: bold; font-family: Arial, Helvetica, Verdana;