<?php $dataAtual = new DateTime();?>
<div id="statusRequisicao" ></div>
<div style='border-bottom: solid 1px #cccccc; width: 100%;'><b>Log acesso</b></div><br>
<form  action='src/controller/Bi_log_acessoController.php?mod=busca_por_campo_filtro&carragar_formulario_seletor=<?php echo $_GET["carragar_formulario_seletor"];?>' id="formDadosbi_log_acessoFiltro" class="form_filtro">
	<div class='filtroForm' >
		<label>Usuário</label>
		<select  class="form" name="usuario" placeholder="Usuário"     value='<?php echo  $bi_log_acesso->getUsuario()->getCodigo();?>' valueDefault='<?php echo  $bi_log_acesso->getUsuario()->getCodigo();?>'  >
			<option value=""></option>
			<?php foreach ($listaUsuario  as $umRegistroUsuario){ ?>
					<option value='<?php echo  $umRegistroUsuario->getCodigo(); ?>'><?php echo $umRegistroUsuario->getUsuario(); ?></option>
			<?php } ?>
 		</select>

	</div>
	<div class='filtroForm' >
		<label>Análise</label>
		<select  class="form" name="analise" placeholder="Análise"     value='<?php echo  $bi_log_acesso->getAnalise()->getCodigo();?>' valueDefault='<?php echo  $bi_log_acesso->getAnalise()->getCodigo();?>'  >
			<option value=""></option>
			<?php foreach ($listaAnalise  as $umRegistroNome){ ?>
					<option value='<?php echo  $umRegistroNome->getCodigo(); ?>'><?php echo $umRegistroNome->getNome(); ?></option>
			<?php } ?>
 		</select>

	</div>
	<div class='filtroForm' >
		<label>Página</label>
		<select  class="form" name="pagina" placeholder="Página"     value='<?php echo  $bi_log_acesso->getPagina()->getCodigo();?>' valueDefault='<?php echo  $bi_log_acesso->getPagina()->getCodigo();?>'  >
			<option value=""></option>
			<?php foreach ($listaPagina  as $umRegistroNome){ ?>
					<option value='<?php echo  $umRegistroNome->getCodigo(); ?>'><?php echo $umRegistroNome->getNome(); ?></option>
			<?php } ?>
 		</select>

	</div>
	<div class='filtroForm' >
		<label>Período Data acesso</label><br>
<input class="form mask" style="width: 150px;" name="data_acessoIni" placeholder="00/00/0000 00:00" placeholder="data" data-mask="00/00/0000 00:00" value="<?php echo  $dataAtual->format("d/m/Y")?> 00:00" valuedefault="<?php echo  $dataAtual->format("d/m/Y")?> 00:00" autocomplete="off" maxlength="10"> a <input class="form mask" style="width: 150px;" name="data_acessoFim" placeholder="00/00/0000 00:00" placeholder="data" data-mask="00/00/0000 00:00" value="<?php echo  $dataAtual->format("d/m/Y")?> 23:59" valuedefault="<?php echo  $dataAtual->format("d/m/Y")?> 23:59" autocomplete="off" maxlength="10"><br>
	</div>
 	<!-- fim conteudo-->
 	</div>
 		 <button type="button" class="btnSuccess btnSn"   onclick=" if(filtraDados('formDadosbi_log_acessoFiltro','resultadoBi_log_acesso')) { $('#btn_fechar_filtrobi_log_acesso').prop('disabled',false); $('#btn_fechar_filtrobi_log_acesso').click(); }">Filtrar </button>
 	</div>
 </div> 
 </div> 
</form>
<div style="width: 100%; overflow: auto; position: relative; ">
 <table class="table" id="listtablebi_log_acesso" style="width: 1050px; min-width:100%; margin-bottom: 30px;   position: relative; " >
	<thead>
		<tr class="tableHead">
			<td>Usuário</td>
			<td>Análise</td>
			<td>Página</td>
			<td>Data acesso</td>
		</tr>
	</thead>
	<tbody id="resultadoBi_log_acesso">
	</tbody>
</table>
</div><div class="modal" id="modaleditarbi_log_acesso"> 
<div class="modal_documento modal_largo"> 
	<div class="modal_titulo"> 
		<button class="modal_fechar" fecha-modal="#modaleditarbi_log_acesso"><i class="fa fa-times" aria-hidden="true"></i></button>
	</div>
	<div class="modal_conteudo" id="modal_conteudobi_log_acesso">
	</div>
	<div class="modal_rodape"></div>
</div> 	
</div>

<div id="iniciar_tabulatorbi_log_acesso"></div>

<script>
	iniciar_tabulator("#iniciar_tabulatorbi_log_acesso", "#listtablebi_log_acesso");
</script>
<script src="js/formulario.js"></script>
<script src="js/relatorio.js"> </script>