-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathfooter.php
68 lines (61 loc) · 2.47 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
<footer class="footer ">
<div class="fcard">
<div class="main">
<div class="row ">
<div class="col-l-12" id="foot">
<p>© <?php echo date("Y"); ?> <a href="/"> <?php $this->options->title(); ?></a> All rights reserved.</p>
<?php if ($this->options->filing) { ?><p><a href="http://www.beian.miit.gov.cn"
target="_blank" rel="nofollow"><?php echo $this->options->filing; ?></a></p>
<?php } ?>
<?php if ($this->options->gafiling) { ?><p><img
src="<?php echo $this->options->lodingimg; ?>" ks-original="<?php Helper::options()->themeUrl(); ?>/img/gaba.png" /><?php echo $this->options->gafiling; ?></p>
<?php } ?>
<p> Powered by <a href="http://typecho.org" target="_blank">Typecho</a> Theme <a href="https://www.mmcee.cn/244.html" target="_blank">EYE</a></p>
<?php if ($this->options->upyuncdn=='true') { ?>
<p><a href="https://www.upyun.com/" target="_blank"><img
src="<?php echo $this->options->lodingimg; ?>" ks-original="<?php Helper::options()->themeUrl(); ?>/img/upyun.png" alt="upyun" height=28 /></a></p>
<?php } ?>
<p><?php echo $this->options->jieshao; ?></p>
</div>
</div>
</div>
</div>
</footer>
</body>
<?php if ($this->options->fujia) echo $this->options->fujia; ?>
<script>
ks.image("article img");
ks.lazy("img");
</script>
<script type="text/javascript">
$(document).ready(function(){
$('.the-nav').cbFlyout();
});
</script>
<script>
var mySwiper = new Swiper ('.swiper-container', {
grabCursor: true,
mousewheel: true,
autoplay:true,
scrollbar: {
el: '.swiper-scrollbar',
},
})
</script>
<script>
// 当网页向下滑动 20px 出现"返回顶部" 按钮
window.onscroll = function() {scrollFunction()};
function scrollFunction() {console.log(121);
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
document.getElementById("myBtn").style.display = "block";
} else {
document.getElementById("myBtn").style.display = "none";
}
}
// 点击按钮,返回顶部
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
</html>