Path: C:\
<?php
ini_set('max_execution_time',259200);
ini_set('memory_limit' , '-1' ) ;
date_default_timezone_set('America/Sao_Paulo');
$dateadded = date("d/m/Y -- G:i");
$hoje = date("d/m/Y");
?>
<!DOCTYPE html>
<html lang='pt-br'>
<head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport">
<title>TransWar</title>
<link rel="icon" type="image/png" href="../images/favicon.ico">
<link href="../css/estilo.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="../css/redmond/jquery-ui-1.10.1.custom.css" />
<link href="../css/bootstrap.min.css" rel="stylesheet">
<link href="../css/bootstrap-theme.min.css" rel="stylesheet">
<link href="../css/theme.css" rel="stylesheet">
<link href="../css/signin.css" rel="stylesheet">
<script src="../js/ie-emulation-modes-warning.js"></script>
<script src='../js/jquery-1.10.2.min.js'></script>
<script src='../js/jquery-ui.js' type='text/javascript'></script>
<script src="../js/ie-emulation-modes-warning.js"></script>
<script src="../js/ui.datepicker-pt-BR.js"></script>
<script type="text/javascript">
function Click() {
location.href='FUP.php';
}
function showCarga()
{
document.getElementById('carga').style.display="block";
}
function hideCarga()
{
document.getElementById('carga').style.display="none";
}
$( function() {
$('#dia1').datepicker({ minDate: "-6m"}, $.datepicker.regional[ "pt-BR" ] );
});
</script>
</head>
<body role="document">
<div class="container">
<table width="100%">
<tr>
<td width="40%" align="center"><img src="../images/logo03.png" height="88" /></td>
<td width="60%" align="center"><div class="page-header">
<h2><span class="label label-primary"> Follow-Up </span></h2>
</div></td>
<td><img src="../images/atl.site.logo" width="200" height="50" /></td>
</tr>
<tr>
<td height="30" colspan="3" background="../images/top-menubg.gif" > <?php echo $dateadded; ?></td>
</tr>
</table>
<table class="table" align="center" >
<form id="form" name="form" method="post" action="fupTELA.php" enctype="multipart/form-data" onsubmit="return showCarga(this)">
<!--
<tr>
<td align="center">
<h4>Data Inicial:</h4>
<div id="from">
<input type="text" class='date' name="dia" id="dia1" value="<?php echo $hoje;?>"/>
</div>
</td>
</tr>
!-->
<tr>
<td align="center" >
<input type="submit" name="Data" id="Data" class="button2" value="VIZUALIZAR" />
<div align="center" class="loading" id="carga" >
<img class="imgloading" src="../images/tempo.gif" style="height:30; width:240">
</div>
</td>
</form>
</tr>
<tr>
<td align="center" >
<?php
if (isset($_GET['arquivo'])) {
$arqxlsx=$_GET['arquivo'];
echo '
<div id="alert" align="center">
<strong style="color:red;">Tabela EXCEL criada com sucesso!</strong><br>
<a href="'.$arqxlsx.'" download onclick="Click(this);" style="color:blue;">Tecle AQUI p/ Baixar EXCEL</a>
</div>';}
?>
</td>
</tr>
</table>
<div id="resultados"></div>
</div>
</body>
<p class="copyright" align="center">© Copyright 2018 TransWar - Todos os direitos reservados. Versão 1.0</p>
<br />
<script src="../js/docs.min.js"></script>
<script src="../js/ie10-viewport-bug-workaround.js"></script>
</html>