<?php include "sessao.php"; include "head.php"; include "vlogin.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/class.Processo.php"; ?> <span id="titform"> <a href="menu_admin.php">Administração</a> -> <?php $prc = new Processo($_POST['prc']); $lnk = sprintf('<a href="lst_processo.php?prc=%d">%s</a>', $prc->getID(), $prc->getNome()); echo $lnk; ?> </span> <table id="menuadm" border="0" cellspacing="0"> <?php $ID = $_POST['ID']; $descricao = $_POST['CatDescricao']; if ($_POST['Excluir'] == 'Excluir') { exclui($ID); } else { grava($ID, $dia, $mes, $ano, $local, $descricao); } ?> </table>