<?php
$footer = $this->mainMenu()->getCompanyData();
?>

<footer class="main-footer">
    <div class="pull-right hidden-xs">
    </div>
    <strong>Copyright &copy; <?php echo date("Y"); ?> <a target="_blank" href="<?php echo $footer['admin_footer_url']; ?>" title="<?php echo $footer['admin_footer']; ?>"><?php echo $footer['admin_footer']; ?></a>.</strong> All rights reserved.
</footer>

<div class="control-sidebar-bg"></div>


</div><!-- ./wrapper -->





<?php
echo $this->headScript()
        ->prependFile($this->basePath() . '/js/jquery.ihavecookies.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jQuery.print.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/custom/base.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
         ->prependFile($this->basePath() . '/js/dashboard/lib/jquery.slimscroll.min.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/mloading.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/custom/local-hire.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/common.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/custom/user.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery.timepicker.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/load-modal-content.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/analytics.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/selectize.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/selecttag.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/wow.min.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/calendar.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/bootstrap-clockpicker.min.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/bootstrap-slider.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/app.min.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/bootstrap.min.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery.flexisel.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery.image-crop.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery.tooltip.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery-ui.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery.min.js', $type = 'text/javascript', $attrs = ['defer' => 'defer'])
        ->prependFile($this->basePath() . '/js/libs/jquery.mCustomScrollbar.concat.min.js', $type = 'text/javascript', $attrs = ['defer' => 'defer']);
?>
<?php echo $this->inlineScript() ?>
<?php echo $this->inlineScript()->prependFile('https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js', $type = 'text/javascript') ?>
<script type="text/javascript">

    document.onreadystatechange = function () {

        //alert(1);
        if (document.readyState !== "complete") {
            document.querySelector("body").style.visibility = "hidden";
            document.querySelector("#loader").style.visibility = "visible";
        } else {
            document.querySelector("#loader").style.display = "none";
            document.querySelector("body").style.visibility = "visible";
        }
    };
</script>

</body>
</html>
