This repository has been archived by the owner on Jul 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathfooter.php
executable file
·66 lines (56 loc) · 2.44 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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<footer id="footer" role="contentinfo">
© <?php _e($this->options->startYear) ?> - <?php echo date('Y'); ?> <a href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title(); ?></a>.
<br />
<?php if ($this->options->icpNum):?>
<a rel="nofollow" href="http://beian.miit.gov.cn"> <?php $this->options->icpNum(); ?> </a>
<br />
<?php endif;?>
<?php if ($this->options->EnableBusuanzi == 'able' ): ?>
<span id="busuanzi_value_site_pv">......</span> visits ·
<span id="busuanzi_value_site_uv">......</span> visitors
<?php endif; ?>
<?php if ($this->options->EnableBusuanzi == 'able' && $this->options->EnableWordsCounter == 'able' ): ?>
·
<?php endif; ?>
<?php if ($this->options->EnableWordsCounter == 'able' ): ?>
<span id="words_counter"><?php WordsCounter_Plugin::allOfCharacters(); ?></span> words
<?php endif; ?>
</footer><!-- end #footer -->
<?php if ($this->options->WhereToDisplaySearch == 'bottom' ): ?>
<div class="site-search">
<form id="search" method="post" action="<?php $this->options->siteUrl(); ?>" role="search">
<label for="s" class="sr-only">搜索关键字</label>
<input type="text" id="s" name="s" class="text" placeholder="在这里输入关键字哦 ~ (回车搜索)" />
<!-- <button type="submit" class="submit">搜索</button> -->
</form>
</div>
<?php endif; ?>
</div>
</div><!-- end #body -->
<?php if ($this->options->EnableBusuanzi == 'able' ): ?>
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<?php endif; ?>
<!-- <style>.MathJax:focus {outline: none;}</style>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
"fast-preview": {disabled: true},
tex2jax: {inlineMath:[ ["$", "$"] ],displayMath:[ ["$$","$$"] ],processEscapes: true},
"HTML-CSS": { availableFonts: ["TeX"] }
});
</script>
<script type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> -->
<script src="//cdn.jsdelivr.net/npm/[email protected]/highlight.pack.min.js"></script>
<script> hljs.initHighlightingOnLoad(); </script>
<?php if ($this->options->hideStatCode == 'able' ): ?>
<div style="display:none">
<?php endif; ?>
<?php if ($this->options->statCode) { $this->options->statCode(); }?>
<?php if ($this->options->hideStatCode == 'able'): ?>
</div>
<?php endif; ?>
<?php $this->footer(); ?>
</body>
</html>