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/merenda/mnova20/modulos/movimento/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /var/www/html/merenda/mnova20/modulos/movimento/esc_entradas_edt.php
<?php
    /**
     * Criado por PhpStorm.
     * Projeto: SGAE.
     * Arquivo: entradas_edt.php.
     * Usuário: RalpAlves
     * Data: 14/10/2015
     * Hora: 12:23
     */
    mysql_select_db($banco, $conexao);
    $cod_id   = $_GET['cod_id'];
    $esc_tipo = $_GET['esc_tipo'];
    $cod_rem  = $_GET['cod_rem'];
    $rsResult = mysql_query("SELECT * FROM v_lista_escola_remessa where esc_id=$cod_id");
    $row      = mysql_fetch_array($rsResult);
    $rsItens  = mysql_query("SELECT * FROM v_lista_escola_remessa_item where esi_rms_id=$cod_rem and esi_tipo='$esc_tipo'");
    $ioc      = mysql_fetch_array($rsResult);
?>
<head xmlns="http://www.w3.org/1999/html">
    <script type="text/javascript">
        $(document).ready(function () {
            $('#tabela').DataTable({
                "pagingType": "full_numbers",                 "lengthMenu": [[8, 25, 50, -1], [8, 25, 50, "Todos"]], stateSave: true, "oLanguage": {
                    "sProcessing": "Processando. Aguarde...",
                    "sLengthMenu": "Mostrar  _MENU_  registros",
                    "sZeroRecords": "NENHUM REGISTRO ENCONTRADO!",
                    "sInfo": "Mostrando _START_ até _END_ de _TOTAL_ registros",
                    "sInfoEmpty": "Mostrando 0 até 0 de 0 registros",
                    "sInfoFiltered": "(de _MAX_ registros no total)",
                    "sInfoPostFix": "",
                    "sSearch": "<em class='fa fa-search' title='pesquisar'></em>",
                    "sUrl": "",
                    "oPaginate": {
                        "sFirst": "<em class='fa fa-angle-double-left' title='primeiro registro'>",
                        "sPrevious": "<em class='fa fa-arrow-circle-left' title='registro anterior'></em>",
                        "sNext": "<em class='fa fa-arrow-circle-right' title='próximo registro'></em>",
                        "sLast": "<em class='fa fa-angle-double-right ' title='último registro'>"
                    }
                }
            });
        });
    </script>
    <script type="text/javascript" language="javascript">
        function atualiza(codCon) {
            var Qtd = document.getElementById('vqtd' + codCon).value;
            $.ajax({
                type: "GET", url: './modulos/movimento/ordcompra_insitem.php?qtd=' + Qtd + '&codcon=' + codCon, dataType: "html", success: function (resultado) {
                    $('#LicCont').html(resultado);
                    //alert(resultado)
                }

            });
            //alert ('Quantidade: ' + Qtd + ' do produto: ' + codCon + ' adicinada com sucesso!');
            //location.reload ();
        }
    </script>

</head>
<div class="container panel-body">
    <div class="panel panel-info">
        <div class="panel-heading">
            <h3 class="panel-title">
                <button type="submit" id="#sign-up" name="bt_novo" class="btn botao_esquerda" onClick="location.href='?page=movimento/esc_entradas'"><span class="glyphicon
                    glyphicon-arrow-left"
                                                                                                                                                                    title="voltar"
                    /></button>
                <span style="font-size:20px;">&nbsp;&nbsp;Almox.Escolas - Entradas | Produtos</span>
            </h3>
        </div>
        <div class="row">
            <div class=" col-md-12 col-lg-12 col-xs-12">
                <table class="table table-user-information">
                    <tbody>
                    <tr>
                        <td><b>ID:</b></td>
                        <?php echo "<td>" . $row['esc_id'] . "</td>" ?>

                        <td><b>Escola:</b></td>
                        <?php echo "<td>" . utf8_encode($row['esc_nome']) . "</td>" ?>
                    </tr>
                    <tr>
                        <td><b>Programa:</b></td>
                        <?php echo "<td>" . $row['prg_programa'] . "</td>" ?>

                        <td><b>Cardápio:</b></td>
                        <?php
                            if ($row['esc_cdp_id']==0) {
                                echo "<td>REMESSA AVULSA</td>";
                            } else {
                                echo "<td>" . utf8_encode($row['cdp_nmcardapio']) . "</td>";
                            }
                        ?>
                    </tr>
                    <tr>
                        <td><b>Data:</b></td>
                        <?php echo "<td>" . $row['esc_data'] . "</td>" ?>

                        <td><b>Exercício:</b></td>
                        <?php echo "<td>" . $row['esc_exercicio'] . "</td>" ?>
                    </tr>
                    <tr>
                        <td><b>Tipo:</b></td>
                        <?php echo "<td>" . $row['esc_tipo'] . "</td>" ?>

                        <td><b>Período</b></td>
                        <?php echo "<td>" . $row['esc_dtinic'] . " a " . $row['esc_dtfim'] . "</td>" ?>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div id="lista">
        <div class='panel panel-body panel-primary'>
            <form id='frm_pesq' method='post'>
                <table class='tabe1 table table-striped table-hover dt-responsive' cellspacing='0' width='100%' border='0''>
                    <thead>
                    <tr>
                        <th>ID</th>
                        <th>Produto</th>
                        <th class="centro">Und.</th>
                        <th class="direita">Quant.</th>
                    </tr>
                    </thead>
                    <tbody>
                    <?php
                        while ($row = mysql_fetch_array($rsItens)) {
                            echo "<tr>";
                            echo "<td>" . $row['esi_id'] . "</td>";
                            echo "<td>" . utf8_encode($row['pro_produto']) . "</td>";
                            echo "<td class='centro'>" . $row['und_desc'] . "</td>";
                            echo "<td class='direita'>" . $row['esi_pro_qtd'] . "</td>";
                            echo "</tr>";
                        }
                    ?>
                    </tbody>
                </table>
            </form>
        </div>
    </div>
</div>

Anon7 - 2022
AnonSec Team