alert('Preencha todos os campos!');history.back(-1);"; } else { if ($total == 1) { $_SESSION['logado'] == true; header("Location: admin.php"); die; } else { echo ""; } } ?>