<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<?php
require_once 'classes/usuarios.php';
$u = new Usuario;
?>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<title>Login</title>
<link rel="stylesheet" href="css/estilo.css">
</head>
<body>
<div id="corpo-form">
<h1>Entrar</h1>
<form method="POST">
<input type="email" placeholder="Usuário" name="email">
<input type="password" placeholder="Senha" name="senha">
<input type="submit" value="ACESSAR">
<a href="cadastrar.php">Ainda não é inscrito?<strong>Cadastre-se</strong></a>
</form>
</div>
<?php
if(isset($_POST['email']))
{
$email = addslashes($_POST['email']);
$senha = addslashes($_POST['senha']);
if(!empty($email) && !empty($senha))
{
$u->conectar("projeto_login","localhost","root","");
if($u->msgErro == "")