Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php session_start()?>
- <!DOCTYPE html>
- <html lang="pt-br">
- <head>
- <meta charset="UTF-8">
- <title>LeBron - Cadrasto</title>
- <!--Import Google Icon Font-->
- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/>
- <!--Import materialize.css-->
- <link rel="stylesheet" href="materialize/css/materialize.min.css"/>
- </head>
- <body>
- <nav class="brown">
- <div class="nav-wrapper ">
- <div class="brand-logo">Padaria LeBron</div>
- <ul class="right">
- <li><a href="index.php"><i class="material-icons left">account_circle</i>Cadastro</a></li>
- <li><a href="consultas.php"><i class="material-icons left">search</i>Consultas</a></li>
- </ul>
- </div>
- </nav>
- <!--Formulario de Cadastro-->
- <div class="row container">
- <h1>Cadastro do Cliente</h1>
- <hr><br><br>
- <?php
- if(isset($_SESSION['msg'])):
- echo $_SESSION['msg'];
- session_unset();
- endif;
- ?>
- <p> </p>
- <form method="post" action="banco_de_dados/create.php" class="col s12">
- Nome:
- <input type="text" name="nome" maxlength="40" required autofocus>
- Email:
- <input type="email" name="email" maxlength="50" required>
- Logradouro:
- <input type="text" name="logradouro" maxlength="50" required>
- CEP:
- <input type="number" name="cep" maxlength="8" required>
- Número:
- <input type="number" name="numero" maxlength="4" required>
- Complemento:
- <input type="text" name="complemento" maxlength="10">
- Bairro:
- <input type="text" name="bairro" maxlength="35" required>
- Celular:
- <input type="tel" name="celular" maxlength="11" required>
- Telefone(opcional):
- <input type="tel" name="telefone" maxlength="10">
- <br><br>
- <input type="submit" value="Cadastrar" class="btn brown">
- <input type="reset" value="Limpar" class="btn brown">
- </form>
- </div>
- <!-- ARQUIVOS JQUERY E JAVASCRIPT-->
- <script type="text/javascript" src="materialize/js/jquery-3.3.1.min.js"></script>
- <script type="text/javascript" src="materialize/js/materialize.min.js"></script>
- <!-- INICIALIZAÇÃO JQUERY-->
- <script type="text/javascript">
- $(document).ready(function(){
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement