Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (!isset($_SESSION)) session_start();
- if (!isset($_SESSION['s_login'])) {
- session_destroy();
- header("Location:logout.php"); exit;
- }
- $VarID = $_SESSION['s_id'];
- $VarLogin = $_SESSION['s_login'];
- $VarNome = $_SESSION['s_nome'];
- $VarNivel = $_SESSION['s_nivel'];
- ?>
- <?php echo "SEJA BEM VINDO <strong>$VarNome</strong> - AREA DE GERENCIAMENTO DE GUIAS DE ENCAMINHAMENTOS"; ?>
- <br>
- <html lang="pt-br">
- <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>REGULA ESPECIALIDADE</title>
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
- <link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css">
- <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
- <script src="js/jquery.dataTables.min.js"></script>
- <script type="text/javascript" language="javascript">
- $(document).ready(function() {
- $('#listar-usuario').DataTable({
- "processing": true,
- "serverSide": true,
- "ajax": {
- "url": "pes_doc.php",
- "type": "POST"
- }
- });
- } );
- </script>
- </head>
- <body bgcolor="#3gftsh">
- <center><h3 color="red">Lista de Guias de Encaminhamento</h1></center>
- <table id="listar-usuario" class="display" style="width:98%">
- <thead>
- <tr>
- <th>#</th></th>
- <th>data</th></th>
- <th>Hora</th></th>
- <th>Código SIS</th>
- <th>Nome</th>
- <th>Data de Nasc.</th>
- <th>Prioridade</th>
- <th>Especialidade</th>
- <th>Data da Guia</th>
- <th>Justificativa</th>
- <th>CID</th>
- <th>Unidade</th>
- <th>Preenchido por:</th>
- <th>Opções</th>
- </tr>
- </thead>
- </table>
- <form>
- <input type="button" value="Imprimir Página" onClick="window.print()"/>
- </form>
- <ul class="pager" >
- <li><a href="novo.php" >Registro de Guias</a></li>
- </ul>
- <ul class="pager">
- <li><a href="logout.php" >Encerrar</a></li>
- </ul>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement