  <!-- /.content-wrapper -->
  <?php $uri = service('uri'); ?>
  <footer class="main-footer">
    <strong>©  <script>document.write(new Date().getFullYear()); </script> <?php echo $app_setting->application_name?></strong> All rights reserved.
  </footer>

  <!-- Control Sidebar -->
  <aside class="control-sidebar control-sidebar-dark">
    <!-- Control sidebar content goes here -->
  </aside>
  <!-- /.control-sidebar -->
</div>
<!-- ./wrapper -->
<script type="text/javascript">
  const base_url = "<?php echo base_url()?>";
  var uri  = 'no';
</script>
<!-- jQuery -->
<script src="<?php echo admin_css(); ?>plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="<?php echo admin_css(); ?>plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- overlayScrollbars -->
<script src="<?php echo admin_css(); ?>plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js"></script>
<!-- AdminLTE App -->
<script src="<?php echo admin_css(); ?>dist/js/adminlte.js"></script>

<?php if( $uri->getSegment(2) == 'blog' || $uri->getSegment(2) == 'contact_message' || $uri->getSegment(3) == 'slider' || $uri->getSegment(3) == 'slider_stats' || $uri->getSegment(3) == 'latest_case' || $uri->getSegment(3) == 'gallery' || $uri->getSegment(3) == 'all_event' || $uri->getSegment(3) == 'all_testimonials' || $uri->getSegment(3) == 'featured_project' || $uri->getSegment(3) == 'all_donation_report' || $uri->getSegment(3) == 'all_volunteer_report' || $uri->getSegment(3) == 'short_about_us' || $uri->getSegment(3) == 'media_corner' || $uri->getSegment(3) == 'pages' || $uri->getSegment(3) == 'view_all_brand' || $uri->getSegment(3) == 'all_pages' || $uri->getSegment(3) == 'all_subscribers_report' || $uri->getSegment(3) == 'our_all_founders' || $uri->getSegment(3) == 'our_core_team' || $uri->getSegment(3) == 'view_all_member' || $uri->getSegment(3) == 'view_all_course' || $uri->getSegment(3) == 'view_all_employee' || $uri->getSegment(3) == 'view_all_batch' || $uri->getSegment(3) == 'view_all_admission' || $uri->getSegment(3) == 'add_new_admission' || $uri->getSegment(3) == 'view_all_booking' || $uri->getSegment(3) == 'view_all_camp' || $uri->getSegment(3) == 'view_all_sharnarthi' || $uri->getSegment(3) == 'all_expense' || $uri->getSegment(3) == 'all_income' || $uri->getSegment(3) == 'role_permission' || $uri->getSegment(3) == 'view_all_designation'): ?>
<!-- DataTables  & Plugins -->

