/** * Menssages * @author Rene Faustino Gabriel Junior (Analista-Desenvolvedor) * @copyright © Pan American Health Organization, 2013. All rights reserved. * @access public * @version v.0.13.46 * @package Proethos * @subpackage Menssages */ require 'cab.php'; require $include . 'sisdoc_debug.php'; global $acao, $dd, $cp, $tabela; require $include . '_class_form.php'; $form = new form(); $cl = new message(); $cp = $cl->cp(); $tabela = $cl->tabela; $http_edit = 'message_ed.php'; $http_redirect = ''; $tit = msg("titulo"); /** Comandos de Edicao */ echo '<CENTER><font class=lt5>' . msg($tabela) . '</font></CENTER>'; $tela = $form->editar($cp, $tabela); /** Caso o registro seja validado */ if ($form->saved > 0) { echo 'Salvo'; $cl->updatex(); redirecina('message.php'); } else { echo '<table width="100%" class="lt1">'; echo '<tr valign="top">';
* @package Proethos * @subpackage Menssages */ require "cab.php"; $file = '../messages/msg_message.php'; if (file_exists($file)) { require $file; } $tp = new message(); //$tp->language_set('pt_BR'); global $acao, $dd, $cp, $tabela; require $include . 'sisdoc_colunas.php'; //$sql = "delete from _messages where 1=1"; //$rlt = db_query($sql); $clx = new message(); $cp = $clx->cp(); $tabela = $clx->tabela; $label = msg("mensagens"); $http_edit = 'message_ed.php'; $http_ver = 'message_ed.php'; $editar = True; //$http_ver = 'cliente_ver.php'; $http_redirect = 'message.php?dd98=' . $dd[98] . '&dd97=' . $dd[97]; $cdf = array('id_msg', 'msg_field', 'msg_language', 'msg_content'); $cdm = array('cod', msg('field'), msg('language'), msg('content')); $masc = array('', '', '', '', '', '', ''); $busca = true; $offset = 20; //$pre_where = " e_mailing = '".$cl->mail_codigo."' "; //$dd[97] = 'pt_BR'; if (strlen($dd[98]) > 0) {