$ok = $cep->cadastra_protocolo($protocolo, '[]' . $proj->doc_1_titulo, $autor); if ($ok == 1) { /* Step 2 */ $protocolo_cep = $cep->recupera_protocolo_submissao($protocolo, '1'); $cep->protocolo = $protocolo_cep; $cep->protocolo_submission = $protocolo; $cep->versao = 1; /* Step 3 */ $cep->limpa_projetos_anteriores(); /* Step 4 */ $cep->create_pdf_submit_file(); /* Step 5 */ $cep->transfere_autores(); /* Step 6 */ $cep->envia_arquivos_submissao_apreciacao(); /* Step 7 */ $cep->change_status_files_submited(); /* Step 8 */ $cep->cep_historic_append('SUB', msg('submitted_by_the_author')); /* Step 9 */ $proj->protocolo_altera_status($protocolo, '@', 'A'); /* Step 10 */ $cep->confirm_notify_by_email(); $cep->confirm_submission_by_email(); echo '<div style="text-align: justify; width: 80%">'; echo msg('submission_end_text'); echo '</div>'; } echo '</div>'; echo '<font class="lt0">' . msg('protocolo') . ' ' . $protocolo . '</font>'; echo $hd->foot();
$edit_mode = round($_SESSION['editmode']); $file = 'messages/msg_' . $LANG . '.php'; $LANG = $lg->language_read(); if (file_exists($file)) { require $file; } else { echo 'message not found ' . $file; } if (strlen($acao) > 0) { $ok = $dict->dictamen_save($dd); $proto = $dd[1]; $caae = $dd[1]; $cep->caae = $caae; $cep->protocolo = $proto; $cep->status = 'D'; $cep->cep_historic_append('PAE', msg('emited_dictamen')); $dict->protocol = $proto; $dict->create_pdf($proto); $dict->ged_delete_old($proto); $dict->save_ged(); $cep->protocolo = $proto; $cep->caae = $dd[1]; // $cep->cep_status_alter('E'); $cep->cep_update_date_dictamen(date("Ymd")); echo '</A>'; echo ' <script> $(window.location).attr(\'href\', \'protocol_detalhe.php\'); </script> '; exit;
* @package Class * @subpackage UC0001 - Sumissao de protocolo de pesquisa */ echo '<H1>' . msg('amendment_' . $doc_tipo) . '</h1>'; require 'submit_00_field.php'; if (strlen($acao) > 0) { require 'submit_save.php'; } echo $s; require "_class/_class_cep.php"; $cep = new cep(); // data CEP $cep_recrutamento = $cep->get_cep_recrutamento($proto_cep); $cp = $cep->cp_monitoreo(); /* Chave ID do register_shutdown_function(function)*/ $dd[0] = $proto_cep; $form = new form(); require "form_css.php"; $tela = $form->editar($cp, 'cep_protocolos'); if ($form->saved > 0) { $cep->protocolo = strzero($proto_cep, 6); $log = $cep->cep_historic_append("CHG", msg("recruiting_" . $dd[2]) . ', ' . msg("date_reclutamiento") . ":" . stodbr($dd[1])); redirecina('submit_end_monitoreo_008.php'); } else { echo $tela; } echo '</table>'; if ($ok > 0 and strlen($acao) > 0) { $_SESSION['proj_page'] = $pag + 1; redirecina('submit.php?time' . date("dmYhis")); }