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/dev/modulos/dotacao/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /var/www/html/merenda/dev/modulos/dotacao/projeto.php
<?PHP
    ini_set('display_errors', 'off');
    mysql_select_db($banco, $conexao);
    $rsResult           = mysql_query("SELECT * FROM projativ WHERE prj_desc LIKE '%$ntb%'");
    $rsResult_totalRows = mysql_num_rows($rsResult);
?>
<head>
    <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">
        function excluir_registro(e) {
            if (!confirm('Deseja realmente excluir este registro?')) {
                if (window.event)
                    window.event.returnValue = false; else
                    e.preventDefault();
            }
        }
    </script>
</head>
<!--GRID DA DADOS-->
<?php
    {
        if ($rsResult_totalRows=="0") {
            echo "
            <div class='container text-center'>
            <p class='alert alert-danger' style='font-size: 15px;'>Nenhum projeto/atividade encontrado!</p>
            </div>
            ";
        }
    }
?>
<div id='id_grid' class='container'>
    <p style='font-size: 20px;'>Projeto/atividade | Listagem &nbsp;</p>

    <div class='panel panel-body panel-primary filterable'>
        <!--INCLUIR REGISTRO-->
        <form id="form1" name="form1" id="cad_orgao" method="post" action="?page=./dotacao/projeto_crud&var_acao=cadastrar">
            <div class='panel panel-primary'>
                <div class="panel-body">
                    <div class="col-md-3">
                        N° Proj/ativ<br>
                        <input type="text" name="txt_id" class="form-control lm" required>
                    </div>
                    <div class="col-md-5">
                        Projeto | atividade
                        <input type="text" name="txt_prj" class="form-control lm" required>
                    </div>
                    <div class="col-md-1">
                        Exercício
                        <input type="text" name="txt_exercicio" class="form-control lm" required maxlength="4">
                    </div>
                    <div class="col-md-1">
                        &nbsp;<br>
                        <button type='submit' name='bt_cad_prod' class='btn' title="Adicionar registro">
                            <i class="fa fa-check" title="salvar"></i>
                        </button>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <div class='panel panel-body panel-primary filterable'>
        <table class='tabe1 table table-striped table-hover dt-responsive' cellspacing='0' width='100%' border='0''>
            <thead>
            <tr>
                <th>ID</th>
                <th>Nº Proj/Ativ</th>
                <th>Projeto</th>
                <th>Exercício</th>
                <th></th>
            </tr>
            </thead>
            <tbody>
            <?php
                while ($row_rsResult = mysql_fetch_array($rsResult)) {
                    echo "<tr>";
                    echo "<td>" . $row_rsResult['prj_id'] . "</td>";
                    echo "<td>" . $row_rsResult['prj_codigo'] . "</td>";
                    echo "<td>" . utf8_encode($row_rsResult['prj_desc']) . "</td>";
                    echo "<td>" . $row_rsResult['exercicio'] . "</td>";
                    $id_prj = $row_rsResult['prj_id'];
                    echo "<td><a href='?page=dotacao/projeto_crud&cod_prj=$id_prj&var_acao=excluir'> <em class='fa fa-trash text-red' title='Excluir registro' onclick='excluir_registro(event);'/></a></td>";
                    echo "</tr>";
                }
            ?>
            </tbody>
        </table>
    </div>
</div>
</html>

Anon7 - 2022
AnonSec Team