Cuteen的Cuteen5x美化
•技术
754
0
更改代码的文件路径:cuteen/include/footer.php
底部信息优化 仅供参考
<footer id="footer" class="bg-white p-4 text-center mt-4">
<p class="small">
© <?php echo date('Y'); ?>
<a href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title(); ?></a>
</p>
<p class="small">
<?php if ($this->options->ICP) : ?>
<svg class='icon icon-20' aria-hidden='true'>
<use xlink:href='#ICP'></use>
</svg>
<a href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank"> <?php $this->options->ICP() ?></a>
<?php endif; ?>
<?php if ($this->options->Policemen) : ?>
<span class="vr d-none d-sm-inline-block"></span><br class="d-block d-sm-none"/>
<a target="_blank"
href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=<?= preg_replace('/[^\d]*/', '', $this->options->Policemen) ?>"><?php $this->options->Policemen() ?></a>
<?php endif; ?>
</p>
<p class="small"><a style="color:inherit;"><span id = "runtime_span"></span></a>
<script type = "text/javascript">
function show_runtime()
{window.setTimeout("show_runtime()",1000);X=new
Date("10/01/2020 00:00:00"); //初始建站时间修改此处
Y=new Date();T=(Y.getTime()-X.getTime());M=24*60*60*1000;
a=T/M;A=Math.floor(a);b=(a-A)*24;B=Math.floor(b);c=(b-B)*60;C=Math.floor((b-B)*60);D=Math.floor((c-C)*60);
runtime_span.innerHTML="本站已运行"+A+"天"+B+"小时"}show_runtime();
</script>
<a style="color:inherit;" target="_blank" href="https://www.foreverblog.cn/go.html" >十年之约</a> | <a style="color:inherit;" target="_blank" href="http://hcke.top" >丘先森朋友圈</a>
| <a style="color:inherit;" target="_blank" href="https://so.qsir.cn/" >设计师导航</a>
</p>
<!-- 此处版权可以修改或删除,建议保留,谢谢 -->
<p class="small"> Powered by <a href="http://typecho.org" target="_blank">Typecho</a> ※ Theme is <a
href="https://blog.zwying.com" target="_blank">Cuteen</a></p>
</footer>