Viewing file: conta_detalha_arquivo.php (28.37 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// Includes
include("../../config/config.php");
include(INCLUDES . "inc_Funcoes.php");
include(INCLUDES . "inc_Conexao.php");
include(INCLUDES . "valida_usuario.inc.php");
$nivel = '../';
extract($_GET);
/*echo '<pre>';
print_r($_SESSION);
echo '</pre>';
die();*/
//******************************** VERIFICA OS DADOS DE ASSINARA DO USUARIO**********************//
//******************************** VERIFICA OS DADOS DE ASSINARA DO USUARIO**********************//
$cod_usuario = $_SESSION['cod_usuario'];
$sqlDadosAssinatura = "
select ANC_RowID,ANC_Quantidade,ANC_ProxNivel,ANC_Nome
from
FUN_AssinaturaNivel_Contas
INNER JOIN FUN_Assinaturas_Contas ON ASC_NivelContas_DR=ANC_RowID
where
ASC_Contato_DR = '$cod_usuario'";
$dadosAssinatura = executa($sqlDadosAssinatura);
/*
echo '<pre>';
echo $sqlDadosAssinatura;
echo '</pre>';
*/
if (!empty($dadosAssinatura)) {
foreach($dadosAssinatura as $dadosAssinatura) {
$nivel_logado = $dadosAssinatura['ANC_RowID'];
$prox_nivel_logado = $dadosAssinatura['ANC_ProxNivel'];
$qnt_nivel_logado = $dadosAssinatura['ANC_Quantidade'];
$nome_logado = $dadosAssinatura['ANC_Nome'];
}
}
//******************************** FIM VERIFICA OS DADOS DE ASSINARA DO USUARIO******************//
//******************************** FIM VERIFICA OS DADOS DE ASSINARA DO USUARIO******************//
//Verifica se o usuário logado tem autorização para assinar o arquivo de contas
$sql = "select * from FUN_Assinaturas_Contas where ASC_AtivoSN='S'";
//echo("<BR>".$sql."<BR>");
$rs = mysql_query($sql);
while ($dados_usuario = mysql_fetch_assoc($rs)){
$usuarios[] = $dados_usuario["ASC_Contato_DR"];
$array_ASS_RowID[] = $dados_usuario["ASC_RowID"];
}
/*
echo '<pre>';
print_r($usuarios);
echo '</pre>';
*/
if (in_array($cod_usuario,$usuarios)){
$tem_permissao="true";
$aviso = '';
$mostra = true;
} else {
$tem_permissao="false";
$aviso = '<p style="color:#F00; font-weight:bold; text-align:center;">Você não tem permissão para assinar arquivos de pagamentos</p>';
$mostra = false;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Description" content="IRPEN">
<meta name="Keywords" content="">
<meta name="resource-type" content="document">
<meta name="classification" content="Internet">
<meta name="robots" content="all">
<meta name="rating" content="General">
<meta name="Author" content="Ninart! Solucoes para Web.">
<meta name="language" content="pt-br">
<link rel="shortcut icon" href="imagens/favicon.gif"type="image/gif">
<link rel="stylesheet" href="<?= HOST;?>css/irpen.css" type="text/css" />
<link rel="stylesheet" media="all" type="text/css" href="<?= HOST;?>css/menu_dropline.css" />
<!--[if IE]>
<link rel="stylesheet" media="all" type="text/css" href="css/menu_dropline_ie.css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" media="all" type="text/css" href="css/menu_dropline_ie6.css" />
<![endif]-->
<title>IRPEN | Instituto de Registro Civil de Pessoas Naturais do Paraná - 2008</title>
<script type="text/javascript" src="<?= HOST;?>includes/jquery.js"></script>
<script type="text/javascript" src="<?= HOST;?>includes/funcoes.js"></script>
<script type="text/javascript">
function validaSubmit() {
return true;
}
function validaForm(acao,id_conta,tipo,assinador) {
var contaMarcado = 0;
if (acao == 'simular' && !confirm('Confirma a simulação de assinatura em modo de teste?')) {
return false;
}
$('#hdAcao').val(acao);
$('#id_conta_assinar').val(id_conta);
$('#assinador').val(assinador);
if(tipo==1){
$(".chkBox").each(function(){
if (this.checked == true)
contaMarcado++;
});
if (contaMarcado == 0) {
alert('Selecione ao menos uma conta antes de confirmar!');
return false;
}
}
var data = $('#formulario').serialize();
$.post('conta_assina.php', data, function(data){
$('#resultado').html(data);
});
return false;
}
function adiantaPg() {
var contaMarcado = 0;
$(".chkAdiantaPg").each(function(){
if (this.checked == true)
contaMarcado++;
});
if (contaMarcado == 0) {
alert('Selecione ao menos uma conta antes de confirmar!');
return false;
}
var data = $('#formulario').serialize();
$.post('conta_adianta.php', data, function(data){
$('#resultado').html(data);
});
return false;
}
function Rejeitar(id) {
if (id != '') {
mensagem = 'Confirma a Rejeição do Ressarcimento?';
$('#btnClicado').attr('value','aprovar');
}
if(confirm(mensagem)) {
$('#id_conta_assinar').val(id);
var data = $('#formulario').serialize();
$.post('conta_rejeita.php', data, function(data){
$('#resultado').html(data);
});
return false;
}
}
</script>
<style type="text/css">
<!--
.style1 {
color: #666666;
font-weight: bold;
}
-->
</style>
</head>
<body>
<div id="wrap">
<?php include "../topo_gestao.php";?>
<!-- content-wrap starts -->
<div id="content-wrap">
<table width="100%" border="0">
<tr><!--
<td align="left" valign="top" width="20%">
<?php
//Menu do site
//include(DIR_ADMIN . "menu_gestao.php");
?>
</td>
<td align="left" valign="top" bgcolor="#cccccc">
</td>-->
<td align="left" valign="top" bgcolor="#FFFFFF" width="1%">
</td>
<td align="left" valign="top">
<table width="100%" border="0" >
<tr>
<td align="left" valign="top">
<h2>Detalhamento da Conta</h2>
<div id="linha_h2" >
</div>
<div id="corpo">
<form id="formulario" name="form1" method="post" action="" >
<input type="hidden" name="id_conta_assinar" id="id_conta_assinar" value="<?= $_GET['ACO_RowID']?>" />
<input type="hidden" name="hdAcao" id="hdAcao" value="" />
<input type="hidden" name="assinador" id="assinador" value=""/>
<?php
$sql_cabecalho="
SELECT
( select min(date_format(conta1.CON_DataCriacao,'%d/%m/%Y')) from FUN_ContasInternas as conta1
where conta1.CON_ArquivoAssinado_DR = ACO_RowID
) as data_minima,
( select max(date_format(conta2.CON_DataCriacao,'%d/%m/%Y')) from FUN_ContasInternas as conta2
where conta2.CON_ArquivoAssinado_DR = ACO_RowID
) as data_maxima,
( select count(distinct CON_Fornecedor_DR) from FUN_ContasInternas as conta3
where conta3.CON_ArquivoAssinado_DR = ACO_RowID
) as num_fornecedores,
#(
# select (date_format(ACO_DtEnvioBanco,'%d/%m/%Y'))
# from FUN_PagamentoSinteticoAssinado as pgt_ass
# inner join FUN_ArquivoAssinadoContas ON ACO_RowID = pgt_ass.RSA_ArquivoAssinado_DR
# WHERE pgt_ass.RSA_ArquivoAssinado_DR = ACO_RowID
# limit 1
#) as data_liberacao,
ACO_RowID, ACO_NomeArquivo,ACO_Comentario, RSA_ValorTotal, (date_format(ACO_DtEnvioBanco,'%d/%m/%Y')) as data_liberacao
FROM FUN_ArquivoAssinadoContas
INNER JOIN FUN_PagamentoSinteticoAssinado ON RSA_ArquivoAssinado_DR = ACO_RowID
INNER JOIN FUN_Assinaturas_Contas ON ASC_Contato_DR = RSA_Assinaturas_DR
INNER JOIN FUN_AssinaturaNivel_Contas ON ANC_RowID = ASC_NivelContas_DR
WHERE RSA_ArquivoAssinado_DR = '$ACO_RowID'
group by ACO_RowID
ORDER BY ANC_RowID desc ";
$cabecalho = executa($sql_cabecalho);
//echo '<pre>'.$sql_cabecalho.'</pre>';
$totalGeral = 0;
foreach($cabecalho as $cabecalhos) {
?>
<br/><br /> <br/>
<table width="40%" border="0" align="center" cellpadding="2" cellspacing="0" class="tabela">
<tr style="background-color: #CCCCCC; font-weight:bold;">
<th colspan="2" align="center">Resumo Geral dos Pagamentos</th>
</tr>
<tr>
<td >
<strong>Data da liberação:</strong>
</td>
<td>
<?php if($cabecalhos['data_liberacao']=='') echo "----"; else echo ($cabecalhos['data_liberacao']);?>
</td>
</tr>
<tr>
<td >
<strong>PerÃodo inicial:</strong>
</td>
<td>
<?= $cabecalhos['data_minima']?>
</td>
</tr>
<tr>
<td >
<strong>PerÃodo final: </strong>
</td>
<td>
<?= $cabecalhos['data_maxima']?>
</td>
</tr>
<tr>
<td>
<strong>Quantidade de Fornecedores: </strong>
</td>
<td>
<?= $cabecalhos['num_fornecedores']?>
</td>
</tr>
<tr>
<td >
<strong>Valor Total: </strong>
</td>
<td>
<?= $cabecalhos['RSA_ValorTotal']?>
</td>
</tr>
</table>
<?php
}
$sqlDetalhesTipos = "
SELECT
DISTINCT(CON_TipoPagamento_DR),
PAG_RowID, PAG_Nome
FROM FUN_ContasInternas
INNER JOIN FUN_TipoPagamento ON PAG_RowID = CON_TipoPagamento_DR
WHERE CON_AtivoSN = 'S'
AND CON_ArquivoAssinado_DR = '$ACO_RowID'
ORDER BY CON_DataCriacao desc,CON_TipoPagamento_DR
";
$detalhesTipos = executa($sqlDetalhesTipos);
/*
echo '<pre>';
//print_r($detalhesTipos);
echo $sqlDetalhesTipos;
echo '</pre>';
die();
*/
$valorTotal = 0;
$cont = 1;
$total_geral=0;
/*echo "<pre>";
print_r($_SESSION);
echo "</pre>";*/
if ($_SESSION['cod_perfil'] == 2 || $_SESSION['cod_perfil'] == 1) {
//verifica quantas assinaturas existem para a conta em questão
$sqlCount = "
SELECT *
FROM FUN_PagamentoSinteticoAssinado
WHERE RSA_ArquivoAssinado_DR = $ACO_RowID
AND RSA_AtivoSN = 'S'
";
/* echo "<pre>";
print_r($sqlCount);
echo "</pre>";*/
$rsCount = executa($sqlCount);
$totAssinaturas = count($rsCount);
} else {
$totAssinaturas = 0;
}
//echo 'Conta: '.$totAssinaturas.'<br />';
foreach($detalhesTipos as $tipos) {
$idTipo = $tipos['PAG_RowID'];
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="2" class="tabela2">
<tr>
<td colspan="5">Tipo: <?= utf8_decode($tipos['PAG_Nome'])?></td>
</tr>
<tr bgcolor="#CCCCCC">
<th width="4%">Cont</th>
<th width="20%">Fornecedor</th>
<th width="11%">CNPJ</th>
<th>Modalidade Débito</th>
<th width="30%">Histórico</th>
<th width="10%"align="center">Dt. Vencimento</th>
<!--th width="10%"align="center">Dt. Pagamento</th-->
<th width="100" align="center">Valor</th>
<?php if ($totAssinaturas == 2) { ?>
<th>Adiantar</th>
<?php } ?>
<th>Vis.</th>
</tr>
<?php
$sqlContas = "
SELECT
CON_RowID,
CON_TipoPagamento_DR,
FOR_Nome,
FOR_CpfCnpj,
CON_ModDebito,
CON_Historico,
CON_DataVencimento,
CON_DataPagamento,
CON_Valor,
CON_ImgDoc,
COA_RowID
FROM FUN_ContasInternas
INNER JOIN FUN_Fornecedores ON FOR_RowID = CON_Fornecedor_DR
LEFT JOIN FUN_ContaAdiantamento ON COA_Conta_DR = CON_RowID
WHERE CON_AtivoSN = 'S'
AND CON_ArquivoAssinado_DR = '$ACO_RowID'
AND CON_TipoPagamento_DR = $idTipo
ORDER BY FOR_Nome ";
$contas = executa($sqlContas);
/*
echo '<pre>';
echo $sqlContas;
echo '</pre>';
*/
$l = 0;
$cor = array('#FFF','#EEE');
$valorTotal=0;
if (!empty($contas)) {
foreach($contas as $conta) {
?>
<tr style="background-color:<?= $cor[$l%2]?>" onMouseMove="this.style.background='<?= $cor_fundo_lista?>'; this.style.color='<?= $cor_letra_lista?>';" onMouseOut="this.style.background='<?= $cor[$l%2]?>'; this.style.color='#5A5A5A';">
<td align="center"><?= $cont?></td>
<td><?= utf8_decode($conta['FOR_Nome'])?></td>
<td><?= $conta['FOR_CpfCnpj']?></td>
<td align="center">
<!--?=$conta['CON_Referencia']?-->
<?php
if($conta['CON_ModDebito']==1)
echo "Autorização de Retirada";
else if($conta['CON_ModDebito']==2)
echo "Pagamento de Boleto Bancário";
else if($conta['CON_ModDebito']==3)
echo "Transferência Bancária";
else if($conta['CON_ModDebito']==4)
echo "Cheque";
else if($conta['CON_ModDebito']==5)
echo "Depósito Bancário";
else
echo "";
?>
</td>
<td><?= utf8_decode($conta['CON_Historico'])?></td>
<td align="center"><?= arrumaData($conta['CON_DataVencimento'],'mostra')?></td>
<td><div style="float:left; width:15px;">R$</div>
<div style="float:left; width:75px; text-align:right;"><?= number_format($conta['CON_Valor'],2,',','.')?></div></td>
<?php if ($totAssinaturas == 2) { ?>
<td align="center"><input type="checkbox" name="chkAdianta[]" id="chkAdianta" class="chkAdiantaPg" <?= $conta['COA_RowID'] != '' ? 'checked="checked" disabled="disabled"' : ''?> value="<?= $conta['CON_RowID']?>" /></td>
<?php } ?>
<td align="center">
<?php if ($conta['CON_ImgDoc'] != '') { ?>
<a href="documentos/<?= $conta['CON_ImgDoc']?>" target="_blank"><img src="<?= HOST;?>imagens/icones/lupa.gif" border="0" alt="Visualizar Arquivo" /></a>
<?php } else { echo ' ';}?>
</td>
<?php
$l++;
$cont++;
$valorTotal += $conta['CON_Valor'];
$total_geral+= $conta['CON_Valor'];
}
}
?>
<tr>
<td colspan="10"><hr /></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td colspan="5" align="right"><strong>Total <?= $tiposs['PAG_Nome']?>:</strong> </td>
<td colspan="2"><div style="float:left; width:15px;">R$</div>
<div style="float:left; width:75px; text-align:right;"><?= number_format($valorTotal,2,',','.')?></div></td>
<?php if ($totAssinaturas == 2) { ?>
<td colspan="2" align="center"><input type="button" name="btnAdianta" id="btnAdiantar" value="Confirmar" onclick="adiantaPg();" /></td>
<?php } ?>
</tr>
</table>
<?php
} ?>
</br></br>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="2" class="tabela2">
<tr class="header_lista">
<td align="right"><b>Total Geral: R$ <?= number_format($total_geral,2,',','.')?></b></td>
</tr>
</table>
</br></br> </br></br>
<?php
//************************************ PEGA ASSINADORES ATIVOS *************************************//
//************************************ PEGA ASSINADORES ATIVOS *************************************//
//pega todos os assinadores ativos
$sql_assinaturas = "SELECT * FROM FUN_Assinaturas_Contas
inner join FUN_AssinaturaNivel_Contas on ANC_RowID = ASC_NivelContas_DR
WHERE ASC_AtivoSN='S' order by ASC_NivelContas_DR,ASC_RowID";
/*
echo '<pre>';
echo $sql_assinaturas;
echo '</pre>';
*/
$assinaturas = executa($sql_assinaturas);
$i=0;
$contato_atual='';
$nivel_atual='';
if (!empty($assinaturas)) {
foreach($assinaturas as $assinatura) {
$ASC_NivelContas_DR = $assinatura['ASC_NivelContas_DR'];
$ASC_Contato_DR = $assinatura['ASC_Contato_DR'];
$assinaturas='';
$i++;
if($i==1){
?>
<table width="70%" border="0" align="center" cellpadding="0" cellspacing="2" class="tabela2">
<tr bgcolor="#CCCCCC">
<th>Nome do Assinador</th>
<th>Data / hora</th>
<th>Situação</th>
</tr>
<?php
}
if(($contato_atual=='') or ($contato_atual!=$ASC_Contato_DR)){
$contato_atual=$ASC_Contato_DR;
}
if(($nivel_atual=='') or ($nivel_atual!=$ASC_NivelContas_DR)){
$nivel_atual=$ASC_NivelContas_DR;
}
//******************************** PEGA QUEM JA ASSINOU O ARQUIVO *************************//
//******************************** PEGA QUEM JA ASSINOU O ARQUIVO *************************//
$sqlContas2 = "
SELECT ANC_RowID,
ACO_RowID, ACO_NomeArquivo,ACO_Comentario, RSA_ValorTotal,ASC_Nome,ASC_Contato_DR,
ANC_RowID,ANC_Quantidade, ANC_ProxNivel,ANC_Nome,
date_format(RSA_DataHoraAssinatura, '%d/%m/%Y - %H:%i:%s') as RSA_DataHoraAssinatura
FROM FUN_ArquivoAssinadoContas
INNER JOIN FUN_PagamentoSinteticoAssinado ON RSA_ArquivoAssinado_DR = ACO_RowID
INNER JOIN FUN_Assinaturas_Contas ON ASC_Contato_DR = RSA_Assinaturas_DR
INNER JOIN FUN_AssinaturaNivel_Contas ON ANC_RowID = ASC_NivelContas_DR
WHERE
ACO_RowID = '$ACO_RowID'
and ANC_RowID = '$nivel_atual'
AND RSA_AtivoSN='S'
ORDER BY ASC_NivelContas_DR,ASC_RowID desc ";
/*
echo '<pre>';
print_r($sqlContas2);
echo '</pre>';
*/
$assinaturas_feitas = executa($sqlContas2);
if (!empty($assinaturas_feitas)) {
foreach($assinaturas_feitas as $assinaturas_feitas) {
$contato_assinado = $assinaturas_feitas['ASC_Contato_DR'];
$nivel_assinado = $assinaturas_feitas['ANC_RowID'];
if($contato_assinado==$ASC_Contato_DR){
?>
<tr >
<th align="left"><?= $assinatura['ASC_Nome']?></th>
<th><?= $assinaturas_feitas['RSA_DataHoraAssinatura']?></th>
<th>Aprovado</th>
</tr>
<?php
}else
{
//** SE NAO ATINGIU A QUANTIDADE NECESSARIA DE ASSINATURAS MOSTRA OS ASSINADORES PENDENTES **//
//** SE NAO ATINGIU A QUANTIDADE NECESSARIA DE ASSINATURAS MOSTRA OS ASSINADORES PENDENTES **//
$sql_assinatura_nivel ="select count(RSA_RowID)as RSA_RowID , ANC_Quantidade
from FUN_PagamentoSinteticoAssinado
INNER JOIN FUN_Assinaturas_Contas ON ASC_Contato_DR = RSA_Assinaturas_DR
INNER JOIN FUN_AssinaturaNivel_Contas ON ANC_RowID = ASC_NivelContas_DR
AND RSA_AtivoSN='S'
where RSA_ArquivoAssinado_DR = $ACO_RowID
and ANC_RowID = $ASC_NivelContas_DR ";
/*
echo '<pre>';
//print_r($sqlBancos);
print_r($sql_assinatura_nivel);
echo '</pre>';
*/
$assinatura_nivel = executa($sql_assinatura_nivel);
if (!empty($assinatura_nivel)) {
foreach($assinatura_nivel as $assinatura_nivel) {
$RSA_RowID = $assinatura_nivel['RSA_RowID'];
$ANC_Quantidade = $assinatura_nivel['ANC_Quantidade'];
}
}
if($RSA_RowID !=$ANC_Quantidade){?>
<tr >
<th align="left"><?= $assinatura['ASC_Nome']?></th>
<th style="color: #e62b2b">Não aprovado</th>
<th style="color: #e62b2b">Aguardando aprovação</th>
</tr>
<?php
}
//* FIM SE NAO ATINGIU A QUANTIDADE NECESSARIA DE ASSINATURAS MOSTRA OS ASSINADORES PENDENTES *//
//* FIM SE NAO ATINGIU A QUANTIDADE NECESSARIA DE ASSINATURAS MOSTRA OS ASSINADORES PENDENTES *//
}
}
}else{
?>
<tr >
<th align="left"><?= $assinatura['ASC_Nome']?></th>
<th style="color: #e62b2b">Não aprovado</th>
<th style="color: #e62b2b">Aguardando aprovação</th>
</tr>
<?php }
//***************************** FIM PEGA QUEM JA ASSINOU O ARQUIVO *************************//
//***************************** FIM PEGA QUEM JA ASSINOU O ARQUIVO *************************//
}?>
</table>
<?php
}
//*********************************** FIM DO PEGA ASSINADORES ATIVOS ********************************//
//*********************************** FIM DO PEGA ASSINADORES ATIVOS ********************************//
//********* VERIFICA SE O USUARIO LOGADO ESTA NO NIVEL QUE PARA ASSINAR O ARQUIVO EM QUESTÃO ********//
//********* VERIFICA SE O USUARIO LOGADO ESTA NO NIVEL QUE PARA ASSINAR O ARQUIVO EM QUESTÃO ********//
$sql_aut_assinar="
SELECT
ANC_ProxNivel
FROM FUN_ArquivoAssinadoContas
INNER JOIN FUN_PagamentoSinteticoAssinado ON RSA_ArquivoAssinado_DR = ACO_RowID
INNER JOIN FUN_Assinaturas_Contas ON ASC_Contato_DR = RSA_Assinaturas_DR
INNER JOIN FUN_AssinaturaNivel_Contas ON ANC_RowID = ASC_NivelContas_DR
WHERE ACO_SituacaoLB <> 'L'
and ACO_RowID='$ACO_RowID'
AND RSA_AtivoSN='S'
and ASC_AtivoSN = 'S'
ORDER BY ANC_ProxNivel desc limit 1 ";
$aut_assinar = executa($sql_aut_assinar);
if (!empty($aut_assinar)) {
foreach($aut_assinar as $aut_assinar) {
$ANC_ProxNivel_Autorizado = $aut_assinar['ANC_ProxNivel'];
}
}
$pgChamou = $_SERVER['HTTP_REFERER'];
//echo '>>>>>>>'.$pgChamou.'<br />';
if (!strstr($pgChamou,'conta_acompanhamento.php') && !strstr($pgChamou,'conta_libera_sicredi.php')) {
if(($ANC_ProxNivel_Autorizado==$nivel_logado) and (!$ja_assinou)){?>
<br />
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="2" class="tabela2">
<tr>
<td colspan="5" align="center"> </td>
</tr>
<tr>
<td colspan="5" align="center">
<input type="button" onClick="validaForm('simular','<?= $ACO_RowID?>',2,'<?= $cod_usuario?>')" name="simularassinar2" id="simularassinar2" value="Simular Assinar" />
<input type="button" onClick="validaForm('co-assinar','<?= $ACO_RowID?>',2,'<?= $cod_usuario?>')" name="assinar2" id="assinar2" value="Assinar" />
<input type="button" onClick="Rejeitar('<?= $ACO_RowID?>')" name="btn_rejetar" id="btn_rejetar" value="Rejeitar Pagamento" />
</td>
</tr>
<tr>
<td colspan="5" align="center"> </td>
</tr>
</table>
<?php
}
}
$ja_assinou="false";
//********* FIM VERIFICA SE O USUARIO LOGADO ESTA NO NIVEL QUE PARA ASSINAR O ARQUIVO EM QUESTÃO ****//
//********* FIM VERIFICA SE O USUARIO LOGADO ESTA NO NIVEL QUE PARA ASSINAR O ARQUIVO EM QUESTÃO ****//
?>
<br />
<div style="text-align:center">
<input type="button" name="voltar" id="voltar" value="Voltar" onclick="history.go(-1)" />
</div>
</form>
</div>
</td>
</tr>
</table>
<br />
</td>
</tr>
</table>
</div>
<div align="center">
<strong><br />
Rua Mal. Deodoro, 51 - Galeria Ritz - 18º Andar | Fone: (41) 3232-9811 | CEP 80.020-905 - Curitiba - Paraná</strong>
<!-- content-wrap ends-->
</div>
<!-- footer starts -->
<div id="footer-wrap">
</div>
<div id="rodape">
</div>
</div>
<div id="resultado"></div>
</body>
</html>
|