<?php if (!defined('IN_SITE')) {
    die('The Request Not Found');
}?>

<script type="text/javascript">
 $(function() {
    $('#datatable').DataTable({
        "lengthMenu": [[10, 50, 100, 500, 1000, 2000, 5000, 10000 -1], [10, 50, 100, 500, 1000, 2000, 5000, 10000, "All"]]
    });
    $('#datatable1').DataTable({
        "lengthMenu": [[10, 50, 100, 500, 1000, 2000, 5000, 10000 -1], [10, 50, 100, 500, 1000, 2000, 5000, 10000, "All"]]
    });
    $('#datatable2').DataTable({
        "lengthMenu": [[10, 50, 100, 500, 1000, 2000, 5000, 10000 -1], [10, 50, 100, 500, 1000, 2000, 5000, 10000, "All"]]
    });

});

$.ajax({
    url: "<?=BASE_URL('update.php');?>",
    type: "GET",
    timeout: 3000,
    dateType: "text",
    data: {},
    success: function(result) {

    }
});

$.ajax({
    url: "<?=BASE_URL('install.php');?>",
    type: "GET",
    dateType: "text",
    data: {},
    success: function(result) {

    }
});

// $.ajax({
//     url: "<?=BASE_URL('cron/cron.php');?>",
//     type: "GET",
//     dateType: "text",
//     data: {},
//     success: function(result) {

//     }
// });

</script>
<!-- <div id="autoload"></div>
<script type="text/javascript">
function autoload() {
    $.ajax({
        url: "<?=BASE_URL('cron/cron.php');?>",
        type: "GET",
        dateType: "text",
        data: {},
        success: function(result) {

        }
    });
}
setInterval(function() {
    $('#autoload').load(autoload());
}, 15000);
</script> -->
<footer class="main-footer">
    <div class="float-right d-none d-sm-inline">
        
        <div id="google_translate_element"></div>
        <script type="text/javascript">
        // <![CDATA[
        function googleTranslateElementInit() {
            new google.translate.TranslateElement({
                pageLanguage: 'vi',
                layout: google.translate.TranslateElement.InlineLayout.SIMPLE
            }, 'google_translate_element');
        }
        // ]]>
        </script>
        <script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"
            type="text/javascript"></script>

    </div>
    <b>Version</b> <b style="color:red;"><?=$config['version'];?></b> - <strong>Powered By <a
            href="https://www.cmsnt.co/?domain=<?=base_url_admin('');?>" target="_blank">CMSNT.CO</a></strong>
</footer>
</div>
 
<script type="text/javascript" src="https://cdn.fchat.vn/assets/embed/webchat.js?id=67efc9df63daf31c4c0c4496" async="async"></script>

<!-- jQuery UI 1.11.4 -->
<script src="<?=BASE_URL('public/AdminLTE3/');?>plugins/jquery-ui/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
$.widget.bridge('uibutton', $.ui.button)
</script>
<!-- Bootstrap 4 -->
<script src="<?=BASE_URL('public/AdminLTE3/');?>plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="<?=BASE_URL('public/AdminLTE3/');?>dist/js/adminlte.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="<?=BASE_URL('public/AdminLTE3/');?>dist/js/demo.js"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<script src="<?=BASE_URL('public/AdminLTE3/');?>dist/js/pages/dashboard.js"></script>
<!-- ChartJS -->
<script src="<?=BASE_URL('public/AdminLTE3/');?>plugins/chart.js/Chart.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js"></script>
 <!-- daterangepicker -->
<script src="<?=BASE_URL('public/AdminLTE3/');?>plugins/moment/moment.min.js"></script>
<script src="<?=BASE_URL('public/AdminLTE3/');?>plugins/daterangepicker/daterangepicker.js"></script>

<?=$body['footer'];?>

<script type="text/javascript">window.$crisp=[];window.CRISP_WEBSITE_ID="d22a2c78-a460-41ca-9f0d-d427ba59e45e";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script>
</body>

</html>
 