!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/var/www/html/admin/boletos/   drwxr-xr-x
Free 9.35 GB of 93.48 GB (10%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     boleto_cancelamento_manual.php (11.34 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    
#############################################################################
    # Nome: contato.php                                                         #
    # System: Irpen                                                             #
    # Criado por: Breno Henrique Vivarelli                                      #
    # Empresa: Netnigro                                                         #
    # E-mail: breno@netnigro.com.br                                             #
    # Descrição: Contatos dos associados com o IRPEN                            #
    # Histórico:                                                                #
    #    . 08/07/2008 - Breno Henrique Vivarelli                                #
    #            Criação da Página                                              # 
    #############################################################################  
    
    // Includes
    
include("../../config/config.php");
    include(
INCLUDES "conexaoBD.php");
    include(
INCLUDES "sentencas_sql.php");
    include(
INCLUDES "funcoes_uteis.php");
    include(
INCLUDES "valida_usuario.inc.php");
    require_once(
"boletos_class.php");
    
    
$nome  $_SESSION["nome_usuario"];
    
$email $_SESSION["email_usuario"];
    
    if (
$_POST) {
        
$num_boleto  $_POST['txtNumBoleto'];
        
$justificativa $_POST['txtJustificativa'];
        
        
$boletos = new Boletos();
        if (
$boletos->cancelarBoletoMensalidade($num_boleto,$justificativa)) {
            
$msg "Boleto/mensalidade cancelados com sucesso!";
        }
        else
            
$msg "Falha ao cancelar o boleto/mensalidade!";
    }
?>
<!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-1.2.6.js"></script>
    <script type="text/javascript" src="<?=  HOST;?>includes/jquery.form.js"></script>
    <script type="text/javascript" language="javascript">
        <?php if ($msg != "") { ?>
        alert("<?= $msg;?>");
        <?php ?>
        
        function get_valor(conteudo,tag) {
            var abre_tag = "<"+tag+">";
            var fecha_tag = "</"+tag+">";
            var inicio = conteudo.indexOf(abre_tag);
            var fim = conteudo.indexOf(fecha_tag);
            var tam_tag = tag.length;
            
            return conteudo.substr(inicio + tam_tag + 2,fim - inicio - tam_tag - 2);
        }
    
        var ultimo_boleto_verificar = 0;
        var fazer_submit = 0;
        var boleto_ok = 0;
        
        function verifica_boleto(){
            var num_boleto = $('#txtNumBoleto').val();
            if (num_boleto != ultimo_boleto_verificar) {
                $('#tr_dados_boleto').fadeOut('fast');
                $.ajax({
                    type: "POST",
                    url: "boleto_dados_ajax.php",
                    data: "num_boleto=" + num_boleto,
                    success: function(retorno){
                        if (parseInt(retorno) != 0) {
                            $('#td_oficio').text(get_valor(retorno,'OFI_Descricao'));
                            $('#td_mes_ano_referencia').text(get_valor(retorno,'SRM_MesReferencia') + '/' + get_valor(retorno,'SRM_AnoReferencia'));
                            $('#td_valor').text(get_valor(retorno,'SRM_Valor'));
                            $('#td_cidade_estado').text(get_valor(retorno,'CID_Descricao') + '/' + get_valor(retorno,'OFI_Estado'));
                            
                            if (get_valor(retorno,'SVB_PagoSN')=='S')
                                $('#td_situacao').text('Pago (' + get_valor(retorno,'SVB_DataPagamento') + ')');
                            else
                                $('#td_situacao').text('Pendente');
                            
                            $('#tr_dados_boleto').fadeIn('fast');
                            $('.tr_cancelar').fadeIn('fast');
                            boleto_ok = 1;
                        }
                        else {
                            alert("Boleto não encontrado!");
                            $('.tr_cancelar').fadeOut('fast');
                            boleto_ok = 0;
                        }
                    }
                });
                ultimo_boleto_verificar = num_boleto;
            }
        }
        
        $(document).ready(function(){
            $('#btn_verificar').click(function() {
                verifica_boleto();
            });
            
            $('#txtNumBoleto').blur(function(){
                verifica_boleto();
            });
            
            $("#formpagto").submit(function(){
                if (document.getElementById('txtNumBoleto').value=="") {
                    alert('Favor preencher o número do boleto!');
                    return false;
                }
                
                if (boleto_ok == 0) {
                    alert('Número do boleto não encontrado!');
                    return false;
                }

                var num_boleto = $('#txtNumBoleto').val();
                if (num_boleto != ultimo_boleto_verificar) {
                    fazer_submit = 1;
                    verifica_boleto();
                    return false;
                }
                
                if (confirm("Confirmar o cancelamento deste boleto?"))
                    return true;
                else
                    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">&nbsp;
                    </td>-->
                    <td align="left" valign="top" bgcolor="#FFFFFF" width="1%">&nbsp;
                    </td>
                    <td align="left" valign="top">            
                        <table width="100%" border="0" >
                            <tr>
                                <td align="left" valign="top">
                                    <h2>Cancelar boletoemitido</h2>
                                    <div id="linha_h2" ></div> 
                                    <form action="" method="post" id="formpagto">
                                        <table width="98%" border="0" align="center">     
                                            <tr>
                                                <td align="left" valign="top" colspan="2">&nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td width="35%" height="20" align="right">N&uacute;mero do boleto:</td>
                                                <td width="65%" height="20" align="left"><input name="txtNumBoleto" type="text" id="txtNumBoleto" size="13" />&nbsp;<input type="button" value="Verificar" id="btn_verificar" /></td>
                                            </tr>
                                            <tr id="tr_dados_boleto" style="display:none;">
                                                <td colspan="2" align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td colspan="2" align="center">Dados do boleto </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="35%" align="right">Of&iacute;cio:</td>
                                                        <td width="65%" align="left" id='td_oficio'>&nbsp;</td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">Mes/Ano de refer&ecirc;ncia: </td>
                                                        <td align="left" id="td_mes_ano_referencia">&nbsp;</td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">Valor:</td>
                                                        <td align="left" id="td_valor">&nbsp;</td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">Cidade/Estado:</td>
                                                        <td align="left" id="td_cidade_estado">&nbsp;</td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">Situa&ccedil;&atilde;o:</td>
                                                        <td align="left" id="td_situacao">&nbsp;</td>
                                                    </tr>
                                                </table></td>
                                            </tr>
                                            <tr class='tr_cancelar' style="display:none;">
                                                <td align="right">Justificativa:</td>
                                                <td align="left"><textarea name="txtJustificativa" cols="30" rows="4" id="txtJustificativa"></textarea></td>
                                            </tr>
                                            <tr class='tr_cancelar' style="display:none;">
                                                <td height="20" colspan="2" align="center"><input name="btnConfirmar" type="submit" id="btnConfirmar" value="Confirmar" /></td>
                                            </tr>
                                        </table>
                                    </form>       
                                </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>
</body>
</html>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0054 ]--