<?php

ini_set('memory_limit', '128M');
include 'funcoes.php';
$teste = new TesteDAO();
$data = $teste->royaltie_inativa((isset($_GET['id']) and is_numeric($_GET['id'])) ? $_GET['id'] : 0, date('Y'));
echo '<html><head><style>
body { 
	margin: 1%; 
	text-align: left; 
	ont-family: Arial;
	font-size: 14px;
	}
table {
	font-family: Arial;
	font-size: 14px;
	width: 100%;
}
table thead tr th, table tfoot tr th {
	font-weight: bold;
	background: #BBB;
	text-align: left;
}
table tbody tr th {
	font-weight: normal;
	text-align: left;
}
th {
	border: solid 1px #DDD;
	padding: 5px;
}
<?php

header("Content-Type: text/html; charset=utf-8", true);
ini_set("session.cache_expire", 3600);
session_start();
if (isset($_GET['estado'])) {
    include 'funcoes.php';
    #require('phpQuery/phpQuery/phpQuery.php');
    include 'webservice-cep/phpQuery-onefile.php';
    $teste = new TesteDAO();
    $teste->faixa_cep($_GET['estado']);
}
Example #3
0
<?php

ini_set('memory_limit', '128M');
include 'funcoes.php';
$teste = new TesteDAO();
$data = $teste->royaltie_mensal('2014-07');
echo '<html><head><style>
body { 
	margin: 1%; 
	text-align: left; 
	ont-family: Arial;
	font-size: 14px;
	}
table {
	font-family: Arial;
	font-size: 14px;
	width: 100%;
}
table thead tr th, table tfoot tr th {
	font-weight: bold;
	background: #BBB;
	text-align: left;
}
table tbody tr th {
	font-weight: normal;
	text-align: left;
}
th {
	border: solid 1px #DDD;
	padding: 5px;
}