if (!in_array(165, listarAcesso())) { echo '<script language= "JavaScript">location.href="' . EXTERNAL_ROOT_PORTAL . '/modulos.php";</script>'; } if (!empty($_GET['cmd']) && $_GET['cmd'] == 'del') { $id = limpaTexto($_GET['id']); $retorno = $DAO->DeletarLista($id); if ($retorno == 1) { echo '<script language= "JavaScript">alert("Lista removida com sucesso");</script>'; echo '<script language= "JavaScript">location.href="index.php";</script>'; } else { echo '<script language= "JavaScript">alert("Erro ao remover o registro.");</script>'; } } /*Download compactado*/ if (!empty($_GET['cmd']) && $_GET['cmd'] == 'compact') { $remessa->zipar(limpaTexto($_GET['id'])); } // echo gethostname(); ?> <!-- topbar ends --> <div class="container-fluid"> <div class="row-fluid"> <!-- left menu starts --> <div class="span2 main-menu-span"> <?php include_once '../menu.php'; ?> </div><!--/span--> <!-- left menu ends -->