<script src="<?php echo admin_css(); ?>plugins/datatables/jquery.dataTables.min.js"></script>
<script src="<?php echo admin_css(); ?>plugins/datatables-bs4/js/dataTables.bootstrap4.min.js"></script>
<script src="<?php echo admin_css(); ?>plugins/datatables-responsive/js/dataTables.responsive.min.js"></script>
<script src="<?php echo admin_css(); ?>plugins/datatables-responsive/js/responsive.bootstrap4.min.js"></script>
<script src="<?php echo admin_css(); ?>plugins/datatables-buttons/js/dataTables.buttons.min.js"></script>
<script src="<?php echo admin_css(); ?>plugins/datatables-buttons/js/buttons.bootstrap4.min.js"></script>
<script src="<?php echo admin_css(); ?>plugins/jszip/jszip.min.js"></script>
<script src="<?php echo admin_css(); ?>plugins/pdfmake/pdfmake.min.js"></script>
<script src="<?php echo admin_css(); ?>plugins/pdfmake/vfs_fonts.js"></script>
<script src="<?php echo admin_css(); ?>plugins/datatables-buttons/js/buttons.html5.min.js"></script>
<script src="<?php echo admin_css(); ?>plugins/datatables-buttons/js/buttons.print.min.js"></script>
<script type="text/javascript">
  $(function () {
    $("#table_with_out_print").DataTable({
      "responsive": true, "lengthChange": true, "autoWidth": false,  "searching": true,
    })
  });

  $(function () {
    $("#example1").DataTable({
      "responsive": true, "lengthChange": true, "autoWidth": false,  "searching": true,
       buttons: [
         {
            extend: 'print',
            footer: false,
            title: '',
            
         }         
      ],
    }).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');
  });
  $(function () {
    $("#example10").DataTable({
      "responsive": true, "lengthChange": false, "autoWidth": false,  "searching": true, paging: false, info: false,
       
    }).buttons().container().appendTo('#example10_wrapper .col-md-6:eq(0)');
  });
  $(function () {
    $("#example2").DataTable({
      "responsive": true, "lengthChange": true, "autoWidth": false,  "searching": true,
       buttons: [
         {
            extend: 'print',
            footer: false,
            title: '',
            
         }         
      ],
    }).buttons().container().appendTo('#example2_wrapper .col-md-6:eq(0)');
  });
  $(function () {
    $(".datatable").DataTable({
      "responsive": true, 
      "lengthChange": true, 
      "autoWidth": false,  
      "searching": true,
       buttons: [
         {
            extend: 'print',
            footer: false,
            title: '',
            
         }         
      ],
    }).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');
  });
  $(function () {
    $("#wining_report_1").DataTable({
      "responsive": true, "lengthChange": true, "autoWidth": false,  "searching": true,
       
    });
  });
  $(function () {
    $("#wining_report_2").DataTable({
      "responsive": true, "lengthChange": true, "autoWidth": false,  "searching": true,
        buttons: [
         {
            extend: 'print',
            footer: false,
            title: '',
            exportOptions: {
              columns: [1,2,8,9,10]
            }
         }         
      ],
    }).buttons().container().appendTo('#wining_report_2_wrapper .col-md-6:eq(0)');
  });
  
</script>


<?php 
endif;
if($uri->getSegment(3) == 'visual_setting' || $uri->getSegment(3) == 'start_new_project'): ?>
<script src="<?php echo admin_css(); ?>plugins/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js"></script>
<script type="text/javascript">
   $('.my-colorpicker2').colorpicker();
</script>
<?php 
endif;
if($uri->getSegment(3) == 'application_setting' || $uri->getSegment(3) == 'add_new_blog' || $uri->getSegment(3) == 'update_blog' || $uri->getSegment(3) == 'add_new_user' || $uri->getSegment(3) == 'update_user' || $uri->getSegment(2) == 'contact_message' || $uri->getSegment(3) == 'add_new_product' || $uri->getSegment(3) == 'edit_product' || $uri->getSegment(3) == 'about_us' || $uri->getSegment(3) == 'pages' || $uri->getSegment(3) == 'add_new_case' || $uri->getSegment(3) == 'edit_case' || $uri->getSegment(3) == 'add_new_event' || $uri->getSegment(3) == 'edit_event' || $uri->getSegment(3) == 'add_new_project' || $uri->getSegment(3) == 'edit_featured_project' || $uri->getSegment(3) == 'short_about_us' || $uri->getSegment(3) == 'add_new_page' || $uri->getSegment(3) == 'edit_page' || $uri->getSegment(3) == 'send_email' || $uri->getSegment(3) == 'sending_email'): ?>
<!-- Summernote -->
<script src="<?php echo admin_css(); ?>plugins/summernote/summernote-bs4.min.js"></script>
<script type="text/javascript">
  $(function () {
    // Summernote
    $('.text-editor').summernote({
      toolbar: [
    // [groupName, [list of button]]
        ['style', ['bold', 'italic', 'underline', 'clear']],
        ['font', ['strikethrough', 'superscript', 'subscript']],
        ['fontsize', ['fontsize']],
        ['color', ['color']],
        ['para', ['ul', 'ol', 'paragraph']],
        ['height', ['height']],
        ['table', ['table']],
        ['insert', ['link', 'picture', 'video']],
        ['view', ['fullscreen', 'codeview', 'help']],
      ],
      height: 200,
    });
  })
</script>
<?php endif;?>
<script src="<?php echo admin_css(); ?>dist/js/custom.js"></script>
</body>
</html>
<style type="text/css">
  .app_name{
    color: red;
  }
  .font-awsom{
    font-family: fontAwesome
  }
  .required
  {
    color:red;
  }
</style>
<script type="text/javascript">
$('form').submit(function() {
     $('button[type="submit"]').html('Processing....');
     $('button[type="submit"]').attr('disabled',true);
     $(".loader").show();
 });
</script>