Files
Romanticism/config/footer.php
2025-08-27 18:44:12 +08:00

94 lines
3.5 KiB
PHP

<?php
/**
_ _ __ _ ____ _ _ ___
/ \ | |/ / / \ / ___|| | | |_ _|
/ _ \ | ' / / _ \ \___ \| |_| || |
/ ___ \| . \ / ___ \ ___) | _ || |
/_/ \_\_|\_\/_/ \_\____/|_| |_|___|
* [Romanticism]
* footer.php 页脚文件
* @version 2.2 - 250710
**/
?>
<div class="mdui-shadow-0 mdui-text-center mdui-card toup">
<br>
<br>
<span class="title">
&copy;<?php echo date("Y"); ?> <?php $this->options->title(); ?>
<br>
<?php if($this->options->AKAROMfootericp):?>
<?php echo'<br>';
echo $this->options->AKAROMfootericp; ?>
</span><br>
<?php else: ?>
</span>
<?php endif;?>
<br>
<!-- 已经弄得很不显眼了,请不要删除以下信息 -->
<small style="opacity: .2;">Theme <b><a class="chameleon underline" onclick="window.location.href='https://imakashi.eu.org/blog/archives/themeRomanticism.html'">Romanticism2.2</a></b> by <a class="chameleon underline" onclick="window.location.href='https://imakashi.eu.org/'"><b>Akashi</b></a>
<br>
Powered by <a class="chameleon underline" onclick="window.location.href='https://typecho.org'"><b>Typecho</b></a></small>
<br><br>
</div>
<script>
document.getElementById("switch-theme").addEventListener("click", () => {
const isDark = document.body.classList.toggle("mdui-theme-layout-dark");
if(isDark){
localStorage.romanticismTheme = true;
}else{
delete localStorage.romanticismTheme;
}
});
</script>
<script src="<?php $this->options->themeUrl('config/mdui/js/mdui.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('config/js/jquery.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('config/js/listLazyload.js?v=2.2'); ?>"></script>
<script src="<?php $this->options->themeUrl('config/js/tagIcon.js?v=2.2'); ?>"></script>
<script src="<?php $this->options->themeUrl('config/js/customStyle.js?v=2.2'); ?>"></script>
<script src="<?php $this->options->themeUrl('config/js/returntop.js?v=2.2'); ?>"></script>
<script src="<?php $this->options->themeUrl('config/js/prism.highlight.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('config/js/jquery.fancybox.min.js'); ?>"></script>
<script>
$(document).ready(function () {
$( ".fancybox").fancybox();
});
</script>
<?php if (!empty($this->options->AKAROMfucset) && in_array('AKAROMindexloading', $this->options->AKAROMfucset)): ?>
<script type="text/javascript" src="<?php $this->options->themeUrl('config/js/loading.js?v=2.2'); ?>"></script>
<?php endif; ?>
<script src="<?php $this->options->themeUrl('config/js/OwO.js'); ?>"></script>
<script>
function OwO_show() {
if ($(".OwO-items").css("max-height") == '0px') {
$(".OwO").addClass("OwO-open");
} else {
$(".OwO").removeClass("OwO-open");
}
}
</script>
<script src="<?php $this->options->themeUrl('config/js/md5.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('config/js/preheadicon.js?v=2.2'); ?>"></script>
<!-- 自定义JS -->
<?php if(!empty($this->options->AKAROMcustomJs)): ?>
<script type="text/javascript">
<?php $this->options->AKAROMcustomJs(); ?>
</script>
<?php endif; ?>
<?php $this->footer(); ?>
</div>
</body>
</html>