<?php
if(!empty($data)) {
	$data = $data;
}
else {
	$data = array();
} 
$this->load->view("admin/layouts/header");
$this->load->view($template,["data" => $data]);



?>
 <!-- End Footer --><!-- jQuery  --><script src="<?php echo base_url(); ?>assets/js/jquery.min.js"></script><script src="<?php echo base_url(); ?>assets/js/bootstrap.bundle.min.js"></script><script src="<?php echo base_url(); ?>assets/js/modernizr.min.js"></script><script src="<?php echo base_url(); ?>assets/js/waves.js"></script><script src="<?php echo base_url(); ?>assets/js/jquery.slimscroll.js"></script><script src="<?php echo base_url(); ?>assets/plugins/peity-chart/jquery.peity.min.js"></script><!--Morris Chart--><script src="<?php echo base_url(); ?>assets/plugins/morris/morris.min.js"></script><script src="<?php echo base_url(); ?>assets/plugins/raphael/raphael-min.js"></script><script src="<?php echo base_url(); ?>assets/pages/dashboard.js"></script><!-- App js --><script src="<?php echo base_url(); ?>assets/js/app.js"></script>
      <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
      <script src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
      <script src="https://cdn.datatables.net/1.10.20/js/dataTables.bootstrap4.min.js"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.0.2/js/toastr.min.js"></script>
      <script src="<?php echo base_url(); ?>assets/js/script.js"></script>
        <script src="<?php echo base_url(); ?>assets/js/paper-dashboard.min.js?v=1.1.0" type="text/javascript"></script>
        <!-- Now Ui Dashboard DEMO methods, don't include it in your project! -->
        <script src="<?php echo base_url(); ?>assets/demo/demo.js"></script>

      <script type="text/javascript">
      	
      	$(document).ready(function() {
          $('#example').DataTable();
      } );

</script>
   </body>
  
</html>