<?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();
?>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="cache-control" content="max-age-0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<title></title>
<link rel="stylesheet" href=<?php echo "http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/".substr(substr($_SERVER['REQUEST_URI'], 1), 0, strpos(substr($_SERVER['REQUEST_URI'], 1), '/'))."/phone_gap/jqmobile/jquery.mobile.structure-1.4.5.min.css?ver=".$dados->getVersao(); ?>>
<link rel="stylesheet" href=<?php echo "http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/".substr(substr($_SERVER['REQUEST_URI'], 1), 0, strpos(substr($_SERVER['REQUEST_URI'], 1), '/'))."/phone_gap/jqmobile\jquery.mobile.theme-1.4.5.min.css?ver=".$dados->getVersao(); ?>>
<link rel="stylesheet" href=<?php echo "http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/".substr(substr($_SERVER['REQUEST_URI'], 1), 0, strpos(substr($_SERVER['REQUEST_URI'], 1), '/'))."/phone_gap/jqmobile\jquery.mobile.icons-1.4.5.css?ver=".$dados->getVersao(); ?>>


<script src=<?php echo "http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/".substr(substr($_SERVER['REQUEST_URI'], 1), 0, strpos(substr($_SERVER['REQUEST_URI'], 1), '/'))."/phone_gap/jqui\jquery.js?ver=".$dados->getVersao(); ?>></script>
<script src=<?php echo "http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/".substr(substr($_SERVER['REQUEST_URI'], 1), 0, strpos(substr($_SERVER['REQUEST_URI'], 1), '/'))."/phone_gap/jqmobile\jquery.mobile-1.4.5.min.js?ver=".$dados->getVersao(); ?>></script>

<script src=<?php echo "http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/".substr(substr($_SERVER['REQUEST_URI'], 1), 0, strpos(substr($_SERVER['REQUEST_URI'], 1), '/'))."/phone_gap/dadosJS.js?ver=".$dados->getVersao(); ?>></script>

<link rel="stylesheet" type="text/css" href=<?php echo "http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/".substr(substr($_SERVER['REQUEST_URI'], 1), 0, strpos(substr($_SERVER['REQUEST_URI'], 1), '/'))."/phone_gap/jqui/mobipick.css?ver=".$dados->getVersao(); ?> />
<script src=<?php echo "http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/".substr(substr($_SERVER['REQUEST_URI'], 1), 0, strpos(substr($_SERVER['REQUEST_URI'], 1), '/'))."/phone_gap/jqui/xdate.js?ver=".$dados->getVersao(); ?>></script>
<script src=<?php echo "http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/".substr(substr($_SERVER['REQUEST_URI'], 1), 0, strpos(substr($_SERVER['REQUEST_URI'], 1), '/'))."/phone_gap/jqui/xdate.i18n.js?ver=".$dados->getVersao(); ?>></script>
<script src=<?php echo "http://".$_SERVER['SERVER_NAME'].":".$_SERVER['SERVER_PORT']."/".substr(substr($_SERVER['REQUEST_URI'], 1), 0, strpos(substr($_SERVER['REQUEST_URI'], 1), '/'))."/phone_gap/jqui/mobipick.js?ver=".$dados->getVersao(); ?>></script>

<style>
	table{
		font-size:10px;
	}
	.ui-loader2 {
		display:block;
		z-index:9999999;
		position:fixed;
		top:50%;
		left:50%;
		margin-top:-10px;
		margin-left:-25px;
		border:0
	}
	.ui-loader2 .ui-icon-loading {
		background-color:#000;
		display:block;
		margin:0;
		width:2.75em;
		height:2.75em;
		padding:.0625em;
		-webkit-border-radius:2.25em;
		border-radius:2.25em
	}
</style>