historico_importacao_view.php
4.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
/*
Copyright 2010 UNIPAMPA - Universidade Federal do Pampa
Este arquivo é parte do programa SGCE - Sistema de Gestão de Certificados Eletrônicos
O SGCE é um software livre; você pode redistribuí-lo e/ou modificá-lo dentro dos
termos da Licença Pública Geral GNU como publicada pela Fundação do Software Livre
(FSF); na versão 2 da Licença.
Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA;
sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR.
Veja a Licença Pública Geral GNU/GPL em português para maiores detalhes.
Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt",
junto com este programa, se não, acesse o Portal do Software Público Brasileiro no
endereço www.softwarepublico.gov.br ou escreva para a Fundação do Software Livre(FSF)
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
?>
<?php
/**
* View de historico de importacoes - popup
*/
?>
<html xml:lang="pt-br" lang="pt-br">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href='<?= base_url()?>system/application/views/includes/css/estilo_admin.css' type="text/css" />
<script type="text/javascript" src='<?= base_url()?>system/application/views/includes/js/jquery.js'></script>
<script type="text/javascript" src='<?= base_url()?>system/application/views/includes/js/admin.js'></script>
<script type="text/javascript" src='<?= base_url()?>system/application/views/includes/js/modal_window.js'></script>
</head>
<body>
<div class="titulo_popup">
<h3><?=$titulo_pagina?></h3>
</div>
<table width="100%" border='0' class="center_table" id="data_table">
<tr class="linha_par">
<td><b>Detalhes</b></td>
<td><b>Código</b></td>
<td><b>Data</b></td>
<td><b>Hora</b></td>
<td><b>Usuário</b></td>
<td><b>IP Usuário</b></td>
<td><b>Mensagem</b></td>
</tr>
<?php if(@$mensagem): ?>
<tr class="linha_par">
<td width="80" colspan="10" align="center"><b><?=$mensagem?></b></td>
</tr>
<?php endif;?>
<?php if(!@$mensagem): ?>
<?php $i = 0; ?>
<?php foreach($historico as $row):?>
<?php
$i++;
if($i % 2 == 0)
$cor = "linha_par";
else
$cor = "linha_impar";
?>
<tr class='<?=$cor?>' id="linha_<?=$i?>">
<td id="td_log_<?=$row->id_log?>">
<center>
<a href="javascript:visualizaDetalhesLog('<?=$row->id_log?>', '<?=base_url()?>')"
title="Visualizar Detalhes">
<img alt="Detalhes" title="Detalhes"
src="<?=base_url() . 'system/application/views/includes/images/comprovante_16.png'?>" />
</a>
</center>
<div id="boxes">
<div id="detalhes_log_<?=$row->id_log?>" class="detalhes_log">
<a href="javascript:escondeDetalhesLog('<?=$row->id_log?>')" class="close">
<img alt="Fechar" title="Fechar"
src="<?=base_url() . 'system/application/views/includes/images/fechar_modal.png'?>" />
</a>
<table width="100%" border='0' class="center_table"
id="tbl_detalhes_log_<?=$row->id_log?>">
<!--Monta tabela de historico em helper -->
</table>
</div>
</div>
<td><?=$row->id_log?></td>
<td><?=dataBR($row->dt_log)?></td>
<td><?=date('H:i:s', strtotime($row->dt_log))?></td>
<td><?=$row->nm_usuario?></td>
<td><?=$row->ip_usuario?></td>
<td><?=strip_tags($row->msg_log)?></td>
</tr>
<?php endforeach;?>
<?php endif;?>
</table>
<br />
</body>
</html>