-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathfooter.php
executable file
·171 lines (158 loc) · 6.31 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php if (!empty($this->options->DC_WebCustomFooterModeRadio == 'LRMode')): ?>
<footer >
<div style="background-color: #f2f2f2; padding: 0 8%;" >
<div style="display: flex; justify-content: space-between;color: #000;padding: 40px 0;" >
<div style="display: flex;flex-direction: column;line-height: 2;color: #000;" >
<?php if (!empty($this->options->icpba)): ?>
<a target="_blank"
style="color: black;background-color: transparent;text-decoration-line: none;"
href="https://beian.miit.gov.cn/" >互联网ICP备案:<?php $this->options->icpba() ?></a >
<?php endif; ?>
<span ><?php $this->options->DC_WebCustomFooter(); ?></span >
<span >Copyright © <?php echo date('Y'); ?> <?php $this->options->DC_WebName(); ?>.</span >
</div >
<div class="mdui-hidden-sm-down"
style="box-sizing: border-box; display: flex;flex-direction: column;align-items: flex-start;padding: 0 50px;position: relative;" >
<div class="footer-top-contact-logos" >
<?php
if (!empty($this->options->DC_FooterLogoUrl)) {
echo('<img width="180px" height="50px" src="' . $this->options->DC_FooterLogoUrl . '">');
}
?>
</div >
<div style="align-items: center;" >
<div class="mdui-row-xs-3" >
<div class="mdui-col" >
<?php if (!empty($this->options->DC_A_qq)): ?>
<a mdui-dialog="{target: '#DC_A_qq'}" >
<div class="dreamcat-icon-ts icon iconfont icon-QQ-circle-fill"
style="font-size: 35px;" ></div >
</a >
<?php endif; ?>
</div >
<div class="mdui-col" >
<?php if (!empty($this->options->DC_A_github)): ?>
<a href="<?php $this->options->DC_A_github() ?>"
style="text-decoration: none;color: black;" >
<div class="dreamcat-icon-ts icon iconfont icon-github"
style="font-size: 35px;" ></div >
</a >
<?php endif; ?>
</div >
<div class="mdui-col" >
<?php if (!empty($this->options->DC_A_wx)): ?>
<a mdui-dialog="{target: '#DC_A_wx'}" >
<div class="dreamcat-icon-ts icon iconfont icon-logo-wechat"
style="font-size: 35px;" >
</div >
</a >
<?php endif; ?>
</div >
</div >
</div >
</div >
</div >
</div >
</footer >
<?php else: ?>
<footer class="dreamcat-footer-c-0" >
<div class="dreamcat-footer-c-1"
style="
background-color: #f2f2f2;
display: flex;
justify-content: center;
align-items: center;" >
<div class="dreamcat-footer--c2"
style="
display: flex;
justify-content: space-between;
color: #000;
padding: 40px 0;
text-align: center;" >
<div class="dreamcat-footer-c-3"
style="
display: flex;
flex-direction: column;
line-height: 2;
color: #000;
text-align: center;" >
<span ><?php $this->options->DC_WebCustomFooter(); ?></span >
<?php if (!empty($this->options->icpba)): ?>
<a target="_blank"
style="color: black;background-color: transparent;text-decoration-line: none;"
href="https://beian.miit.gov.cn/" >互联网ICP备案:<?php $this->options->icpba() ?></a >
<?php endif; ?>
<span >Copyright © <?php echo date('Y'); ?> <?php $this->options->DC_WebName(); ?>.</span >
</div >
</div >
</div >
</footer >
<?php endif; ?>
<div class="mdui-dialog" id="DC_A_qq" >
<div class="mdui-dialog-title" >加我的QQ</div >
<div class="mdui-dialog-content mdui-typo" >
<img src="<?php $this->options->DC_A_qq(); ?>" >
</div >
<div class="mdui-dialog-actions" >
<button class="mdui-btn mdui-ripple" mdui-dialog-confirm >确认</button >
</div >
</div >
<div class="mdui-dialog" id="DC_A_wb" >
<div class="mdui-dialog-title" >加我的微博</div >
<div class="mdui-dialog-content mdui-typo" >
<img src="<?php $this->options->DC_A_wb() ?>" >
</div >
<div class="mdui-dialog-actions" >
<button class="mdui-btn mdui-ripple" mdui-dialog-confirm >确认</button >
</div >
</div >
<div class="mdui-dialog" id="DC_A_zfb" >
<div class="mdui-dialog-title" >加我的支付宝</div >
<div class="mdui-dialog-content mdui-typo" >
<img src="<?php $this->options->DC_A_zfb() ?>" >
</div >
<div class="mdui-dialog-actions" >
<button class="mdui-btn mdui-ripple" mdui-dialog-confirm >确认</button >
</div >
</div >
<div class="mdui-dialog" id="DC_A_wx" >
<div class="mdui-dialog-title" >加我的微信</div >
<div class="mdui-dialog-content mdui-typo" >
<img src="<?php $this->options->DC_A_wx() ?>" >
</div >
<div class="mdui-dialog-actions" >
<button class="mdui-btn mdui-ripple" mdui-dialog-confirm >确认</button >
</div >
</div >
<div class="mdui-fab-wrapper" >
<a href="#top" class="mdui-fab mdui-fab-mini mdui-ripple mdui-color-pink scrollTop" id="back-top"
onclick="scrollFunction()" >
<i class="mdui-icon material-icons" ></i ></a >
</div >
<script
src="<?php CustomCDN_FAM('DreamCat_StaticResources/js/', '', 'js/mdui.min.js', 'mdui.min.js'); ?>" >
</script >
<script
src="<?php CustomCDN_FAM('DreamCat_StaticResources/js/', '', 'js/highlight.min.js', 'highlight.min.js'); ?>" >
</script >
<script
src="<?php CustomCDN_FAM('DreamCat_StaticResources/js/', '', 'js/smooth-scroll.min.js', 'smooth-scroll.min.js'); ?>" >
</script >
<script
src="<?php CustomCDN_FAM('DreamCat_StaticResources/js/', '', 'js/dreamcat.js', 'dreamcat.js'); ?>" >
</script >
<script >
hljs.initHighlightingOnLoad();
</script >
<?php if (is_array($this->options->DC_GlobalApp) && in_array('DCShowClickEffect', $this->options->DC_GlobalApp)): ?>
<script
src="<?php CustomCDN_FAM('DreamCat_StaticResources/js/', '', 'js/axtx.js', 'axtx.js'); ?>" >
</script >
<?php endif; ?>
<script >
<?php $this->options->DC_WebCustomJavascript() ?>
</script >
<?php $this->footer(); ?>
</body>
</html>