forked from Tokinx/Wing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
executable file
·76 lines (72 loc) · 2.82 KB
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } ?>
</div><!-- content -->
</main><!-- main -->
</section><!-- core -->
<footer id="footer">
<div class="d-flex flex-center justify-between flex-wrap">
<div class='left'>
<span>© <?= date( 'Y' ) ?> <a href="<?= get_bloginfo( 'url' ) ?>"><?= get_bloginfo( 'name' ) ?></a></span>
</div>
<div class='right'>
<span>Theme by <a class="theme-name" href="https://biji.io" target="_blank"><?= THEME_NAME ?></a></span>
</div>
</div>
<div class="text-center text-tiny mt-2 w-100" style="opacity: 0.2;">
<?php if ( $code = get_icp_num() ) { ?>
<span class="mx-1"><a href="https://beian.miit.gov.cn" target="_blank"><?= $code; ?></a></span>
<?php } ?>
<?php if ( $code = get_theme_mod( 'biji_setting_net' ) ) { ?>
<span class="mx-1"><a href="https://www.beian.gov.cn/portal/registerSystemInfo"
target="_blank"><?= $code; ?></a></span>
<?php } ?>
</div>
<div class="scroll-tools mr-2">
<div class="dropdown">
<a class="btn btn-link btn-action uni-bg bg-blur uni-shadow dropdown-toggle flex-center"
href="/wp-admin" target="_blank" tabindex="0">
<i class="czs-fingerprint-l"></i>
</a>
</div>
<div style="height: 0.4rem;"></div>
<a class="scroll-top btn btn-link btn-action uni-bg bg-blur uni-shadow flex-center"
href="javascript: $h.scrollTo();">
<i class="czs-rocket"></i>
</a>
</div>
</footer>
<script data-no-instant>
function _exReload() {
<?php if (get_theme_mod( 'biji_setting_lately', true )) { ?>
(() => {
let _op = undefined;
if ( !["zh_SC", "zh_CN"].includes($lang.lang) ) {
_op = { target: 'time', lang: $lang.options("Lately") }
}
window.Lately && Lately.init(_op);
})();
<?php } if (get_theme_mod( 'biji_setting_view_image', true )) { ?>
window.ViewImage && ViewImage.init();
<?php } if (get_theme_mod( 'biji_setting_prettify', true )) { ?>
window.prettyPrint && prettyPrint();
<?php }
echo get_theme_mod( 'biji_setting_foot_script' ) ?: "";
?>
if ( window.WP_DOUBAN && document.querySelector('.db--container') ) {
new WP_DOUBAN();
}
}
</script>
</div>
<?php wp_footer(); ?>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?92ba59e5187e2c9598faab7f5f25b51e";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<!--网站效率:<?php timer_stop( 4 ); ?>秒内查询了<?= get_num_queries(); ?>次数据库-->
</body>
</html>