function dados() { global $date, $LANG, $tab_max; $oms = new oms(); $line = $this->line; $gr = trim($line['cep_grupo']); $versao = $line['cep_versao']; $codigo = $line['cep_codigo']; $clinic_st = round($line['cep_clinic']); $protocol_cep = trim($line['cep_protocol']); $oms = new oms(); if ($clinic_st == 1) { $clinic = msg('clinic_study'); } else { $clinic = ''; } $status = 'cep_status_' . trim($line['cep_status']); $protocol_id = $this->protocolo; /* Estatus */ $sp = ''; $sp .= '<table width="100%" border=0 cellpadding=0 cellspacing=0 class="table_normal">'; $sp .= '<TR><TD>' . msg('protocol') . ' <B>' . $clinic . '</B><TD align="right">' . msg('status') . ': ' . msg($status); $sp .= '</table></B>'; /* CAAE */ $sp .= '<table width="100%" border=0 class="lt0">'; $sp .= '<TR><Td colspan=4 >' . msg('caae'); $sp .= ' <Td colspan=4 >' . msg('project_type'); $sp .= '<TR><Td colspan=4 class="table_proj" ><B>'; $sp .= trim($line['cep_caae']); $sp .= ' <Td colspan=3 class="table_proj">'; $sp .= msg('amendment__' . trim($line['cep_tipo'])); $sp .= ' <Td colspan=1 class="table_proj" align="right">'; if ($clinic_st == 1) { $sp .= $oms->icone($protocol_id); } $sp .= '</table>'; /* Title */ $sp .= '<table width="100%" border=0 class="lt0">'; $sp .= '<TR><Td colspan=7 class="lt0">' . msg('project_title'); $sp .= '<TR><Td colspan=7 class="table_proj"><B>'; $sp .= trim($line['cep_titulo']); $sp .= '</table>'; /* Investigador */ $sp .= '<table width="100%" border=0 class="lt0">'; $sp .= '<TR><Td colspan=6>' . msg('project_investigador'); $sp .= '<Td align="right" width="10%">' . msg('protocol'); $sp .= '<TR><Td colspan=6 class="table_proj">'; $tipo = $this->line['cep_tipo']; if ($tipo == 'PRO') { $sp .= '<img src="img/icone_plus.png" align="right" height="16" id="new_author" alt="include_investigator">'; //$sp .= '<TR><TD colspan=2>'; $sp .= chr(13) . '<script type="text/javascript">'; $sp .= chr(13) . '$("#new_author").click(function() { $("#new_author").hide(); $("#team").show(); var $tela = $.ajax({ url: "team_ajax_cep.php", type: "POST", data: { dd11: "' . $protocol_id . '", dd10: "team" ,dd12: "' . $protocol_id . '" } }) .fail(function() { alert("error"); }) .success(function(data) { $("#team").html(data); }); });'; $sp .= chr(13) . '</script>'; } $sp .= $this->investigadores($line); /* Protocolo de submissão */ $sp .= ' ' . chr(13); $sp .= '<Td align="rigth" class="table_proj" > <div style="width:100%; text-align: right;">' . $protocol_id . '</div>'; $sp .= '</table>'; /* Inser new investigator */ $sp .= '<table width="100%" border=0 class="lt0">'; $sp .= '<TR><TD colspan=7>'; $sp .= '<div id="team" style="display: none; ">'; $sp .= '</div>'; /* INstitution */ $sp .= '<TR><Td colspan=1 width="50%" class="lt0">' . msg('institution'); $sp .= '<Td align="left" colspan=1 width="25%" class="lt0" width="10%">' . msg('country'); $sp .= '<Td align="left" colspan=1 width="25%" class="lt0" width="10%">' . msg('result'); /* dados da instituicao */ $sp .= '<TR><Td colspan=1 class="table_proj">'; $sp .= trim($line['us_instituition']); $sp .= ' ' . chr(13); $sp .= '<Td class="table_proj">'; $sp .= trim($line['pais_nome']) . ' '; $sp .= '<Td class="table_proj">'; $sp .= msg(trim($line['cep_pr_protocol'])) . ' '; $sp .= ' ' . chr(13); if (strlen($clinic) > 0) { /* XML OMS */ //$sp .= '<Td colspan=1 class="lt2"><NOBR>'; //$sp .= $oms -> icone($this -> line['id_cep']); //$sp .= ' ' . chr(13); } $sp .= '</table>'; $sp .= '<table width="100%" border=0 class="lt0">'; $sp .= '<TR>'; $sp .= '<TD width="10%">' . msg('date_accept'); $sp .= '<TD width="10%">' . msg('date_update'); $sp .= '<TD width="10%">' . msg('meet_data'); $sp .= '<TD width="10%">' . msg('dictamen_date'); $sp .= '<TD width="10%">' . msg('aware_date'); $sp .= '<TD width="10%">' . msg('date_reclutamiento'); $sp .= '<TD width="10%">' . msg('date_amendment'); $sp .= '<TD>' . msg('monitoring'); $sp .= '<TR class="lt2" valign="top">'; $sp .= '<Td class="table_proj lt2" align="left" >'; $sp .= ' ' . stodbr($line['cep_data']); $sp .= '<Td class="table_proj lt2" align="left">'; $sp .= ' ' . stodbr($line['cep_atualizado']); $sp .= '<Td class="table_proj lt2" align="left">'; $sp .= ' ' . stodbr($line['cep_reuniao']); $sp .= '<Td class="table_proj lt2" align="left">'; $sp .= ' ' . stodbr($line['cep_dt_parecer']); $sp .= '<Td class="table_proj lt2" align="left">'; $sp .= ' ' . stodbr($line['cep_dt_ciencia']); $sp .= '<Td class="table_proj lt2" align="left">'; /* dados sobre recutramento */ $dtr = $line['cep_recrutamento']; if ($dtr < 20000000) { $sp .= ' ' . msg('no_start'); } else { $sp .= ' ' . stodbr($line['cep_recrutamento']); $sp .= '<BR><font class="lt1">'; $sp .= msg($line['cep_recrutamento_status']); $sp .= '</font>'; } $sp .= '<Td class="table_proj lt2" align="left">'; $sp .= ' ' . stodbr($line['cep_dt_liberacao']); $sp .= '<Td class="table_proj lt2" align="right"><center>'; $sp .= ' ' . $this->monitoring($line['cep_monitoring']); $sp .= '</table>'; $sp .= '</table>'; return $sp; }
// // ProEthos is distributed in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A // PARTICULAR PURPOSE. See the ProEthos License for more details. // // You should have received a copy of the ProEthos License along with the ProEthos // Software. If not, see // https://raw.githubusercontent.com/bireme/proethos/master/LICENSE.txt /** * XML OMS * @author Rene Faustino Gabriel Junior (Analista-Desenvolvedor) * @copyright Copyright (c) 2013 - sisDOC.com.br * @access public * @version v.0.13.46 * @package Proethos * @subpackage XML */ require "db.php"; header("Content-Type:text/xml"); require "_class/_class_cep.php"; $cep = new cep(); $id = round($dd[0]); $dx = $dd[90]; if (checkpost($id) == $dx) { $cep->le($id); require "_class/_class_oms.php"; $oms = new oms(); echo $oms->xml($cep); } else { echo 'post error'; }