<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!-- footer content -->
<footer>
<div class="pull-right">
KingOfDog Admin Panel | © <?= date('Y') ?> KingOfDog
</div>
<div class="clearfix"></div>
</footer>
<!-- /footer content -->
$scripts = [
'lib/jquery.min.js',
'lib/popper.min.js',
'lib/bootstrap.min.js',
'lib/typeahead.bundle.min.js',
'lib/datatables.js',
'lib/jquery.tagsinput.min.js',
'lib/moment.min.js',
'lib/bootstrap-datetimepicker.min.js',
'lib/bootstrap-tagsinput.min.js',
'fullcalendar/fullcalendar.min.js',
'fullcalendar/lang/de.js',
'lib/jquery.mCustomScrollbar.min.js',
'custom.js'
];
if(isset($additionalScripts)) {
foreach ($additionalScripts as $additionalScript) {
$scripts[] = $additionalScript;
}
$scriptName = join(',', $scripts);
$scriptName = base_url("combine.php?type=javascript&files=" . $scriptName);
<script src="<?= $scriptName ?>"></script>
</body>
</html>