-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfooter.php
58 lines (53 loc) · 2.05 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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<footer class="footer">
<div class="container">
<p>
<?php _e('Powered by <a href="https://www.typecho.org" target="_blank">Typecho</a>'); ?>
<em> · </em>
<?php _e('Theme <a href="https://www.aciuz.com" target="_blank">Sax</a>'); ?>
Processed in <?php echo timer_stop(false,4) ?> second(s)
<em> · </em>
Gzip <?php echo is_Gzip()?'ON':'OFF' ?>
<em> · </em>
SSL <?php echo is_SSL()?'ON':'OFF' ?>
</p>
<p>
© <?php echo date('Y'); ?> <a href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title(); ?></a> All right reserved.
<?php if($this->options->beian){ ?>
<?php $this->options->beian(); ?>
<?php } ?>
<em> · </em>
<a href="<?php $this->options->feedUrl(); ?>"><?php _e('文章 RSS'); ?></a>
<em> · </em>
<a href="<?php $this->options->commentsFeedUrl(); ?>"><?php _e('评论 RSS'); ?></a>
</p>
</div>
</footer>
<script src="<?php $this->options->themeUrl('js/jquery.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('js/bootstrap.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('js/jquery.lazyload.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('js/sticky.min.js'); ?>"></script>
<script src="<?php $this->options->themeUrl('js/lightbox.min.js'); ?>"></script>
<script>
$(document).ready(function(){
$(window).scroll(function(){
if($(window).scrollTop() > 50) {
$("body").addClass("header-fixed")
} else {
$("body").removeClass("header-fixed")
}
})
$('[data-toggle="tooltip"]').tooltip()
$(".lazyload").lazyload({
failurelimit:40
});
$("#sticker").sticky({topSpacing:70,bottomSpacing: 120,});
lightbox.option({
'resizeDuration': 200,
'wrapAround': true
})
});
</script>
<?php $this->footer(); ?>
</body>
</html>