加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
footer.php 3.32 KB
一键复制 编辑 原始数据 按行查看 历史
Young小杰 提交于 2018-07-12 22:05 . 1.3发布
<?php
if ($id) {mores($as['tools_url'],$navs,Tools_url.'/'.$CONF['config']['TOOLS_T']);}
?>
<!--footer start-->
<footer class="footer text-center">
<div>
<!--切勿商用,切勿改版权,后果自付-->
Copyright <a href="http://www.youngxj.cn" target="_blank">Youngxj</a> 2018 - <?php echo $tools_settings['icp'];?> <a href="<?php echo Tools_url;?>/log.php" target="_blank">时间轴</a> <a href="<?php echo Tools_url;?>/about.php" target="_blank">关于</a>
</div>
<div class="hitokoto">
<script type="text/javascript" src="https://api.yum6.cn/djt/index.php?encode=js"></script>
<script>binduyan()</script>
</div>
<div class="footer text-center">
<!--这里可以放统计代码-->
<?php echo $tools_settings['footer'];?>
</div>
<div id="f_list">
<a rel="noopener noreferrer" target="_blank" class="btn qq-qun copy-btn js-tip" title="QQ群" href="//shang.qq.com/wpa/qunwpa?idkey=3ce04929f3f5c27b3fc20a892fefd8bfa9a2849f6e33fb4c49b1f1ab16991ff5" original-title="QQ群: 774688083"><i class="fa fa-qq "></i></a>
<a rel="noopener noreferrer" target="_blank" class="btn weibo js-tip" href="http://weibo.com/youngxj0" title="微博"><i class="fa fa-weibo"></i></a>
<?php if($tools_settings['templates']==0){?><a rel="noopener noreferrer" target="_blank" class="btn weibo js-tip" href="javascript:temp();" title="切换主题"><i class="fa fa-television"></i></a><?php }?>
<?php if($tools_priority=='1'){?>
<a rel="noopener noreferrer" target="_blank" class="btn weibo js-tip" href="javascript:priority();" title="切换排序"><i class="fa fa-cog fa-spin"></i></a>
<?php }?>
<a rel="noopener noreferrer" target="_blank" class="btn github js-tip" href="https://gitee.com/youngxj0/YoungxjTools"><i class="fa fa-github-alt"></i></a>
<a class="btn gotop js-tip" href="javascript:gotop();" title="返回顶部" id="gotop"><i class="fa fa-arrow-up"></i></a>
</div>
<style type="text/css">
#welcome{width:200px;background:#fff;border:1px solid #eee;color:#000;font-size:14px;opacity:0.7;filter:alpha(opacity=70);padding:10px 20px;position:fixed;right:10px;bottom:25px;z-index:99999;box-shadow:rgb(136,123,123) 3px 2px 5px;opacity:1;}
#welcome h4{color:#F00; line-height:30px; padding:0!important;margin:0!important;text-align:left;}
.closebox{float:center;text-align:center;margin-top:10px;}
</style>
<?php if(isset($tools_settings['notice'])&&$tools_settings['notice']!==''){?>
<div id="welcome" <?php if($_COOKIE['web_Notice']=='1'){echo 'style="display:none;"';}?>>
<h4>公告:</h4>
<script>
//公告自动关闭控制1->自动关闭;0->不关闭
var ex = '1';
//公告自动关闭延时:1秒=1000;
var extime = '10000';
if (ex == 1) {
setTimeout(function() {
if (document.all) {
document.getElementById("clickMe").click()
} else {
var e = document.createEvent("MouseEvents");
e.initEvent("click", true, true);
document.getElementById("clickMe").dispatchEvent(e)
}
},extime);
}
</script>
<?php echo $tools_settings['notice'];?>
<div class="closebox">
<a href="javascript:void(0)" onclick="$('#welcome').slideUp('slow');$('.closebox').css('display','none');setCookie('web_Notice','1','1');" title="今天不再提醒" id="clickMe">不再提醒</a>
</div>
</div>
<?php }?>
</footer>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化