<!DOCTYPE html>

<?php $controller = $this->router->fetch_class(); ?>

<html lang="es">



<head>

  <?php $this->load->view(THEME . 'head') ?>

</head>



<?php if ($controller === 'venta'): ?>

  <?php $activar = "class='enlarged' data-keep-enlarged='true'"; ?>

<?php else: ?>

  <?php $activar = ''; ?>

<?php endif; ?>



<body <?= $activar ?>>

  <!-- Begin page -->

  <div id="wrapper">

    <?php $this->load->view(THEME . 'topbar') ?>

    <!-- ========== Left Sidebar Start ========== -->

    <?= $this->dynamic_menu->build_menu() ?>

    <!-- Left Sidebar End -->

    <!-- ============================================================== -->

    <!-- Start Page Content here -->

    <!-- ============================================================== -->

    <div class="content-page">

      <div class="content">

        <!-- Start Content-->

        <div class="container-fluid">

          <!-- start page title -->

          <div class="row">

            <div class="col-12">

                &nbsp;

              <!--div class="page-title-box"></div-->

            </div>

          </div>

          <!-- end page title -->

          <!--Widget-4 -->

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

          <!-- end row -->

        </div>

        <!-- end container-fluid -->

      </div>

      <!-- end content -->

      <?php $this->load->view(THEME . 'footer') ?>

    </div>

    <!-- ============================================================== -->

    <!-- End Page content -->

    <!-- ============================================================== -->

  </div>

  <!-- END wrapper -->

 <!-- Right bar overlay-->

 <div class="rightbar-overlay"></div>

 <!-- Chat app -->

 <script src="<?= base_url().RECURSOS ?>js/ConectorPlugin.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/moment/moment.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/jquery-scrollto/jquery.scrollTo.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/sweetalert2/sweetalert2.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>js/pages/jquery.chat.js"></script>

 <!-- Todo app -->

 <script src="<?= base_url().RECURSOS ?>js/pages/jquery.todo.js"></script>

 <!-- flot chart -->

 <!-- <script src="<?= base_url().RECURSOS ?>libs/flot-charts/jquery.flot.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/flot-charts/jquery.flot.time.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/flot-charts/jquery.flot.tooltip.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/flot-charts/jquery.flot.resize.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/flot-charts/jquery.flot.pie.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/flot-charts/jquery.flot.selection.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/flot-charts/jquery.flot.stack.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/flot-charts/jquery.flot.crosshair.js"></script> -->

 <!-- Dashboard init JS -->

 <!-- <script src="<?= base_url().RECURSOS ?>js/pages/dashboard.init.js"></script> -->

 <!-- Chart JS -->

 <script src="<?= base_url().RECURSOS ?>libs/chart-js/Chart.bundle.min.js"></script>

 <!--Morris Chart-->

 <script src="<?= base_url().RECURSOS ?>libs/morris-js/morris.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/raphael/raphael.min.js"></script>

 <!-- third party js -->

 <script src="<?= base_url().RECURSOS ?>libs/datatables/jquery.dataTables.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/datatables/dataTables.bootstrap4.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/datatables/dataTables.responsive.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/datatables/responsive.bootstrap4.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/datatables/dataTables.buttons.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/datatables/buttons.bootstrap4.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/jszip/jszip.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/pdfmake/pdfmake.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/pdfmake/vfs_fonts.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/datatables/buttons.html5.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/datatables/buttons.print.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/datatables/dataTables.fixedheader.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/datatables/dataTables.keyTable.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/datatables/dataTables.scroller.min.js"></script>

 <!-- Datatables init -->

 <script src="<?= base_url().RECURSOS ?>js/pages/datatables.init.js"></script>

 <!-- Modal-Effect -->

 <script src="<?= base_url().RECURSOS ?>libs/custombox/custombox.min.js"></script>

 <!-- Plugins Js -->

 <script src="<?= base_url().RECURSOS ?>libs/bootstrap-tagsinput/bootstrap-tagsinput.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/switchery/switchery.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/multiselect/jquery.multi-select.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/jquery-quicksearch/jquery.quicksearch.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/select2/select2.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/bootstrap-touchspin/jquery.bootstrap-touchspin.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/jquery-mask-plugin/jquery.mask.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/moment/moment.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/bootstrap-timepicker/bootstrap-timepicker.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/bootstrap-colorpicker/bootstrap-colorpicker.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>

 <!-- Init js-->

 <script src="<?= base_url().RECURSOS ?>js/pages/form-advanced.init.js"></script>

 <script src="<?= base_url().RECURSOS ?>libs/jquery-validation/jquery.validate.min.js"></script>

 <!-- Validation init js-->

 <script src="<?= base_url().RECURSOS ?>js/pages/form-validation.init.js"></script>

 <!-- App js -->

 <script src="<?= base_url().RECURSOS ?>js/app.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>js/bootbox.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>js/estilonew.js"></script>

 <script src="<?= base_url().RECURSOS ?>js/highcharts.js"></script>

 <script src="<?= base_url().RECURSOS ?>dist/js/lobibox.min.js"></script>

 <script src="<?= base_url().RECURSOS ?>js/jquery.mayusculassintildes.js"></script>

 <script src="<?= base_url().RECURSOS ?>js/jquery-blockui/jquery.blockUI.js"></script>

 <script src="<?= base_url().RECURSOS ?>js/checktree.js" type="text/javascript"></script>

 <script src="<?= base_url().RECURSOS ?>js/jquery.number.js" type="text/javascript"></script>

 <script src="<?= base_url().RECURSOS ?>js/jquery.numeric.js" type="text/javascript"></script>

 <script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>

</body>



</html>

