This repository has been archived by the owner on Sep 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
footer.php
84 lines (83 loc) · 5.02 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
77
78
79
80
81
82
83
84
<?php if ( ! defined( 'ABSPATH' ) ) exit;
/**
* boxmoe.com
*/
?>
</main>
<footer class="footer">
<div class="container">
<div class="row row-grid align-items-center">
<div class="col-lg-12 text-lg-center btn-wrapper justify-content-center"><?php if(get_boxmoe('boxmoe_qq')){?>
<a href="https://wpa.qq.com/msgrd?v=3&uin=<?php echo get_boxmoe('boxmoe_qq');?>&site=qq&menu=yes" target="_blank" class="btn-icon-only btn btn-qq " data-toggle="tooltip" data-original-title="博主QQ<?php echo get_boxmoe('boxmoe_qq');?>">
<span class="btn-inner--icon">
<i class="fa fa-qq"></i>
</span>
</a><?php } ?><?php if(get_boxmoe('boxmoe_github')){?>
<a target="_blank" href="<?php echo get_boxmoe('boxmoe_github');?>" class="btn-icon-only btn btn-github" data-toggle="tooltip" data-original-title="Github">
<span class="btn-inner--icon">
<i class="fa fa-github"></i>
</span>
</a><?php } ?><?php if(get_boxmoe('boxmoe_weibo')){?>
<a target="_blank" href="<?php echo get_boxmoe('boxmoe_weibo');?>" class="btn-icon-only btn btn-weibo" data-toggle="tooltip" data-original-title="微博">
<span class="btn-inner--icon">
<i class="fa fa-weibo"></i>
</span>
</a><?php } ?><?php if(get_boxmoe('boxmoe_wechat')){?>
<button type="button" class="btn-icon-only btn btn-wechat" data-toggle="modal" data-target="#modal-weixin">
<span class="btn-inner--icon">
<i class="fa fa-wechat"></i>
</span>
</button>
<div class="modal fade" id="modal-weixin" tabindex="-1" role="dialog" aria-labelledby="modal-weixin" aria-hidden="true">
<div class="modal-dialog modal-danger modal-dialog-centered modal-" role="document">
<div class="modal-content bg-gradient-danger">
<div class="modal-header">
<h6 class="modal-title" id="modal-title-notification">打开微信扫一扫二维码就可以啦</h6>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<div class="py-3 text-center">
<img class="img img-raised" src="<?php echo get_boxmoe('boxmoe_wechat') ;?>" width="200" height="200" alt="wechat"></div>
</div>
</div>
</div>
</div><?php } ?><?php if(get_boxmoe('boxmoe_mail')){?>
<a href="http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=<?php echo get_boxmoe('boxmoe_mail');?>" target="_blank" class="btn-icon-only btn btn-mail" data-toggle="tooltip" data-original-title="Email:<?php echo get_boxmoe('boxmoe_mail');?>"><span class="btn-inner--icon"><i class="fa fa-envelope"></i></span></a><?php } ?>
</div>
</div>
<hr class="hr-icon">
<div class="row align-items-center justify-content-md-between">
<div class="col-md-12 ">
<?php echo get_boxmoe('footer_seo') ;?>
</div>
<div class="col-md-12">
<div class="copyright text-center">© <?php echo date('Y'); ?>
<a href="<?php echo home_url();?>" target="_blank" ><?php echo get_bloginfo( 'name' );?> </a> | Theme by <a href="https://www.boxmoe.com" target="_blank" >LoLiMeow</a> <?php echo get_boxmoe('footer_info') ?>
<div <?php if(get_boxmoe('trackcodehidden'))echo 'style="display:none;"'?>><?php echo get_boxmoe('trackcode') ?></div>
<?php if(get_boxmoe('boxmoedataquery') ){?><?php echo get_num_queries(); ?> queries in <?php timer_stop(3); ?> s <?php } ?>
</div>
</div>
</div>
</div>
</footer>
<div id="search">
<span class="close">X</span>
<form role="search" id="searchform" method="get" action="<?php echo home_url( '/' ) ?>">
<div class="search_form_inner animate slideUp">
<div class="search-bar">
<i class="fa fa-search"></i>
<input type="search" name="s" value="<?php echo htmlspecialchars($s) ?>" placeholder="输入搜索关键词..." /></div>
</div>
</form>
</div><?php if (get_boxmoe('lolijump') ): ?>
<div id="lolijump" data-toggle="tooltip" data-original-title="<?php echo get_boxmoe('lolijumptext'); ?>">
<img src="<?php echo boxmoe_load_style(); ?>/assets/images/top/<?php echo get_boxmoe('lolijumpsister'); ?>.gif"></div>
<?php endif; ?>
<script src="<?php echo boxmoe_load_style();?>/assets/js/plugin.min.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/assets/js/comments.js"></script>
<?php if(get_boxmoe('code_light_on')){?><script src="<?php echo boxmoe_load_style();?>/assets/js/prettify.js"></script><?php } ?>
<script src="<?php echo boxmoe_load_style();?>/assets/js/theme.js"></script>
<?php wp_footer(); ?>
</body>
</html>