<?php

include_once "template/header.php";
include_once "php/global.php";
include_once "php/usuario.php";
if (estalogado()) {
    header("Location: /index.php");
}
cadastrou();
?>

<form method="post">
    <div class="row login">
        <div class="large-12 small-12 medium-12 columns">
            <label>
                Nome:
                <input type="text" name="nome" />
            </label>
        </div>
        <div class="large-12 small-12 medium-12 columns">
            <label>
                Email:
                <input type="email" name="email" />
            </label>
        </div>
        <div class="large-12 small-12 medium-12 columns">
            <label>
                senha:
                <input type="password" name="senha" />
            </label>
        </div>
<?php

include_once "template/header.php";
include_once "php/global.php";
include_once "php/produto.php";
include_once "php/usuario.php";
if (!estalogado()) {
    header("Location: /index.php");
}
cadastro();
?>

<a href="sair.php">SAIR</a>
<form method="post">
    <div class="row login">
        <div class="large-12 small-12 medium-12 columns">
            <label>
                Nome:
                <input type="text" name="nome" />
            </label>
        </div>
        <div class="large-12 small-12 medium-12 columns">
            <label>
                Valor:
                <input type="text" name="valor" />
            </label>
        </div>
        <div class="large-12 small-12 medium-12 columns">
            <label>
                Quantidade:
                <input type="text" name="qtd" />