<?php include "autoload.php"; use Lib\Produto; Produto::auth(); //chamando a funcao estatica de autenticacao: se nao estiver logado, redireciona para a home ?> <?php include 'layout/header.php'; ?> <?php include 'layout/nav.php'; ?> <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"> <h1 class="page-header">Produtos</h1> <p><a class="bt_default bt_add" href="incluir_produtos.php"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Novo produto</a></p> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th>#</th> <th>Nome</th> <th>Descrição</th> <th>Preço</th> <th>Alterar</th> <th>Excluir</th> </tr>