Пример #1
0
 */
/* Add Styles */
$style_add = array('proethos_form.css');
require "cab.php";
/* Admin Common */
$ok = ($perfil->valid('#ADM') or $perfil->valid('#SCR') or $perfil->valid('#COO'));
if ($ok == 0) {
    redirecina('main.php');
}
/* Form Library */
require $include . '_class_form.php';
$form = new form();
require "form_css.php";
/* Committee Library */
require_once "_class/_class_committee.php";
$cm = new committee();
$cp = $cm->cp();
/* Recover ID */
if ($cm->config_exist()) {
    $dd[0] = $cm->id;
}
$tabela = "_committee";
echo '<h2>' . msg("configuration_committe") . '</h2>';
$tela = $form->editar($cp, $tabela);
if ($form->saved > 0) {
    $cm->save_arq();
    echo '<h3>' . msg('saved') . '</h3>';
    redirecina('contact.php');
} else {
    echo $tela;
}
Пример #2
0
require "cab.php";
/* Library */
require $include . 'sisdoc_data.php';
/* Resume */
require "_class/_class_resume.php";
require $include . 'sisdoc_data.php';
$rs = new resume();
/* load config committee */
require "_class/_class_committee.php";
$cmt = new committee();
if ($cmt->config_exist_file() != 0) {
    require_once $cmt->file;
}
/* Valida paramentros do Committee */
require_once "_class/_class_committee.php";
$cmt = new committee();
if ($cmt->config_exist_file() == 0) {
    redirecina('admin_committe.php');
}
/* Carrega dados do calendário */
require "_class/_class_calender.php";
$cal = new calendar();
/* Mostra resumo */
echo $rs->resume();
echo '<BR>';
/* Se form membro do CEP, mostra resumo */
if ($perfil->valid('#MEM')) {
    echo $rs->resume_cep();
} else {
    if ($perfil->valid('#ADC')) {
        echo $rs->resume_adhoc();
Пример #3
0
/**
 * Contact page
 * @author Rene F. Gabriel Junior <*****@*****.**>
 * @author Rene Faustino Gabriel Junior  (Analista-Desenvolvedor)
 * @copyright © Pan American Health Organization, 2013. All rights reserved.
 * @access public
 * @version v0.13.46
 * @package ProEthos
 * @subpackage Contact
 */
/* mark active page to cabmenu */
$active_page = 'contact';
$nosec = 1;
require "cab.php";
require "_class/_class_committee.php";
$cmt = new committee();
$cmt->le();
echo '<H1>' . mst(msg('contact_us')) . '</H1>';
echo '<BR>';
echo '<fieldset>';
echo '<font class="lt3"><B>' . $cmt->institution_name . '</B></font>';
echo '<BR>';
echo '<A HREF="' . $cmt->institution_site . '">' . $cmt->institution_site . '</a>';
echo '<BR>';
echo mst($cmt->institution_email);
echo '<BR><BR>';
echo mst($cmt->institution_address);
echo '<BR>';
echo $cmt->institution_city . ' - ' . $cmt->institution_country;
echo '<BR>';
echo msg('phone_number') . ' ' . $cmt->institution_phone;