<?= $this->include('Modules\Admin\Views\head') ?>
<?= $this->include('Modules\Admin\Views\sidebar') ?>
<div id="main" class="main-wrapper">
<?= $this->include('Modules\Admin\Views\header') ?>
<main  class="main m-3">
    <div class="content-side" >       
        <!-- extend views !-->
        <?= $this->renderSection('content'); ?>
    </div>
</main>


<footer class="footer">
    <div class="container">
        <p class="text-center"><small><span class="me-3">&copy;<?=date('Y')?> LTcms. All Rights Reserved.</span> <small>v1.1.2 </small></p>

    </div>
</footer>
</div>
</div>

    <script>
    var base_url = "<?= base_url(); ?>";
    var csrfToken = '<?= csrf_hash() ?>';
  </script>
    <script src="<?= base_url();?>assets/vendor/aos/aos.js"></script>
    <script src="<?= base_url();?>assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

    <!-- DataTables -->
    <script src="<?= site_url('/');?>assets/vendor/DataTables/datatables.min.js"></script>
    <script src="<?= base_url();?>assets/js/admin.js"></script>
    <script src="<?= base_url();?>assets/js/preloader.js"></script>
    
    <script src="<?= base_url();?>assets/js/main.js"></script>

<script type="text/javascript">
      $(document).ready(function () {
          $('#datalist').DataTable({
            dom: 'Blfrtip',
            buttons: [
                'copy', 'csv', 'excel', 'pdf', 'print'
              ]
              
          });
      });

</script>
    <!-- initialize scroll effect !-->        
    <script>
            AOS.init({
            duration: 1000,
            easing: "ease-in-out",
            once: true,
            mirror: false
            });
    </script>
<script>
  tinymce.init({
    selector: 'textarea#tiny'
  });
</script>
</body>

</html>