header("Content-Type: text/html; charset=ISO-8859-1", true); require "../includes/verifica_logado_safpostal.inc.php"; require '../includes/classQuery_sistecart.php'; require "../includes/funcoes.php"; require "../includes/global.inc.php"; $permissao = verifica_permissao('EXPANSAO', $safpostal_departamento_saf); if ($permissao == 'FALSE' or $safpostal_id_empresa != '1') { echo '<br><br><strong>Você não tem permissão para acessar essa página</strong>'; exit; } pt_register('GET', 'id'); $cor = '#FFF'; $dt = new StatusDAO(); $dt1 = new ListaInteressadosDAO(); $e = $dt->buscaHistorico($id); $f = $dt1->buscaDataInclude($id); if (count($e) > 0) { ?> <p align="right"><a href="#historico" onclick="VisualizarHistorico(0, 0);">X FECHAR HISTÓRICO</a></p> <table width="756" border="0" cellspacing="2" cellpadding="0" style="border:solid 1px #0071B6; margin-top:5px;"> <tr style="font-weight: bold; background:#95D8FF; font-size:10px;"> <td width="180" height="20" style="border-bottom:solid 1px #0071B6;"> STATUS ANTERIOR</td> <td width="131" style="border-bottom:solid 1px #0071B6;"> ALTERADO POR:</td> <td width="229" style="border-bottom:solid 1px #0071B6;"> OBSERVAÇÕES</td> <td width="85" align="center" style="border-bottom:solid 1px #0071B6;">REUNIÃO</td> <td width="117" align="center" style="border-bottom:solid 1px #0071B6;">INCLUSÃO</td> </tr> <?php foreach ($e as $j => $hst) { ?>