</div>
        <!-- /.card-body -->
   
      </div>
      <!-- /.card -->

    </section>
    <!-- /.content -->
  </div>
<?php 
$sess_id = $this->session->userdata('id');
 
/* Si la sesión no existe no cargar footer*/
  if(!empty($sess_id))
  {
?>
<footer class="main-footer">
    <div class="float-right d-none d-sm-block">
      <b>Version</b> <?php echo APP_VERSION; ?>
    </div>
    <strong>Copyright &copy; 2019 <a href="https://www.servimostemporales.com">Servimos Temporales SAS</a>.</strong> All rights
    reserved.
</footer>
<?php 
  }
?>
 <!-- Control Sidebar 
 <aside class="control-sidebar control-sidebar-dark">
    Control sidebar content goes here 
  </aside>
  /.control-sidebar -->
</div>
<!-- ./wrapper -->

<!-- jQuery -->
<script src="<?php echo base_url() ?>assets/js/jquery-3.4.1.min.js"></script>
<!-- Bootstrap 4-->
<script src="<?php echo base_url() ?>assets/js/bootstrap.min.js"></script>
<!-- AdminLTE App -->
<script src="<?php echo base_url() ?>assets/js/adminlte.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="<?php echo base_url() ?>assets/js/main.js"></script>
<!-- Mensajes Toast-->
<script src="<?php echo base_url() ?>assets/js/jquery.toaster.js"></script>
<?php 
/* Si la sesión no existe no cargar scripts de angular*/
  if(!empty($sess_id))
  {
    if (isset($scriptjs)){
      $this->load->view($scriptjs);
    } 

?>
   <!-- Angular Scripts -->
   <script src="<?php echo base_url()?>app/lib/angular.min.js"></script>
   <script src="<?php echo base_url()?>app/lib/dirPagination.js"></script>
   <script src="<?php echo base_url()?>app/lib/angular-animate.js"></script>
   <script src="<?php echo base_url()?>app/lib/angular-modal-service.min.js"></script>
   <script src="<?php echo base_url()?>app/lib/ui-bootstrap.js"></script>
   <script src="<?php echo base_url()?>app/lib/ui-bootstrap-tpls-1.3.3.min.js"></script>
   <script src="<?php echo base_url()?>app/app.js"></script>
<?php
  }
?>
</body>
</html>
