<?php include_once "template/header.php"; include_once "php/global.php"; include_once "php/produto.php"; if (isset($_POST["nome"]) and isset($_POST["valor"]) and isset($_POST["qtd"]) and isset($_POST["validade"]) and isset($_POST["fodase"])) { editar($_POST["nome"], $_POST["valor"], $_POST["qtd"], $_POST["validade"], $_POST["fodase"]); } ?> <table id="center"> <tr> <td>nome</td> <td>valor</td> <td>qtd</td> <td>validade</td> <td></td> </tr> </table> <?php if (isset($_GET["editar"])) { editar2($_GET["editar"]); } include_once "template/footer.php";
border-radius: 5px; background: gray; color: white; }</style> <a class="c" href="index.php">Administrar</a> <div class="center"> <table style="width: 100%"> <tr style="background: #CCC; "> <th>Excluir</th> <th>Editar</th> <th>Id</th> <th>Nome</th> <th>Numero do episodio</th> <th>Horario</th> <th>Temporada</th> <th>3D</th> <th>Classificacao de Idade</th> </tr> <tr style="background: #CCC; "> <?php listar(); editar(); editar2(); include './template/footer.php'; ?> </tr> </table>