<?php
$id = (!empty($_POST['id']) ? $_POST['id'] : "");
if($id != ""){
	include '../beans/GerenciadorRegistros.class.php';
	$registroMB = new GerenciadorRegistros();
	$registro = $registroMB->getRegistro($id);
?>
<div class="ui-widget ui-widget-content ui-corner-all menus" title="Registro">
<table>
<tr><td align="right"><strong>Usuário :</strong></td><td><?php echo utf8_encode($registro->getNomeUsuario()); ?></td></tr>
<tr><td align="right"><strong>Movimento :</strong></td><td><?php echo $registro->getMovimento(); ?></td></tr>
<tr><td align="right"><strong>Data :</strong></td><td><?php echo $registro->getDataAcesso(); ?></td></tr>
<tr><td align="right"><strong>Cliente :</strong></td><td><?php echo utf8_encode($registro->getNomeCliente()); ?></td></tr>
<tr><td align="right"><strong>Sistema :</strong></td><td><?php echo utf8_encode($registro->getNomeSistema()); ?></td></tr>
<tr><td align="right"><strong>OBS :</strong></td><td><?php echo utf8_encode($registro->getObs()); ?></td></tr>
<tr><td align="right"><strong>Detalhes :</strong></td><td></td></tr>
<tr><td></td><td><div class="detalhe"><?php echo utf8_encode($registro->getDetalhes()); ?></div></td>
</table>
</div>
<?php } ?>