<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">

    <title>SIPS</title>

    <!-- Bootstrap core CSS -->
    <link href="<?= base_url('dist/css/bootstrap.min.css'); ?>" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="<?= base_url('dist/css/offcanvas.css'); ?>" rel="stylesheet">

    <!-- L.I. Carlos Cruz -->
    <link href="<?= base_url('dist/css/bootstrap-datetimepicker.min.css'); ?>" rel="stylesheet">

    <link href="<?= base_url('dist/css/estilos.css'); ?>" rel="stylesheet">

    <script src="<?= base_url('dist/js/jquery.min.js'); ?>"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!--Script para que pueda leer peticiones XAJAX-->
    <?= (isset($xajax_js)) ? $xajax_js : ''; ?>
  </head>

  <body>
    <nav class="navbar navbar-fixed-top navbar-inverse"><!--default,inverse-->
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">SIPS</a>
        </div>
        <?= my_menu(); ?>
      </div><!-- /.container -->
    </nav><!-- /.navbar -->

    <div class="container">

      <?php $this->load->view($contenido); ?>

      <hr>

      <footer>
        <p>&copy; ITWEBSOLUTIONS. Desarrollado por <a href="mailto:carlos.cruz@itwebsolutions.com.mx">L.I. Carlos René Cruz Ruiz</a> - Derechos Reservados <?= date("Y") ?></p>
      </footer>

    </div><!--/.container-->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>-->
    <script src="<?= base_url('dist/js/bootstrap.min.js'); ?>"></script>

    <script src="<?= base_url('dist/js/offcanvas.js'); ?>"></script>
    <!-- L.I. Caros Cruz -->
    <script src="<?= base_url('dist/js/validaciones.js'); ?>"></script>
    <script src="<?= base_url('dist/js/moment.js'); ?>"></script>
    <script src="<?= base_url('dist/js/bootstrap-datetimepicker.min.js'); ?>"></script>
    <?= (isset($script)) ? $script : ''; ?>
  </body>
</html>
