<?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/libs/jquery.timepicker.js')
        ->prependFile($this->basePath() . '/js/libs/fullcalendar.js')
        ->prependFile($this->basePath() . '/js/libs/moment.min.js')
        //->prependFile($this->basePath() . '/js/dashboard/lib/flexible-menu.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/jquery.nestable.js')
        //->prependFile($this->basePath() . '/js/dashboard/lib/editor.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/jquery_002.js')
        ->prependFile($this->basePath() . '/js/libs/calendar.js')
        ->prependFile($this->basePath() . '/js/jquery.form.js')
        ->prependFile($this->basePath() . '/js/jquery.imgareaselect.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/jquery.slimscroll.min.js')
        //->prependFile($this->basePath() . '/js/dashboard/lib/jquery-ui-timepicker-addon.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/jquery.PrintArea.js')
        ->prependFile($this->basePath() . '/js/dashboard/app/price.js')
        ->prependFile($this->basePath() . '/js/libs/mloading.js')
        ->prependFile($this->basePath() . '/js/common.js')
        ->prependFile($this->basePath() . '/js/custom/user.js')
        ->prependFile($this->basePath() . '/js/load-modal-content-dashboard.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/base.js')
        ->prependFile($this->basePath() . '/js/dashboard/app/test.js')
        ->prependFile($this->basePath() . '/js/dashboard/app/dashboard.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/color_picker.js')
        ->prependFile($this->basePath() . '/js/dashboard/app/demo.js')
        ->prependFile($this->basePath() . '/js/dashboard/app/bootstrap-select.js')
        //->prependFile($this->basePath() . '/js/dashboard/lib/dataTables.bootstrap.min.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/jquery.dataTables.min.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/app.min.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/bootstrap.min.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/selectize.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/selecttag.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/jquery-ui.js')
        //->prependFile($this->basePath() . '/js/libs/bootstrap-clockpicker.min.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/jquery.min.js')
        ->prependFile($this->basePath() . '/js/dashboard/lib/fastclick.min.js')
        ->prependFile($this->basePath() . '/highslide/highslide-with-gallery.js')

?>
<?php //echo $this->inlineScript() ?>
<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>
