</div>
</div>

<div class="bottomlayout">
    <strong>2014 &copy; SPS by Salihin Consulting.</strong>
</div>
<div class="footer-items">
    <span class="go-top"><i class="clip-chevron-up"></i></span>
</div>

<div id="alertModal" class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">Salihin Premier Solution</h4>
      </div>
      <div class="modal-body">
        <h3>&nbsp;</h3>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->

<!-- wrapper -->
<?php $this->lang->load("datatables", $this->session->userdata('language')); ?>
<script type="text/javascript">
    $(document).ready(function() {
<?php //if(element('role', $this->session->userdata('logged_in')) == 33):  ?>
        $('.dataTable').each(function() {
            var dTable = $(this).DataTable();
            var language = {
                "sEmptyTable": "<?php echo $this->lang->line('sEmptyTable') ?>",
                "sInfo": "<?php echo $this->lang->line('sInfo') ?>",
                "sInfoEmpty": "<?php echo $this->lang->line('sInfoEmpty') ?>",
                "sInfoFiltered": "<?php echo $this->lang->line('sInfoFiltered') ?>",
                "sInfoPostFix": "<?php echo $this->lang->line('sInfoPostFix') ?>",
                "sInfoThousands": "<?php echo $this->lang->line('sInfoThousands') ?>",
                "sLengthMenu": "<?php echo $this->lang->line('sLengthMenu') ?>",
                "sLoadingRecords": "<?php echo $this->lang->line('sLoadingRecords') ?>",
                "sProcessing": "<?php echo $this->lang->line('sProcessing') ?>",
                "sSearch": "<?php echo $this->lang->line('sSearch') ?>",
                "sZeroRecords": "<?php echo $this->lang->line('sZeroRecords') ?>",
                "oPaginate": {
                    "sFirst": "<?php echo $this->lang->line('sFirst') ?>",
                    "sPrevious": "<?php echo $this->lang->line('sPrevious') ?>",
                    "sNext": "<?php echo $this->lang->line('sNext') ?>",
                    "sLast": "<?php echo $this->lang->line('sLast') ?>"
                },
                "oAria": {
                    "sSortAscending": "<?php echo $this->lang->line('sSortAscending') ?>",
                    "sSortDescending": "<?php echo $this->lang->line('sSortDescending') ?>"
                }
            }

            dTable.fnSettings().oLanguage = language;
            var dSettings = dTable.fnSettings();
            var aaSorting = dTable.fnSettings().aaSorting;
            dTable.fnDestroy();

            dTable.dataTable(dSettings);
            dTable.fnSettings().aaSorting = aaSorting;
            dTable.fnDraw();
        });
<?php //endif;  ?>
    });
</script>
</body>
</html>