
 <!-- Logout Modal-->
    <div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5>
              <button class="close" type="button" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">×</span>
              </button>
            </div>
            <div class="modal-body">Select "Logout" below if you are ready to end your current session.</div>
            <div class="modal-footer">
              <button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button>
              <a class="btn btn-primary" href="<?php echo site_url('logout');?>">Logout</a>
            </div>
          </div>
        </div>
    </div>

    <div class="modal fade delete-modal animated" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title f-w-600" id="exampleModalLabel"><strong>Are you sure you want to delete this record?</strong></h5>
                    <button class="btn-close" type="button" data-bs-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                </div>
                <div class="modal-body">
                    <div class="alert bg-white text-dark"> <strong>Record deleted can't be restored!!!</strong> </div>
                </div>
                <div class="modal-footer">
                    <form id="delete_record" name="delete_record" role="form" action="" method="post">
                      <input name="_method" type="hidden" value="DELETE">
                      <input name="_token" type="hidden" value="">
                      <input name="token_type" id="token_type" type="hidden" value="">
                      <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
                      <button type="submit" class="btn btn-primary">Confirm</button>
                    </form>
                </div>
            </div>
        </div>
    </div>


<div class="modal fade edit-modal-data animated" id="edit-modal-data"  role="dialog" aria-labelledby="edit-modal-data" aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content" id="ajax_modal"></div>
  </div>
</div>
  
  <!-- latest jquery-->
<script src="<?php echo base_url();?>assets/js/jquery-3.3.1.min.js"></script>

<!-- Bootstrap js-->
<script src="<?php echo base_url();?>assets/js/bootstrap.bundle.min.js"></script>

<!-- feather icon js-->
<script src="<?php echo base_url();?>assets/js/icons/feather-icon/feather.min.js"></script>
<script src="<?php echo base_url();?>assets/js/icons/feather-icon/feather-icon.js"></script>

<!-- Sidebar jquery-->
<script src="<?php echo base_url();?>assets/js/sidebar-menu.js"></script>

<?php if($path_url=='dashboard'){?>
<!--chartist js-->
<script src="<?php echo base_url();?>assets/js/chart/chartist/chartist.js"></script>

<!--chartjs js-->
<script src="<?php echo base_url();?>assets/js/chart/chartjs/chart.min.js"></script>

<?php }?>

<!-- lazyload js-->
<script src="<?php echo base_url();?>assets/js/lazysizes.min.js"></script>

<!--copycode js-->
<script src="<?php echo base_url();?>assets/js/prism/prism.min.js"></script>
<script src="<?php echo base_url();?>assets/js/clipboard/clipboard.min.js"></script>
<script src="<?php echo base_url();?>assets/js/custom-card/custom-card.js"></script>

<!--counter js-->
<script src="<?php echo base_url();?>assets/js/counter/jquery.waypoints.min.js"></script>
<script src="<?php echo base_url();?>assets/js/counter/jquery.counterup.min.js"></script>
<script src="<?php echo base_url();?>assets/js/counter/counter-custom.js"></script>

<!--peity chart js-->
<script src="<?php echo base_url();?>assets/js/chart/peity-chart/peity.jquery.js"></script>

<!--sparkline chart js-->
<script src="<?php echo base_url();?>assets/js/chart/sparkline/sparkline.js"></script>

<!--Customizer admin-->
<script src="<?php echo base_url();?>assets/js/admin-customizer.js"></script>

<?php if($path_url=='dashboard')
{
?>
<!--dashboard custom js-->
<script src="<?php echo base_url();?>assets/js/dashboard/default.js"></script>

<?php }?>

<!--right sidebar js-->
<script src="<?php echo base_url();?>assets/js/chat-menu.js"></script>

<!--height equal js-->
<script src="<?php echo base_url();?>assets/js/height-equal.js"></script>

<!-- lazyload js-->
<script src="<?php echo base_url();?>assets/js/lazysizes.min.js"></script>

<!--script admin-->
<script src="<?php echo base_url();?>assets/js/admin-script.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>assets/vendor/DataTables/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>assets/vendor/DataTables/js/dataTables.bootstrap4.min.js"></script> 
<script type="text/javascript" src="<?php echo base_url();?>assets/vendor/DataTables/Responsive/js/dataTables.responsive.min.js"></script> 
<script type="text/javascript" src="<?php echo base_url();?>assets/vendor/DataTables/Responsive/js/responsive.bootstrap4.min.js"></script>

<script type="text/javascript" src="<?php echo base_url();?>assets/vendor/select2/dist/js/select2.min.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>assets/vendor/toastr/toastr.min.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>assets/vendor/kendo/kendo.all.min.js"></script>

  <script type="text/javascript">
    $(document).ready(function(){
    	toastr.options.closeButton = true;
    	toastr.options.progressBar = true;
    	toastr.options.timeOut = 3000;
    	toastr.options.preventDuplicates = true;
    	toastr.options.positionClass = "toast-bottom-right";
    
    	/*$('.date').datepicker({
    	changeMonth: true,
    	changeYear: true,
    	dateFormat:'yy-mm-dd',
    	yearRange: '1900:' + (new Date().getFullYear() + 15),
    	beforeShow: function(input) {
    		$(input).datepicker("widget").show();
    	}
    	});
    	
    	$('[data-plugin="select_search"]').select2($(this).attr('data-options'));
        $('[data-plugin="select_search"]').select2({ width:'100%' });*/
    
    });	
  </script> 

  <!-- Page level custom scripts -->
  <script type="text/javascript">var site_url = '<?php echo base_url(); ?>';</script>
  <script type="text/javascript">var base_url = '<?php echo base_url().$this->router->fetch_class(); ?>';</script> 
  <script type="text/javascript" src="<?php echo base_url().'skin/js_module/'.$path_url.'.js?ver='.time(); ?>"></script>

</body>

</html>
