set_time_limit(200); header('Content-Type: text/html; charset=utf-8'); header("Cache-Control: no-cache, must-revalidate"); include_once '../../../smtp/class.phpmailer.php'; include_once '../../../debug/fb.php'; include_once '../../../tjax/tjax.php'; include_once '../../../framework/FrameworkBanco.php'; include_once '../../../framework/FrameworkGeneric.php'; include_once '../../../modulos/painel/navegacao/model.php'; include_once '../../../modulos/painel/navegacao/navegacao.php'; include_once 'model.php'; /** * Registra function **/ $fg = new FrameworkGeneric(); $fg->cryptPost($_POST['STR']); $fg->registerFunction($_POST); /** * ADICIONA MÓDULOS. */ function adicionar($aDados) { $tjax = new Tjax(); $fg = new FrameworkGeneric(); $fg->config(""); $host = $fg->host; if (!$aDados[modulo]) { $html .= 'Digite um módulo <br />'; $tjax->addScript("\$('#modulo').css('background-color','#F2DEDE');"); } else { $tjax->addScript("\$('#modulo').css('background-color','#FFF');");