Path: C:\
<?php
error_reporting(E_ALL);
ini_set('display_errors', 'On');
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");
if (isset($_GET['err'])) {$err=$_GET['err'];}else{$err="";}
?>
<!DOCTYPE html>
<html lang='pt-br'>
<head>
<meta charset='utf-8'/>
<meta http-equiv="pragma" content="no-cache">
<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/style.css" rel="stylesheet" type="text/css" />
<link href="css/estilo.css" rel="stylesheet" type="text/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/jquery.min.js'></script>
</head>
<script type="text/javascript">
function Rateio1(){
window.open('about:blank','Rateio1','toolbar=no, status=no, menubar=no, scrollbars=no, resizable=no, width=200, height=300, top=200, left=2000');
};
function Rateio2(){
window.open('about:blank','Rateio2','toolbar=no, status=no, menubar=no, scrollbars=no, resizable=no, width=600, height=400, top=200, left=300');
};
$(document).ready(function(){
var err = '<?php echo $err;?>';
if(err !== ""){
var audio = new Audio('sound/alerta_x2.mp3');
audio.play();
}
$('#campo').on('keypress',function(event){
if(event.which == 13) {
var ch = document.getElementById('campo').value;
$.ajax({
url: "incompleta.php?ch="+ch,
dataType: "html",
type: 'POST',
data: ch,
success: function(data, textStatus) {
$('ol').append(data);
},
});}
});
});
</script>
<style >
@keyframes neon{
from {filter:drop-shadow(0 0 0px var(--cor-neon));}
to {filter:drop-shadow(0 0 30px var(--cor-neon));}
}
img {animation: neon 1s alternate infinite ease-in-out;}
.alerta{--cor-neon: #ffff00;}
.ok{--cor-neon: #ffffff;}
.botao1 {
background: #01A9DB;
color: white;
border-style: outset;
border-color: #01A9DB;
height: 25px;
width: 90px;
font: bold 15px arial,sans-serif;
text-shadow: none;
}
.botao3 {
background: #04B486;
color: white;
border-style: outset;
border-color: #04B486;
border-radius: 10px;
height: 25px;
width: 90px;
font: bold 15px arial,sans-serif;
text-shadow: none;
}
</style>
<body role='document'>
<div class="container">
<table width="100%">
<tr>
<td width="30%" align="center">
<img src="images/logo.png" width="300" height="80"/>
</td>
<td width="40%" align="center">
<h2><span class="label label-primary"> CONTROLE DE REMESSAS </span></h2>
</td>
<td width="30%" align="center">
<img src="images/EMS1.png" width="300" height="80"/>
</td>
</tr>
<tr height="30" background="images/top-menubg.gif" >
<td colspan='3' align='center'><strong><?php echo $dateadded; ?></strong></td>
</tr>
</table>
<table width="100%">
<tr>
<form method='get' action='pesquisa.php'>
<td align="center" width="33%">
<input type="submit" class="botao3" value="Pesquisa">
</td>
</form>
<form method='post' id="form_um"action='grava.php'>
<td align="center" width="34%">
<input id="campo" type="text" class='form-control' name='ch' required autofocus placeholder="Ler Código de Barras"/>
</td>
</form>
<form method='post' action='index-avulsa.php'>
<td align="center" width="33%">
<input type="submit" class="botao3" value="Avulsa">
</td>
</form>
</tr>
<tr>
<td colspan='3'>
<div id="incompleta">
<?php include_once("incompleta.php"); ?>
</div>
</td>
</tr>
</table>
</div>
</body>
<p class="copyright" align="center">© Copyright 2023 TransWar - Todos os direitos reservados.</p>
<br />
<script src='js/bootstrap.min.js'></script>
</html>