header.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title><?php echo (empty($this->titulo) ? '' : ($this->titulo . ' | ')) . $this->webApp()->getConfig('TITULO');?></title>
  5. <?php $this->renderInclude("head");?>
  6. </head>
  7. <body>
  8. <div id="wrapper"<?php echo (isset($_COOKIE["sidebar-contracted"]) and $_COOKIE["sidebar-contracted"] == "1") ? ' class="contracted"' : '';?>>
  9. <?php $this->renderInclude("menu");?>
  10. <!-- Page Content -->
  11. <div id="page-wrapper">
  12. <div class="container-fluid">
  13. <?php if (isset($nav)) { ?>
  14. <div class="row">
  15. <div class="col-xs-6">
  16. <?php } ?>
  17. <h1 class="page-title"><?php echo $this->titulo;?></h1>
  18. <?php if (isset($nav)) { ?>
  19. </div>
  20. <div class="col-xs-6">
  21. <nav class="btn-toolbar"><?php echo $nav;?></nav>
  22. </div>
  23. </div>
  24. <?php } ?>
  25. <hr class="page-title-hr">
  26. <?php $this->renderInclude("notifications");?>