Upload files to "ui/compiled"
Signed-off-by: kevin <kevin@codelab.nestict.africa>
This commit is contained in:
@@ -0,0 +1,185 @@
|
||||
<?php
|
||||
/* Smarty version 4.3.1, created on 2025-09-17 17:01:12
|
||||
from '/var/www/html/yatmack/ui/ui/sections/footer.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.1',
|
||||
'unifunc' => 'content_68cabf28ebeef0_47697393',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'562328f41f658b67c29feebb3eacc9482a3384a0' =>
|
||||
array (
|
||||
0 => '/var/www/html/yatmack/ui/ui/sections/footer.tpl',
|
||||
1 => 1757933545,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_68cabf28ebeef0_47697393 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?> </div>
|
||||
</div>
|
||||
<!--**********************************
|
||||
Content body end
|
||||
***********************************-->
|
||||
|
||||
<!--**********************************
|
||||
Footer start
|
||||
***********************************-->
|
||||
<div class="footer">
|
||||
<div class="copyright">
|
||||
<p>Designed & Developed with <span class="heart"></span> by <a href="https://www.nestict.africa/" target="_blank" rel="noopener noreferrer">NESTICT</a>
|
||||
© <span id="year"></span></p>
|
||||
</div>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
document.getElementById('year').textContent = new Date().getFullYear();
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<!--**********************************
|
||||
Footer end
|
||||
***********************************-->
|
||||
</div>
|
||||
<!--**********************************
|
||||
Scripts
|
||||
***********************************-->
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/scripts/jquery.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/assets/vendor/global/global.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/scripts/bootstrap.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/assets/vendor/bootstrap-select/dist/js/bootstrap-select.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/assets/vendor/chart.js/Chart.bundle.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<!-- Chart piety plugin files -->
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/assets/vendor/peity/jquery.peity.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<!-- Apex Chart -->
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/assets/vendor/apexchart/apexchart.js?v=<?php echo '<?php'; ?>
|
||||
echo time(); <?php echo '?>'; ?>
|
||||
"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<!-- Dashboard 1 -->
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/assets/js/dashboard/dashboard-1.js?v=<?php echo '<?php'; ?>
|
||||
echo time(); <?php echo '?>'; ?>
|
||||
"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/assets/js/custom.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/assets/js/deznav-init.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/assets/js/demo.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<!--<?php echo '<script'; ?>
|
||||
src="ui/ui/assets/js/styleSwitcher.js"><?php echo '</script'; ?>
|
||||
> -->
|
||||
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/scripts/plugins/select2.full.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/scripts/pace.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="ui/ui/scripts/custom.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
|
||||
<?php if ((isset($_smarty_tpl->tpl_vars['xfooter']->value))) {?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['xfooter']->value;?>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(document).ready(function() {
|
||||
// Select2 initialization (exclude AJAX elements)
|
||||
$('.select2:not([data-ajax])').select2({
|
||||
width: '100%',
|
||||
theme: 'bootstrap',
|
||||
containerCssClass: 'form-select'
|
||||
});
|
||||
$('.select2tag').select2({
|
||||
width: '100%',
|
||||
theme: 'bootstrap',
|
||||
tags: true,
|
||||
containerCssClass: 'form-select'
|
||||
});
|
||||
|
||||
// Button click event listeners
|
||||
var listAtts = document.querySelectorAll(`button[type="submit"]`);
|
||||
listAtts.forEach(function(el) {
|
||||
if (el.addEventListener) {
|
||||
el.addEventListener("click", function() {
|
||||
$(this).html(`<span class="loading"></span>`);
|
||||
}, false);
|
||||
} else {
|
||||
if (el.attachEvent) {
|
||||
el.attachEvent("click", function() {
|
||||
$(this).html(`<span class="loading"></span>`);
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
var listAtts = document.querySelectorAll(`[api-get-text]`);
|
||||
listAtts.forEach(function(el) {
|
||||
$.get(el.getAttribute('api-get-text'), function(data) {
|
||||
el.innerHTML = data;
|
||||
});
|
||||
});
|
||||
|
||||
function setCookie(name, value, days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + (value || "") + expires + "; path=/";
|
||||
}
|
||||
|
||||
function getCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for (var i = 0; i < ca.length; i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0) == ' ') c = c.substring(1, c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}); // Close the $(document).ready(function() {
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
</body>
|
||||
|
||||
</html><?php }
|
||||
}
|
||||
Reference in New Issue
Block a user