Advertisement
nickasdfgh

Untitled

Jan 19th, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. <?php
  2. if (!isset($_SESSION)) session_start();
  3. if (!isset($_SESSION['s_login'])) {
  4. session_destroy();
  5. header("Location:logout.php"); exit;
  6. }
  7.  
  8. $VarID = $_SESSION['s_id'];
  9. $VarLogin = $_SESSION['s_login'];
  10. $VarNome = $_SESSION['s_nome'];
  11. $VarNivel = $_SESSION['s_nivel'];
  12.  
  13. ?>
  14. <?php echo "SEJA BEM VINDO <strong>$VarNome</strong> - AREA DE GERENCIAMENTO DE GUIAS DE ENCAMINHAMENTOS"; ?>
  15.  
  16. <br>
  17.  
  18. <html lang="pt-br">
  19. <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  20.  
  21. <title>REGULA ESPECIALIDADE</title>
  22. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  23. <link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css">
  24. <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
  25. <script src="js/jquery.dataTables.min.js"></script>
  26. <script type="text/javascript" language="javascript">
  27. $(document).ready(function() {
  28. $('#listar-usuario').DataTable({
  29. "processing": true,
  30. "serverSide": true,
  31. "ajax": {
  32. "url": "pes_doc.php",
  33. "type": "POST"
  34. }
  35. });
  36. } );
  37. </script>
  38.  
  39.  
  40. </head>
  41. <body bgcolor="#3gftsh">
  42.  
  43.  
  44. <center><h3 color="red">Lista de Guias de Encaminhamento</h1></center>
  45. <table id="listar-usuario" class="display" style="width:98%">
  46. <thead>
  47.  
  48. <tr>
  49. <th>#</th></th>
  50. <th>data</th></th>
  51. <th>Hora</th></th>
  52. <th>Código SIS</th>
  53. <th>Nome</th>
  54. <th>Data de Nasc.</th>
  55. <th>Prioridade</th>
  56. <th>Especialidade</th>
  57. <th>Data da Guia</th>
  58. <th>Justificativa</th>
  59. <th>CID</th>
  60. <th>Unidade</th>
  61. <th>Preenchido por:</th>
  62. <th>Opções</th>
  63. </tr>
  64.  
  65. </thead>
  66. </table>
  67. <form>
  68. <input type="button" value="Imprimir Página" onClick="window.print()"/>
  69. </form>
  70.  
  71.  
  72. <ul class="pager" >
  73. <li><a href="novo.php" >Registro de Guias</a></li>
  74. </ul>
  75.  
  76.  
  77. <ul class="pager">
  78. <li><a href="logout.php" >Encerrar</a></li>
  79. </ul>
  80. </body>
  81. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement