!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/contas/   drwxr-xr-x
Free 9.36 GB of 93.48 GB (10.02%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     conta_detalhada.php (6.19 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");

    
$pgChamou $_SERVER['HTTP_REFERER'];

    
//echo "<pre>".$pgChamou."</pre>";

    
$nivel '../';

    if (
$_GET['idCon']) {
        
$idCon $_GET['idCon'];
        
$labelBotao 'Alterar';

        
$where "CON_RowID = $idCon";
        
$contas lista('FUN_ContasInternas',$where);

        foreach(
$contas as $conta) {
            
$conta $conta;
        }
        
extract($conta);
        
/*
        echo '<pre>';
        print_r($conta);
        echo '</pre>';
        */

        
if ($_GET['img'] != '')
            
$readonly ' readonly="readonly"';
        else
            
$readonly '';

    } else
        
$labelBotao 'Salvar';

    
$anoAtual date('Y');
?>
<!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&aacute; - 2008</title>
    <link href="../css/estilo2.css" rel="stylesheet" type="text/css" />
</head>

<body>
<p><img src="<?=  HOST;?>imagens/logo.jpg" width="300" /></p>
<table border="0" cellspacing="0" cellpadding="3" width="100%">
    <tr>
        <td align="center" style="background-color:#6070B8; color:#FFF; font-weight:bold;">
                DETALHAMENTO DA CONTA
        </td>
    </tr>
</table>
<div id="corpo">
  <p>
  <table width="70%" border="0" class="tabela" align="center">
      <tr>
        <td colspan="4"><h2>Detalhes da conta selecionada</h2></td>
    </tr>
      <tr>
        <td width="250" align="right">Refer&ecirc;ncia / C&oacute;d. Barras:&nbsp;</td>
        <td colspan="3" align="left">&nbsp;<?= $CON_Referencia?></td>
    </tr>
    <tr>
      <td align="right">N&uacute;mero do Cheque:&nbsp;</td>
      <td colspan="3" align="left">&nbsp;<?= $CON_NumCheque?></td>
    </tr>
      <tr>
        <td align="right">N&uacute;mero do Documento:&nbsp;</td>
        <td colspan="3" align="left">&nbsp;<?= $CON_NumeroDocumento?></td>
      </tr>
      <tr>
        <td align="right">Tipo do Pagamento:&nbsp;</td>
        <td colspan="3" align="left">&nbsp;
        <?php
        $qryTipoPgto 
"
            SELECT PAG_Nome
              FROM FUN_TipoPagamento
             WHERE PAG_RowID = 
$CON_TipoPagamento_DR
        "
;
        
$rsTipoPgto executa($qryTipoPgto);
        if (!empty(
$rsTipoPgto)) {
            foreach(
$rsTipoPgto as $rsTipoPgto)
                
extract($rsTipoPgto);
            echo 
utf8_decode($PAG_Nome);
        }
        
?>
        </td>
      </tr>
      <tr>
        <td align="right">Fornecedor:&nbsp;</td>
      <td colspan="3" align="left">&nbsp;
        <?php
        $qryFornecedor 
"
            SELECT FOR_Nome
              FROM FUN_Fornecedores
             WHERE FOR_RowID = 
$CON_Fornecedor_DR
        "
;
        
$rsFornecedor executa($qryFornecedor);
        if (!empty(
$rsFornecedor)) {
            foreach(
$rsFornecedor as $rsFornecedor)
                
extract($rsFornecedor);
            echo 
$FOR_Nome;
        }
        
?>
      </td>
    </tr>
      <tr>
        <td align="right">Grupos:&nbsp;</td>
        <td colspan="3" align="left">&nbsp;
        <?php
        $qryGrupos 
"
            SELECT GFO_Nome
              FROM FUN_GruposFornecedores
             WHERE GFO_RowID = 
$CON_Grupo_DR
        "
;
        
$rsGrupos executa($qryGrupos);
        if (!empty(
$rsGrupos)) {
            foreach(
$rsGrupos as $rsGrupos)
                
extract($rsGrupos);
            echo 
$GFO_Nome;
        }
        
?>
      </td>
      </tr>
      <tr>
        <td align="right">Hist&oacute;rico:&nbsp;</td>
        <td colspan="3" align="left">&nbsp;
      <?= $CON_Historico?>
      </td>
    </tr>
     <tr>
        <td align="right">Data Vencimento:&nbsp;</td>
        <td colspan="3" align="left">&nbsp;
      <?= ($CON_DataVencimento != '') ? arrumaData($CON_DataVencimento,'mostra') : ''?>
      </td>
    </tr>
      <tr>
        <td align="right" width="250">Data de Prefer&ecirc;ncia para pagamento:&nbsp;</td>
        <td colspan="3" align="left">&nbsp;
     <?php
        
if(($CON_DataPrefPagamento != '') && ($CON_DataPrefPagamento != '0000-00-00')) {
            echo 
arrumaData($CON_DataPrefPagamento,'mostra');
        } else {
           echo 
'';
        }
      
?>
      </td>
      </tr>
      <tr>
        <td align="right">Valor:&nbsp;</td>
        <td colspan="3" align="left">&nbsp;R$&nbsp;<?= ($CON_Valor != '') ? number_format($CON_Valor,2,',','') : ''?></td>
      </tr>
    <tr>
        <td align="right">Modalidade de D&eacute;bito:&nbsp;</td>
        <td colspan="3" align="left">&nbsp;
      <?php
        
if($CON_ModDebito==1)
           echo 
"Autoriza&ccedil;&atilde;o de Retirada";
        else if(
$CON_ModDebito==2)
           echo 
"Pagamento de Boleto Banc&aacute;rio";
        else if(
$CON_ModDebito==3)
           echo 
"Transfer&ecirc;ncia Banc&aacute;ria";
        else if(
$CON_ModDebito==4)
           echo 
"Cheque";
        else if(
$CON_ModDebito==5)
           echo 
"Dep&oacute;sito Banc&aacute;rio";
      
?>
      </td>
    </tr>
  </table>
<p><center><input type="button" name="btnFechar" id="btnFechar" value="Fechar" onClick="window.close()" /></center></p>
</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.0042 ]--