<?php $sl =1; $std_data = isset($std_data) ? $std_data : array(); $msg = isset($msg)?$msg:''; $msg_type = isset($msg_type)?$msg_type:''; $this->session->UnsetFlashData(); ?> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Title </h1> </section> <section class="content"> <div class="row"> <?php //GPrint($rtype_data);?> <div class="col-xs-12"> <div class="box"> <div class="box-header"> <h3 class="box-title"></h3> <button class="btn btn-primary btn-xs pull-right" type="button" data-notice_id="N" data-edit= "N" data-toggle="modal" data-target="#add_edit_batch" > <i class="fa fa-plus"></i> Back Button </button> </div><!-- /.box-header --> <div class="box-body"> <?php GPrint($std_data); ?> <div class="table-responsive"> </div> </div><!-- /.box-body --> </div><!-- /.box --> </div><!-- /.col --> </div><!-- /.row --> </section><!-- /.content --> </div> <script src="<?php echo base_url();?>lib/bootstrap/js/jquery.dataTables.min.js"></script> <script src="<?php echo base_url();?>lib/bootstrap/js/dataTables.bootstrap.min.js"></script> <script> $(document).ready(function() { $('#example').dataTable({ /* Disable initial sort */ "aaSorting": [] }); var toast_msg = '<?php echo $msg;?>'; var msg_type = '<?php echo $msg_type;?>'; if(toast_msg !== null && toast_msg !== '') { var shortCutFunction = msg_type; toastr.options = { positionClass: 'toast-bottom-right' }; var $toast = toastr[shortCutFunction](toast_msg); } } ); </script>