AnonSec Shell
Server IP : 20.75.53.88  /  Your IP : 216.73.217.138   [ 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/chorozinho/modulos/processos/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /var/www/html/juridico/chorozinho/modulos/processos/honorario_edt.php
<?php
    $id    = $_GET['id'];
    $idend = $_GET['idend'];
    //$conn  = conexao::getInstance();
    $proce = $conn->query("select * from processos WHERE codigo='$id'");
    $a     = $proce->fetch(PDO::FETCH_OBJ);
    //ABAS
    $formah = $conn->query("SELECT * FROM forma_honorarios ORDER BY forma");
    $faseh  = $conn->query("SELECT * FROM fases ORDER BY fase");
    $pet    = $conn->query("select * from honorarios where cod_proc='$id' and codigo='$idend'");
    $h      = $pet->fetch(PDO::FETCH_OBJ);
?>
<script src="js/mascara.js" type="text/javascript"></script>
<div class="panel panel-primary active" style="font-size: 17px;" align="center">
    Honorário | Edição
</div>
<div>
    <a name="anda">
        <form id="form12" name="form12" enctype="multipart/form-data" OnSubmit="showCarga()" id="frm_peticao" method="post" action="?page=processos/info_crud&var=honorario_edt">
            <a name="peticao">
                <!--<input type='hidden' name='codigo' value="--><?php //echo $a->codigo ?><!--"/>-->
                <input type='hidden' name='cod_proc' value="<?php echo $a->codigo ?>"/>
                <input type='hidden' name='codigo' value="<?php echo $h->codigo ?>"/>
                <input type='hidden' name='num_proc' value="<?php echo $a->n_processo ?>"/>
                <input type='hidden' name='cod_cli' value="<?php echo $a->cod_cli ?>"/>
                <input type='hidden' name='situacao' value="0"/>
                <input type='hidden' name='data_pag' value="0"/>
                <input type='hidden' name='valor_pago' value="0"/>
                <input type='hidden' name='cod_usuario' value="0"/>
                <input type='hidden' name='cod_contrato' value="0"/>
                <input type='hidden' name='cod_fat' value="0"/>

                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-6">
                    <a class='j50 link' href="index2.php?page=auxi/forma_cad">
                        <i class='fa fa-plus-circle'></i>&nbsp;Forma</a>&nbsp;&nbsp;
                    <i class='fa fa-refresh' onclick="combo('cod_fase','sel_fase','0')" style="cursor: hand;"></i>
                    <script src="js/index.js"></script>
                    <div id="cod_fase">
                        <select id="cod_forma" name="cod_forma" class="form-control">
                            <?php while ($iformah = $formah->fetch(PDO::FETCH_OBJ)) {
                                if ($h->cod_fase==$iformah->codigo) {
                                    $selected = 'selected';
                                } else {
                                    $selected = '';
                                } ?>
                                <option value="<?php echo $iformah->codigo ?>"<?php echo $selected; ?>><?php echo $iformah->forma ?></option>
                            <?php } ?>
                        </select>
                    </div>
                </div>

                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-6">
                    <a class='j50 link' href="index2.php?page=auxi/fases_cad">
                        <i class='fa fa-plus-circle'></i>&nbsp;Fase</a>&nbsp;&nbsp;
                    <i class='fa fa-refresh' onclick="combo('cod_fase','sel_fase','0')" style="cursor: hand;"></i>
                    <script src="js/index.js"></script>
                    <div id="cod_fase">
                        <select id="cod_fase" name="cod_fase" class="form-control">
                            <?php while ($ifases = $faseh->fetch(PDO::FETCH_OBJ)) {
                                if ($h->cod_fase==$ifases->codigo) {
                                    $selected = 'selected';
                                } else {
                                    $selected = '';
                                } ?>
                                <option value="<?php echo $ifases->codigo ?>"<?php echo $selected; ?>><?php echo $ifases->fase ?></option>
                            <?php } ?>
                        </select>
                    </div>
                </div>
                <div class='col-xs-4 col-sm-2 col-md-2 col-lg-2'>
                    <label for='data_lanc'>Lançamento</label>
                    <input type='date' class='form-control' name='data_lanc' id='data_lanc' value="<?php echo $h->data_lanc ?>"/></div>
                <div class='col-xs-2 col-sm-2 col-md-2 col-lg-2'>
                    <label for='parcela'>Parcela</label>
                    <input type='number' class='form-control' name='parcela' id='parcela' value="<?php echo $h->parcela ?>"/></div>
                <div class='col-xs-6 col-sm-2 col-md-2 col-lg-2'>
                    <label for='valor'>Valor</label>
                    <input type='text' class='form-control' onkeyup="formataValor(this,event);" name='valor' id='valor' value="<?php echo number_format($h->valor, 2, ',', '.') ?>"/>
                </div>
                <div class='col-xs-6 col-sm-2 col-md-2 col-lg-2'>
                    <label for='data_venc'>Vencimento</label>
                    <input type='date' class='form-control' name='data_venc' id='data_venc' value="<?php echo $h->data_venc ?>"/></div>
                <div class='col-xs-6 col-sm-2 col-md-2 col-lg-2'>
                    <label for='percent'>Percentual</label>
                    <input type='number' class='form-control' name='percent' id='percent' value="<?php echo $h->percent ?>"/></div>
                <div class='col-xs-10 col-sm-4 col-md-4 col-lg-4'>
                    <label for='descri'>Descrição</label>
                    <input type='text' class='form-control upper' name='descri' id='descri' value="<?php echo $h->descri ?>"/></div>
<!--                <div class='col-xs-2 col-sm-2 col-md-2 col-lg-2 form-control'>-->
                    <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>
            </a>
        </form>
    </a>
</div>

Anon7 - 2022
AnonSec Team