| 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/cmbeberibe/ |
Upload File : |
<?php
/**
* Created by PhpStorm.
* User: ralpb
* Date: 24/08/2017
* Time: 13:54
*/
session_start();
$_login = $_SESSION['login'];
$_cod_usuario = $_SESSION['idsolicitante'];
$solicitacao = $conn->query("select * from v_lista_solicitacao where idsolicitante='$_cod_usuario' order by datasolicitacao desc");
?>
<html>
<header>
</header>
<body onsubmit="javascript:showCarga();" style="margin-top: 0px; !important;">
<?php //echo $a->AlertaOk('Aqui você encontra as informações sobre suas solicitações') ?>
<!--<section class="content-header">-->
<!-- <h1>-->
<!-- SIAC-->
<!-- <small>Painel de controle</small>-->
<!-- </h1>-->
<!--</section>-->
<section class="">
<!-- INFORMACOES -->
<div class="row">
<div class="col-md-12 hidden-xs">
<div class="card">
<div class="card-content col-md-6">
<h4 class="title"><?php if (isset($sol)) {
echo $sol->idsolicitante . '-' . strtoupper($sol->nome);
} ?></h4>
<p class="category">CPF: <?php echo $sol->cpfcnpj ?></p>
</div>
<div class="card-content col-md-6">
<h4 class="title">Telefone: <?php echo $sol->dddtelefone . '-' . $sol->telefone ?></h4>
<p class="category">E-Mail: <?php echo $sol->email ?></p>
</div>
</div>
</div>
<div class="col-md-12">
<div class="card">
<div class="card-header" style="background-color: #605CA8; !important;">
<h4 class="title" style="color: white;">Solicitações</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="example" class="table table-bordered table-responsive table-hover">
<thead style="font-size: 11px;">
<tr>
<th>Protocolo</th>
<th>Módulo</th>
<th>Solicitação</th>
<th>Situação</th>
<th>Data</th>
<th>Previsão</th>
<th style="width: 1%;"></th>
</tr>
</thead>
<tbody>
<?php
while ($p = $solicitacao->fetch(PDO::FETCH_OBJ)) {
echo "<tr>";
echo "<td><strong style='font-size: 14px;'>" . $p->numprotocolo . "</strong></td>";
echo "<td class='text-center'>" . $p->modulo . "</td>";
echo "<td class='text-center'>" . $p->razao . "</td>";
if ($p->situacao=='R') {
echo "<td style='color: #0fc473'><strong>RESPONDIDA</strong></td>";
}
if ($p->situacao=='A') {
echo "<td style='color: #e7a34f'><strong>ABERTA</strong></td>";
}
if ($p->situacao=='T') {
echo "<td style='color: #2d84d2'><strong>TRAMITANDO</strong></td>";
}
if ($p->situacao=='N') {
echo "<td style='color: #d4334b'><strong>NEGADO</strong></td>";
}
if ($p->situacao=='L') {
echo "<td style='color: #2b176f'><strong>LIDA</strong></td>";
}
if ($p->situacao=='P') {
echo "<td style='color: #b73ad3'><strong>PRORROGADO</strong></td>";
}
echo "<td>" . date('d/m/Y', strtotime($p->datasolicitacao)) . "</td>";
echo "<td>" . date('d/m/Y', strtotime($p->dataprevisaoresposta)) . "</td>";
$idsolicitacao = $p->idsolicitacao;
$idsolicitante = $sol->idsolicitante;
echo "<td class='text-center'><a href='?page=solicitacao/solicitacao_e&idsolicitacao=$idsolicitacao&idsolicitante=$idsolicitante' 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 class="container">-->
<!-- <h5 class="pull-right" style="color: #493077; padding-right: 3%;">Plataforma tecnológica --><?php //echo $cfg->nomeremetenteemail ?><!--</h5>-->
<!-- </div>-->
</div>
<!-- END GRAFICO -->
</section>
<!--<script>-->
<!-- $(document).ready(function () {-->
<!-- $('#summernote').summernote();-->
<!-- });-->
<!--</script>-->
<div vw class="enabled">
<div vw-access-button class="active"></div>
<div vw-plugin-wrapper>
<div class="vw-plugin-top-wrapper"></div>
</div>
</div>
<script src="https://vlibras.gov.br/app/vlibras-plugin.js"></script>
<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>
</body>
</html>