-
Notifications
You must be signed in to change notification settings - Fork 35
/
footer.php
118 lines (108 loc) · 4.52 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
<footer class="footer">
<div class="branding">
<!--友情链接-->
<div class="branding_link">
<section class="container">
<?php echo $aik['homelink'];?>
</section>
</div>
<!--友情链接结束-->
<!--居中部分-->
<hr style="display: block;height: 1px;margin-bottom: 10px;background-color: #4f4f4f; margin-top: 0px;margin-bottom: 20px;border: 0;"/>
<div class="container footer-tit">
<div class="counter">
『您是本站第<img border="0" src="http://cc.amazingcounters.com/counter.php?i=3220742&c=9662539" alt="AmazingCounters.com">位访客』
</div>
<p><?php echo $aik['foot'];?></p>
<p>管理员邮箱:<?php echo $aik['admin_email'];?> <a class="foot-tt" href="http://yiwen.qiniudn.com/" ><img style="vertical-align: middle;" src="http://yiwen.qiniudn.com/img/beian.png"/><?php echo $aik['icp'];?></a> </p>
<p>Copyright © 2018 <a href="http://yiwen.qiniudn.com/" target="_blank" style="color:;">深漂鱼 </a>版权所有|网站运行:<span id="htmer_time" style="color:#888;"></span>
<script type="text/javascript" language="javascript">
function secondToDate(second) {
if (!second) {
return 0;
}
var time = new Array(0, 0, 0, 0, 0);
if (second >= 365 * 24 * 3600) {
time[0] = parseInt(second / (365 * 24 * 3600));
second %= 365 * 24 * 3600;
}
if (second >= 24 * 3600) {
time[1] = parseInt(second / (24 * 3600));
second %= 24 * 3600;
}
if (second >= 3600) {
time[2] = parseInt(second / 3600);
second %= 3600;
}
if (second >= 60) {
time[3] = parseInt(second / 60);
second %= 60;
}
if (second > 0) {
time[4] = second;
}
return time;
}
function setTime() {
// 博客创建时间秒数,时间格式中,月比较特殊,是从0开始的,所以想要显示5月,得写4才行,如下
var create_time = Math.round(new Date(Date.UTC(2018, 1, 28, 0, 0, 0))//修改建站时间
.getTime() / 1000);
// 当前时间秒数,增加时区的差异
var timestamp = Math.round((new Date().getTime() + 8 * 60 * 60 * 1000) / 1000);
currentTime = secondToDate((timestamp - create_time));
currentTimeHtml = currentTime[0] + '年' + currentTime[1] + '天'
+ currentTime[2] + '时' + currentTime[3] + '分' + currentTime[4]
+ '秒';
document.getElementById("htmer_time").innerHTML = currentTimeHtml;
}
setInterval(setTime, 1000);
</script></p>
<p class="toot-tto"><?php echo $aik['tongji'];?></p>
<!--统计展示-->
</div>
</div>
</footer>
<!--侧滑-->
<section class="ch">
<div class="rollbar-weibo" title="新浪微博关注一下我">
<a class="rollbar-weibo" href="<?php echo $aik['weibourl'];?>" target="_blank"></a>
</div>
<div class="rollbar-weix" title="关注微信公众号"><div class="weixinx"></div></div>
<div class="rollbar-erweima" title="下载手机app"><div class="erweims"></div></div>
<div class="rollbar-item" title="返回顶部"><a class="rollbar-top" href="#top"></a></div>
</section>
<section class="ch1">
<?php echo $aik['ch1'];?>
</section>
<!--<script type="text/javascript">
//判断F12审查元素
function fuckyou() {
window.close(); //关闭当前窗口(防抽)
window.location = "about:blank"; //将当前窗口跳转置空白页
}
function ck() {
console.profile();
console.profileEnd();
//我们判断一下profiles里面有没有东西,如果有,肯定有人按F12了,没错!!
if(console.clear) {
console.clear()
};
if(typeof console.profiles == "object") {
return console.profiles.length > 0;
}
}
function hehe() {
if((window.console && (console.firebug || console.table && /firebug/i.test(console.table()))) || (typeof opera == 'object' && typeof opera.postError == 'function' && console.profile.length > 0)) {
fuckyou();
}
if(typeof console.profiles == "object" && console.profiles.length > 0) {
fuckyou();
}
}
hehe();
window.onresize = function() {
if((window.outerHeight - window.innerHeight) > 200)
//判断当前窗口内页高度和窗口高度,如果差值大于200,那么呵呵
fuckyou();
}
</script>-->