<?php
	$dir = $_SERVER['DOCUMENT_ROOT']."/".substr(substr($_SERVER['REQUEST_URI'], 1), 0, strpos(substr($_SERVER['REQUEST_URI'], 1), '/'))."/phone_gap/";
	require_once($dir."/classes/Dados.class.php");
	$dados = new Dados();
	
	echo '<script src="ultimaintegracao/ultimaintegracao.js?ver='.$dados->getVersao().'"></script>';
?>

<div data-role="page" data-theme="b" data-control-title="Home"  id="ultimaintegracao" class="verifica-login">
	<div  data-role="header" data-position="fixed" data-position="fixed">
		<h3 class="ui-title" role="heading" aria-level="1" id="tituloultimaintegracao">
			Última integração
		</h3>
		<a href="#home" data-role="button" data-direction="reverse"  data-transition="slide" class="ui-btn ui-shadow ui-corner-all ui-btn-icon-left ui-icon-back">
			Voltar
		</a>
	</div>
    
	<div data-role="content" id="divtabelaultimaintegracao" class="conteudo">
		<table data-role="table" id="tabelaultimaintegracao" data-mode="columntoggle" class="ui-body-d ui-shadow table-stripe ui-responsive" data-column-btn-theme="b" data-column-btn-text="Colunas" data-column-popup-theme="b" style="text-align: center;" >
			<thead>
			  <tr class="ui-bar-d">
				<th>Vendedor</th>
                <th>Data / Hora Ult. integração</th>
			  </tr>
			</thead>
			<tbody>
			</tbody>
		</table>
	</div>
</div>