-
Notifications
You must be signed in to change notification settings - Fork 79
/
footer.php
58 lines (56 loc) · 2.56 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-->
<?php if($this->options->footad && !empty($this->options->footad) ): ?>
<div class="branding branding-black">
<div class="container">
<?php $this->options->footad(); ?>
</div>
</div>
<?php endif; ?>
<footer id="footer" class="footer">
<div class="container">
<?php if($this->options->flinks && !empty($this->options->flinks) ): ?>
<div class="flinks">
<strong>友情链接</strong>
<ul class='xoxo blogroll'>
<?php $this->options->flinks(); ?>
</ul>
</div>
<?php endif; ?>
<?php if($this->options->fcode && !empty($this->options->fcode) ): ?>
<div class="fcode"><?php $this->options->fcode(); ?></div>
<?php endif; ?>
<div class="copyright">
<p>
© <?php echo date("Y"); ?> <a href="<?php $this->options ->siteUrl(); ?>"><?php $this->options->title();?></a>
<?php if($this->options->miitbeian): ?> | <a href="http://beian.miit.gov.cn/" target="_blank" rel="nofollow"><?php $this->options->miitbeian(); ?></a><?php endif; ?>
<br>
Powered by <a href="http://www.typecho.org/" target="_blank">Typecho</a> |
Theme <a href="https://github.com/hiCasper/Typecho-theme-DUX" target="_blank">DUX</a>
</p>
</div>
<div class="hide"></div>
</div>
</footer>
<?php if ($this->options->useHighline == 'able'): ?>
<script src="//cdn.jsdelivr.net/highlight.js/9.11.0/highlight.min.js"></script>
<?php endif; ?>
<script>
window.jsui={
www: '<?php $this->options ->siteUrl(); ?>',
uri: '<?php echo rtrim($this->options ->themeUrl,"/");?>',
ver: '1.0',
roll: [<?php if (!empty($this->options->sitebar_fu)) {$text = $this->options->sitebar_fu;} else{$text='1';} $sf_arr = explode(",", $text);foreach($sf_arr as $val){echo '"'.$val.'",';} //侧边栏第几个模块浮动 ?>],
ajaxpager: '<?php if ($this->options->infpage == 'disable'): ?>0<?php else: ?>1<?php endif; ?>'
};
</script>
<script type='text/javascript' src='//cdn.jsdelivr.net/bootstrap/3.2.0/js/bootstrap.min.js'></script>
<script type='text/javascript' src='<?php $this->options->themeUrl('js/loader.js'); ?>'></script>
<!-- Analytics code -->
<?php if($this->options->GoogleAnalytics): ?>
<?php $this->options->GoogleAnalytics(); ?>
<?php endif; ?>
</body>
</html>