示例#1
0
文件: result.php 项目: hexti/troncal
<?php

include_once '../../includes.sys/ini.php';
include_once '../../includes.sys/metodos.php';
include_once '../../medicao/DAO/AcompanhamentoDAO.php';
include_once '../../medicao/Acompanhamento.class.php';
include_once '../DAO/MedicaoOPRDAO.php';
include "../../lib/libchart/libchart/classes/libchart.php";
$acompanhamento = new Acompanhamento();
$DAO = new AcompanhamentoDAO();
$char_bar = new VerticalBarChart();
$medicao = new MedicaoOPR();
$acompanhamento->setAno($_POST['ano']);
$acompanhamento->setGrupo($_POST['grupo']);
$acompanhamento->setRemuneracao($_POST['remuneracao']);
$acompanhamento->setReembolso($_POST['reembolso']);
$acompanhamento->setGrafico($_POST['grafico']);
$query = "SELECT *, SUM(remuneracao), SUM(reembolso) FROM " . MYSQL_BASE_MEDICAO_ACOMPANHAMENTO . " WHERE principal = 'S' AND grupo IN (" . $acompanhamento->getGrupo() . ")";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Cons&oacute;rcio Troncal - Bel&eacute;m (OPR)</title>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15" />
	<style> 
	.FonteTexto{
	font-size: 10px;
	
	}
	 </style>
</head>