uines 0 Denunciar post Postado Setembro 20, 2010 Olá galera! Bom.. estou com o seguinte problema. tenho um arquivo de relatorio_massa.php onde ele busca informaçoes de algumas tabelas do meu banco ficando assim no url: relatorio_massa.php?COD_CLIENTE=999999&DATA=01-08-2010&DATA2=20-09-2010 Quando clico em um dos valores onde quero altera-lo, abre uma janela popup, e quando faço a alteração preciso que a janela popup se fexe e atualize a pagina relatorio_massa.php com os mesmos valores para mostrar todos relatorios apresentados ja com a alteração. Como faço isso? Compartilhar este post Link para o post Compartilhar em outros sites
William Bruno 1501 Denunciar post Postado Setembro 20, 2010 ai é com javascript cara.. window.opener... ...location.href=''; e window.close(); Compartilhar este post Link para o post Compartilhar em outros sites
Victor Cometti 8 Denunciar post Postado Setembro 20, 2010 achei um exemplo aki form.php <script> function pesquisar(){ //monta a url var pagina = 'popup.php?nome='; var pagina += document.getElementById('nome').value; window.open(pagina);//abre popup } </script> <form> Nome:<input type='text' name='nome' id='nome'><a href='#' onclick=pesquisar();>Pesquisar</a> </form> popup.php <script> function selecionar(nome){ //window.opener acessa a pagina que chamou a popup //passa o nome para a caixa de texto do form window.opener.document.getElementById('nome').value = nome; window.close();//fecha popup } </script> <?php ...... $nome = $_GET['nome']; $sql = mysql_query("select .....where like '{$nome%}'") or die (mysql_error()); while($row = mysql_fetch_assoc($sql)){ echo "Nome: {$row['nome']} <a href='#' onclick=selecionar(\"{$row['nome']}\");>Selecionar</a><br> "; } ?> Compartilhar este post Link para o post Compartilhar em outros sites
uines 0 Denunciar post Postado Setembro 20, 2010 ai é com javascript cara.. window.opener... ...location.href=''; e window.close(); com java eu sei que é.. location.href='formulario_massa.php'; só que ele aparece sem os valores "relatorio_massa.php?COD_CLIENTE=999999&DATA=01-08-2010&DATA2=20-09-2010" Compartilhar este post Link para o post Compartilhar em outros sites
William Bruno 1501 Denunciar post Postado Setembro 20, 2010 mostra o código dessa sua página php.. basta fazer o php, gerar essa string pra você Compartilhar este post Link para o post Compartilhar em outros sites
uines 0 Denunciar post Postado Setembro 20, 2010 mostra o código dessa sua página php.. basta fazer o php, gerar essa string pra você Essa é a pagina que atualiza os dados pagina: altera_tonelada.php <?php require_once('../../Connections/config.php'); ?> <?php // Load the common classes require_once('../../includes/common/KT_common.php'); // Load the tNG classes require_once('../../includes/tng/tNG.inc.php'); // Make a transaction dispatcher instance $tNGs = new tNG_dispatcher("../../"); // Make unified connection variable $conn_config = new KT_connection($config, $database_config); //Start Restrict Access To Page $restrict = new tNG_RestrictAccess($conn_config, "../../"); //Grand Levels: Level $restrict->addLevel("uines"); $restrict->addLevel("alessandro"); $restrict->Execute(); //End Restrict Access To Page // Start trigger $formValidation = new tNG_FormValidation(); $formValidation->addField("DATA", true, "date", "", "", "", "Insira uma data."); $formValidation->addField("COD_CLIENTE", true, "numeric", "", "", "", "Selecione uma empresa."); $formValidation->addField("PLACA", true, "text", "", "", "", "Selecione a placa do caminhão."); $formValidation->addField("TONELADA", true, "text", "", "", "", "Insira o peso de material fornecido."); $tNGs->prepareValidation($formValidation); // End trigger if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? doubleval($theValue) : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } mysql_select_db($database_config, $config); $query_empresas2 = "SELECT * FROM cliente ORDER BY CLIENTE ASC"; $empresas2 = mysql_query($query_empresas2, $config) or die(mysql_error()); $row_empresas2 = mysql_fetch_assoc($empresas2); $totalRows_empresas2 = mysql_num_rows($empresas2); mysql_select_db($database_config, $config); $query_carro1 = "SELECT * FROM carro ORDER BY PLACA ASC"; $carro1 = mysql_query($query_carro1, $config) or die(mysql_error()); $row_carro1 = mysql_fetch_assoc($carro1); $totalRows_carro1 = mysql_num_rows($carro1); mysql_select_db($database_config, $config); $query_Recordset2 = "SELECT * FROM tipo_obra ORDER BY OBRA ASC"; $Recordset2 = mysql_query($query_Recordset2, $config) or die(mysql_error()); $row_Recordset2 = mysql_fetch_assoc($Recordset2); $totalRows_Recordset2 = mysql_num_rows($Recordset2); // Make an update transaction instance $upd_relatorio_massa = new tNG_update($conn_config); $tNGs->addTransaction($upd_relatorio_massa); // Register triggers $upd_relatorio_massa->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Update1"); $upd_relatorio_massa->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation); $upd_relatorio_massa->registerTrigger("END", "Trigger_Default_Redirect", 99, "sucesso.php"); // Add columns $upd_relatorio_massa->setTable("relatorio_massa"); $upd_relatorio_massa->addColumn("DATA", "DATE_TYPE", "POST", "DATA"); $upd_relatorio_massa->addColumn("COD_CLIENTE", "NUMERIC_TYPE", "POST", "COD_CLIENTE"); $upd_relatorio_massa->addColumn("ticket", "NUMERIC_TYPE", "POST", "ticket"); $upd_relatorio_massa->addColumn("PLACA", "STRING_TYPE", "POST", "PLACA"); $upd_relatorio_massa->addColumn("RR_2C", "STRING_TYPE", "POST", "RR_2C"); $upd_relatorio_massa->addColumn("TONELADA", "STRING_TYPE", "POST", "TONELADA"); $upd_relatorio_massa->addColumn("OBRA", "STRING_TYPE", "POST", "OBRA"); $upd_relatorio_massa->setPrimaryKey("COD_RELATORIO_MASSA", "NUMERIC_TYPE", "GET", "COD_RELATORIO_MASSA"); // Execute all the registered transactions $tNGs->executeTransactions(); // Get the transaction recordset $rsrelatorio_massa = $tNGs->getRecordset("relatorio_massa"); $row_rsrelatorio_massa = mysql_fetch_assoc($rsrelatorio_massa); $totalRows_rsrelatorio_massa = mysql_num_rows($rsrelatorio_massa); ?> <!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <!-- calendar stylesheet --> <link rel="stylesheet" type="text/css" media="all" href="jscalendar/calendar-win2k-cold-1.css" title="win2k-cold-1" /> <!-- main calendar program --> <script type="text/javascript" src="jscalendar/calendar.js"></script> <!-- language for the calendar --> <script type="text/javascript" src="jscalendar/lang/calendar-en.js"></script> <!-- the following script defines the Calendar.setup helper function, which makes adding a calendar a matter of 1 or 2 lines of code. --> <script type="text/javascript" src="jscalendar/calendar-setup.js"></script> <link href="../../includes/skins/mxkollection3.css" rel="stylesheet" type="text/css" media="all" /> <script src="../../includes/common/js/base.js" type="text/javascript"></script> <script src="../../includes/common/js/utility.js" type="text/javascript"></script> <script src="../../includes/skins/style.js" type="text/javascript"></script> <?php echo $tNGs->displayValidationRules();?> </head> <body> <?php echo $tNGs->getErrorMsg(); ?> <form method="post" id="form1" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>"> <table cellpadding="2" cellspacing="0" class="KT_tngtable"> <tr> <td class="KT_th"><label for="DATA">DATA:</label></td> <td><input type="text" name="DATA" id="DATA" value="<?php echo KT_formatDate($row_rsrelatorio_massa['DATA']); ?>" size="32" /> <span class="verdana"><img src="jscalendar/img.gif" alt="" id="f_trigger_c" style="cursor: pointer; border: 1px solid red;" title="Date selector" onmouseover="this.style.background='red';" onmouseout="this.style.background=''" /></span> <?php echo $tNGs->displayFieldHint("DATA");?> <?php echo $tNGs->displayFieldError("relatorio_massa", "DATA"); ?></td> </tr> <tr> <td class="KT_th"><label for="COD_CLIENTE">COD_CLIENTE:</label></td> <td><select name="COD_CLIENTE" id="COD_CLIENTE"> <?php do { ?> <option value="<?php echo $row_empresas2['COD_CLIENTE']?>"<?php if (!(strcmp($row_empresas2['COD_CLIENTE'], $row_rsrelatorio_massa['COD_CLIENTE']))) {echo "SELECTED";} ?>><?php echo $row_empresas2['CLIENTE']?></option> <?php } while ($row_empresas2 = mysql_fetch_assoc($empresas2)); $rows = mysql_num_rows($empresas2); if($rows > 0) { mysql_data_seek($empresas2, 0); $row_empresas2 = mysql_fetch_assoc($empresas2); } ?> </select> <?php echo $tNGs->displayFieldError("relatorio_massa", "COD_CLIENTE"); ?></td> </tr> <tr> <td class="KT_th"><label for="ticket">Ticket:</label></td> <td><input type="text" name="ticket" id="ticket" value="<?php echo KT_escapeAttribute($row_rsrelatorio_massa['ticket']); ?>" size="32" /> <?php echo $tNGs->displayFieldHint("ticket");?> <?php echo $tNGs->displayFieldError("relatorio_massa", "ticket"); ?></td> </tr> <tr> <td class="KT_th"><label for="PLACA">PLACA:</label></td> <td><select name="PLACA" id="PLACA"> <?php do { ?> <option value="<?php echo $row_carro1['COD_CARRO']?>"<?php if (!(strcmp($row_carro1['COD_CARRO'], $row_rsrelatorio_massa['PLACA']))) {echo "SELECTED";} ?>><?php echo $row_carro1['PLACA']?></option> <?php } while ($row_carro1 = mysql_fetch_assoc($carro1)); $rows = mysql_num_rows($carro1); if($rows > 0) { mysql_data_seek($carro1, 0); $row_carro1 = mysql_fetch_assoc($carro1); } ?> </select> <?php echo $tNGs->displayFieldError("relatorio_massa", "PLACA"); ?></td> </tr> <tr> <td class="KT_th"><label for="RR_2C">RR_2C:</label></td> <td><input type="text" name="RR_2C" id="RR_2C" value="<?php echo KT_escapeAttribute($row_rsrelatorio_massa['RR_2C']); ?>" size="32" /> <?php echo $tNGs->displayFieldHint("RR_2C");?> <?php echo $tNGs->displayFieldError("relatorio_massa", "RR_2C"); ?></td> </tr> <tr> <td class="KT_th"><label for="TONELADA">TONELADA:</label></td> <td><input type="text" name="TONELADA" id="TONELADA" value="<?php echo KT_escapeAttribute($row_rsrelatorio_massa['TONELADA']); ?>" size="32" /> <?php echo $tNGs->displayFieldHint("TONELADA");?> <?php echo $tNGs->displayFieldError("relatorio_massa", "TONELADA"); ?></td> </tr> <tr> <td class="KT_th"><label for="OBRA">OBRA:</label></td> <td><select name="OBRA" id="OBRA"> <?php do { ?> <option value="<?php echo $row_Recordset2['COD_OBRA']?>"<?php if (!(strcmp($row_Recordset2['COD_OBRA'], $row_rsrelatorio_massa['OBRA']))) {echo "SELECTED";} ?>><?php echo $row_Recordset2['OBRA']?></option> <?php } while ($row_Recordset2 = mysql_fetch_assoc($Recordset2)); $rows = mysql_num_rows($Recordset2); if($rows > 0) { mysql_data_seek($Recordset2, 0); $row_Recordset2 = mysql_fetch_assoc($Recordset2); } ?> </select> <?php echo $tNGs->displayFieldError("relatorio_massa", "OBRA"); ?></td> </tr> <tr class="KT_buttons"> <td colspan="2"><input type="submit" name="KT_Update1" id="KT_Update1" value="Atualizar registro" /></td> </tr> </table> <script type="text/javascript"> Calendar.setup({ inputField : "DATA", // id of the input field ifFormat : "%d-%m-%Y", // format of the input field button : "f_trigger_c", // trigger for the calendar (button ID) align : "Tl", // alignment (defaults to "Bl") singleClick : true }); </script> </form> </body> </html> <?php mysql_free_result($empresas2); mysql_free_result($carro1); mysql_free_result($Recordset2); ?> essa é a pagina para onde deve voltar os valores relatorio_massa.php <?php require_once('../../Connections/config.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? doubleval($theValue) : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } $colname_RELATORIO = "-1"; if (isset($_GET['COD_CLIENTE'])) { $colname_RELATORIO = $_GET['COD_CLIENTE']; } $COLNAME1_RELATORIO = "-1"; if (isset($_GET['DATA'])) { $COLNAME1_RELATORIO = date('Y-m-d', strtotime($_GET['DATA'])); } $COLNAME2_RELATORIO = "-1"; if (isset($_GET['DATA2'])) { $COLNAME2_RELATORIO = date('Y-m-d', strtotime($_GET['DATA2'])); } mysql_select_db($database_config, $config); if($colname_RELATORIO==999999) { $query_RELATORIO = sprintf("SELECT * FROM relatorio_massa,cliente,carro,tipo_obra WHERE relatorio_massa.COD_CLIENTE=cliente.COD_CLIENTE AND relatorio_massa.PLACA=carro.COD_CARRO AND relatorio_massa.OBRA=tipo_obra.COD_OBRA AND relatorio_massa.DATA BETWEEN '$COLNAME1_RELATORIO' AND '$COLNAME2_RELATORIO' ORDER BY relatorio_massa.DATA ASC", /*GetSQLValueString($colname_RELATORIO, "int"),*/GetSQLValueString($COLNAME1_RELATORIO, "int"),GetSQLValueString($COLNAME2_RELATORIO, "int")); }else { $query_RELATORIO = sprintf("SELECT * FROM relatorio_massa,cliente,carro,tipo_obra WHERE relatorio_massa.COD_CLIENTE = %s AND relatorio_massa.COD_CLIENTE=cliente.COD_CLIENTE AND relatorio_massa.PLACA=carro.COD_CARRO AND relatorio_massa.OBRA=tipo_obra.COD_OBRA AND relatorio_massa.DATA BETWEEN '$COLNAME1_RELATORIO' AND '$COLNAME2_RELATORIO' ORDER BY relatorio_massa.DATA ASC", GetSQLValueString($colname_RELATORIO, "int"),GetSQLValueString($COLNAME1_RELATORIO, "int"),GetSQLValueString($COLNAME2_RELATORIO, "int")); } $RELATORIO = mysql_query($query_RELATORIO, $config) or die(mysql_error()); $row_RELATORIO = mysql_fetch_assoc($RELATORIO); $totalRows_RELATORIO = mysql_num_rows($RELATORIO); $colname_SOMA = "-1"; if (isset($_GET['COD_CLIENTE'])) { $colname_SOMA = $_GET['COD_CLIENTE']; } $colname1_SOMA = "-1"; if (isset($_GET['DATA'])) { $colname1_SOMA = date('Y-m-d', strtotime($_GET['DATA'])); } $colname2_SOMA = "-1"; if (isset($_GET['DATA2'])) { $colname2_SOMA = date('Y-m-d', strtotime($_GET['DATA2'])); } mysql_select_db($database_config, $config); if($colname_SOMA==999999) { //relatorio_massa WHERE COD_CLIENTE = %s AND $query_SOMA = sprintf("SELECT sum(TONELADA) FROM relatorio_massa,cliente,carro,tipo_obra WHERE relatorio_massa.COD_CLIENTE=cliente.COD_CLIENTE AND relatorio_massa.PLACA=carro.COD_CARRO AND relatorio_massa.OBRA=tipo_obra.COD_OBRA AND relatorio_massa.DATA BETWEEN '$colname1_SOMA' AND '$colname2_SOMA'", GetSQLValueString($colname_SOMA, "int"),GetSQLValueString($colname1_SOMA, "int"),GetSQLValueString($colname2_SOMA, "int")); } else { $query_SOMA = sprintf("SELECT sum(TONELADA) FROM relatorio_massa WHERE COD_CLIENTE = %s AND DATA BETWEEN '$colname1_SOMA' AND '$colname2_SOMA'", GetSQLValueString($colname_SOMA, "int"),GetSQLValueString($colname1_SOMA, "int"),GetSQLValueString($colname2_SOMA, "int")); } $SOMA = mysql_query($query_SOMA, $config) or die(mysql_error()); $row_SOMA = mysql_fetch_assoc($SOMA); $totalRows_SOMA = mysql_num_rows($SOMA); $colname_SOMA2 = "-1"; if (isset($_GET['COD_CLIENTE'])) { $colname_SOMA2 = $_GET['COD_CLIENTE']; } $colname1_SOMA2 = "-1"; if (isset($_GET['DATA'])) { $colname1_SOMA2 = date('Y-m-d', strtotime($_GET['DATA'])); } $colname2_SOMA2 = "-1"; if (isset($_GET['DATA2'])) { $colname2_SOMA2 = date('Y-m-d', strtotime($_GET['DATA2'])); } mysql_select_db($database_config, $config); if($colname_SOMA2==999999) { //relatorio_massa WHERE COD_CLIENTE = %s AND $query_SOMA2 = sprintf("SELECT sum(RR_2C) FROM relatorio_massa,cliente,carro,tipo_obra WHERE relatorio_massa.COD_CLIENTE=cliente.COD_CLIENTE AND relatorio_massa.PLACA=carro.COD_CARRO AND relatorio_massa.OBRA=tipo_obra.COD_OBRA AND relatorio_massa.DATA BETWEEN '$colname1_SOMA2' AND '$colname2_SOMA2'", GetSQLValueString($colname_SOMA2, "int"),GetSQLValueString($colname1_SOMA2, "int"),GetSQLValueString($colname2_SOMA2, "int")); } else { $query_SOMA2 = sprintf("SELECT sum(RR_2C) FROM relatorio_massa WHERE COD_CLIENTE = %s AND DATA BETWEEN '$colname1_SOMA2' AND '$colname2_SOMA2'", GetSQLValueString($colname_SOMA2, "int"),GetSQLValueString($colname1_SOMA2, "int"),GetSQLValueString($colname2_SOMA2, "int")); } $SOMA2 = mysql_query($query_SOMA2, $config) or die(mysql_error()); $row_SOMA2 = mysql_fetch_assoc($SOMA2); $totalRows_SOMA2 = mysql_num_rows($SOMA2); ?> <?php require_once('config_relatorio.php'); ?> <!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <link href="estilo.css" rel="stylesheet" type="text/css" /> </head> <body topmargin="0" onfocus=""> <table width="100%" class="borda1"> <tr> <td height="21"><table width="100%" border="1" cellspacing="0" class="BORDA2"> <tr> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="26%"><img src="../../images/logo.png" /></td> <td width="74%" class="titulo_obranEGRITO"><p class="TITULORELATORIO">RELATÓRIO DE FORNECIMENTO DE CBUQ<br /> USINA UACF 15 P ME</p></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td height="21"><table width="100%" border="0" cellspacing="0"> <tr> <td><table width="100%" border="1" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000"> <tr class="titulo_obranEGRITO"> <td>DATA</td> <td class="titulo_obranEGRITO">EMPRESA</td> <td class="titulo_obranEGRITO">N° TICKET</td> <td class="titulo_obranEGRITO">PLACA</td> <td class="titulo_obranEGRITO">CBUQ</td> <td class="titulo_obranEGRITO">RR-2C</td> <td class="titulo_obranEGRITO">OBRA</td> <td class="titulo_obranEGRITO">DATA REG.</td> </tr> <?php do { ?> <tr class="verdana"> <td><?php echo date('d/m/Y', strtotime($row_RELATORIO['DATA'])); ?></td> <td class="verdana"><?php echo $row_RELATORIO['CLIENTE']; ?></td> <td class="verdana"><?php echo $row_RELATORIO['ticket']; ?></td> <td class="verdana"><a href="#" onClick="window.open('vercaminhao.php?PLACA=<?php echo $row_RELATORIO['PLACA']; ?>','Janela','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=512,height=400'); return false;"><div class="verdana"><?php echo $row_RELATORIO['PLACA']; ?></div></a></td> <td class="verdana"><a href="#" class="verdana" onclick="window.open('alterar_tonelada.php?COD_RELATORIO_MASSA=<?php echo $row_RELATORIO['COD_RELATORIO_MASSA']; ?>','Janela','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=345,height=250'); return false;"><?php echo number_format($row_RELATORIO['TONELADA'], 3); ?></a></td> <td class="verdana"><?php echo $row_RELATORIO['RR_2C']; ?></td> <td class="verdana"><?php echo $row_RELATORIO['OBRA']; ?></td> <td class="verdanamenor"><?php echo date('d/m/Y h:m:s', strtotime($row_RELATORIO['DATA_REGISTRO'])); ?></td> </tr> <?php } while ($row_RELATORIO = mysql_fetch_assoc($RELATORIO)); ?> </table> <table width="100%" border="0" cellspacing="0" class="BORDA2"> <tr> <td width="50%" class="titulo_obra">TOTAL DE CBUQ FORNECIDO: <span class="TOTAL"> <?php echo number_format($row_SOMA['sum(TONELADA)'], 3); ?></span> (t)<span class="titulo_obra"></span></td> <td width="50%" class="titulo_obra">TOTAL RR-2C: <span class="TOTAL"><?php echo $row_SOMA2['sum(RR_2C)']; ?></span> litro(s)</span></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td height="21"><p align="center" class="rodape">Matriz: Av. São Sebastião, 3257, Bairro Quilombo, Cuiabá-MT CEP 78045-000 Escritório Central: Av. Costa e Silva, 3342 Jardim Monumento, Campo Grande - MS CEP – 79071-390 Telefone (67) 2106-8787 e-mail: engenhariahl@gmail.com</p></td> </tr> </table> </body> </html> <?php mysql_free_result($RELATORIO); mysql_free_result($SOMA); mysql_free_result($SOMA2); ?> Compartilhar este post Link para o post Compartilhar em outros sites