=========================== */ ?> isAuthenticated()) { header("Location: ".$conf->urlGelato."/admin/index.php"); } else { if (isset($_POST["pass"]) && isset($_POST["login"])) { if ($user->validateUser($_POST['login'], md5($_POST['pass']))) { if(isset($_POST["url_redirect"])){ header("Location: ".$conf->urlGelato."/admin/bm.php?url=".$_POST["url_redirect"]."&sel=".$_POST["sel"]); exit(); } else { header("Location: ".$conf->urlGelato."/admin/index.php"); exit(); } } else { header("Location: ".$conf->urlGelato."/login.php?error=1"); exit(); } } else { ?>