<?php if (isset($_SESSION['idLogin']) and isset($_SESSION['UserLogin']) and isset($_SESSION['NivelLogin'])) { if (verificaNivel($_SESSION['idLogin'], $_SESSION['NivelLogin']) == true) { class Trata_variaveis { function Resgata($N_Referencia, $V_Referencia, $N_campo, $V_campo, $N_Tipo, $V_Tipo, $N_Tamanho, $V_Tamanho, $QTD, $Titulo_banco, $sub_ferramenta, $Galeria, $Upload, $Post_destaque, $Sitema_comente, $categorias) { if ($V_campo == true and $V_Tipo == true and $V_Tamanho) { $i = 1; foreach ($V_Referencia as $valor) { $Matriz[$N_Referencia][$i++] = $valor; } $i = 1; foreach ($V_campo as $valor) { $Matriz[$N_campo][$i++] = $valor; } $i = 1; foreach ($V_Tipo as $valor) { $Matriz[$N_Tipo][$i++] = $valor; } $i = 1; foreach ($V_Tamanho as $valor) { $Matriz[$N_Tamanho][$i++] = $valor; } for ($x = 1; $x <= $QTD; $x++) { if ($Matriz[$N_Referencia][$x] == 1) { $Campo_principal = strtolower($Matriz[$N_campo][$x]); if ($Matriz[$N_campo][$x] == '') { $VarificaRef = true; } else {
<div class="Box box_Paginas"> <ul class="Menu-acoes"> <a href="index.php?pg=Config/Sitemap&Gerar=ok"><li style="background-color:#F00;">Gerar Site Map</li></a> <a href="index.php?pg=Config/Sitemap"><li>Cadastrar nova URL</li></a> <a href="index.php?pg=Config/Sitemap"><li>Atualizar</li></a> </ul> <?php if (empty($_GET['edit']) and verificaNivel($_SESSION['idLogin'], $_SESSION['NivelLogin']) == true) { ?> <div class="Titulo_box"> Cadastrar Url no Sitemap </div> <div class="Body_box"> <form action="" method="post" enctype="multipart/form-data"> <label>Descrição</label><br /> <input type="text" name="desc" id="desc" style="width: 500px;" /><br /><br /> <label>Url</label><br /> <input type="text" name="url" id="url" style="width: 650px;"/><br /><br />