| Server IP : 20.75.53.88 / Your IP : 216.73.217.72 [ 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/orgaos/ |
Upload File : |
<?php
/**
* Created by PhpStorm.
* User: ralpb
* Date: 24/08/2017
* Time: 13:54
*/
session_start();
$_login = $_SESSION['login'];
$_cod_usuario = $_SESSION['idsolicitante'];
$orgao = $conn->query("select * from orgaos order by nome_orgao");
?>
<html>
<header>
</header>
<body onsubmit="javascript:showCarga();" style="margin-top: 0px; !important;">
<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;">Órgãos</h4>
<!-- <p class="category">Solicitações</p>-->
</div>
<style>
::-webkit-scrollbar {
width: 1px;
height: 1px;
}
::-webkit-scrollbar-track {
background: #2b176f;
}
::-webkit-scrollbar-thumb {
background: #2b176f;
}
</style>
<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 style="width: 1%;">Codigo</th>
<th>Órgão</th>
<th>Responsável</th>
<th>Telefone</th>
<th style="position: center; width: 1%;"></th>
</tr>
</thead>
<tbody style="font-size: 11px;">
<?php
while ($p = $orgao->fetch(PDO::FETCH_OBJ)) {
echo "<tr>";
echo '<td><span style="font-size: 13px;">' . $p->orgao_id . "</span></td>";
echo "<td><span style='font-size: 13px;'>" . $p->codigo_orgao . "</span></td>";
echo "<td><span style='font-size: 13px;'>" . $p->nome_orgao . "</span></td>";
echo "<td><span style='font-size: 13px;'>" . $p->nome_responsavel . "</span></td>";
echo "<td><span style='font-size: 13px;'>" . $p->fone_responsavel . "</span></td>";
$orgao_id = $p->orgao_id;
echo "<td class='text-center'><a href='?page=orgaos/orgao_e&orgao_id=$orgao_id' class='botao_editar'><i aling='center' class='fa fa-eye' title='Visualizar Solicitações' style='font-size: 15px;'></i></a></td>";
echo "</tr>";
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>
</body>
</html>