<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>Cadastre-se</title>
<link rel="stylesheet" href="css/estilo.css">
</head>
<body>
<div id="corpo-form-Cad">
<h1>Cadastrar</h1>
<form method="POST">
<input type="text" name="nome" placeholder="Nome Completo" maxlength="30">
<input type="text" name="telefone" placeholder="telefone" maxlength="30">
<input type="email" name="email" placeholder="Usuário" maxlength="40">
<input type="password" name="senha" placeholder="Senha" maxlength="15">
<input type="password" name="confSenha" placeholder="Confirmar Senha" maxlength="15">
<input type="submit" value="Cadastrar">
<a href="telalogin.php">Já concluiu seu cadastro?<strong>faça login aqui</strong></a>
</form>
</div>
<?php
//verificar se clicou no botao
if(isset($_POST['nome']))
{
$nome = addslashes($_POST['nome']);
$telefone = addslashes($_POST['telefone']);
$email = addslashes($_POST['email']);
$senha = addslashes($_POST['senha']);