网站底部美化-子比主题论坛-WordPress-轻论坛

网站底部美化

预览图

45a9f528af222316

简介

今天给大家带来底部美化

教程

当前时间代码

<span id=localtime></span>
<script type="text/javascript">function showLocale(objD) {
        var str, colorhead, colorfoot; var yy = objD.getYear();
        if (yy < 1900) yy = yy + 1900;
        var MM = objD.getMonth() + 1;
        if (MM < 10) MM = '0' + MM;
        var dd = objD.getDate();
        if (dd < 10) dd = '0' + dd;
        var hh = objD.getHours();
        if (hh < 10) hh = '0' + hh;
        var mm = objD.getMinutes();
        if (mm < 10) mm = '0' + mm;
        var ss = objD.getSeconds();
        if (ss < 10) ss = '0' + ss;
        var ww = objD.getDay();
        if (ww == 0) colorhead = "<font color=\"#FF3030\">";
        if (ww > 0 && ww < 6) colorhead = "<font color=\"#FF3030\">";
        if (ww == 6) colorhead = "<font color=\"#FF3030\">";
        if (ww == 0) ww = "星期日";
        if (ww == 1) ww = "星期一";
        if (ww == 2) ww = "星期二";
        if (ww == 3) ww = "星期三";
        if (ww == 4) ww = "星期四";
        if (ww == 5) ww = "星期五";
        if (ww == 6) ww = "星期六";
        colorfoot = "</font>"
        str = colorhead + yy + "-" + MM + "-" + dd + "丨" + hh + ":" + mm + ":" + ss + "丨" + ww + colorfoot;
        return (str);
    } function tick() { var today; today = new Date(); document.getElementById("localtime").innerHTML = showLocale(today); window.setTimeout("tick()", 1000); }
    tick();</script>

我们一直在用心做代码

<img src="https://photo.zhou-si.cn/images/2022/09/13/f0e39a35183db6a5a3770a3bea02c5b8.png" alt="我们一直用心在做标语">

本站受法律保护代码

<div class="item">
    <a target="_blank" href="https://www.gov.cn/" rel="nofollow"><img style="max-width:100%;overflow:hidden;"
            src="https://photo.zhou-si.cn/images/2022/09/13/d747250477884721d29077014bf9951a.png" alt="本站受中华人民共和国法律保护"></a>
</div>

网站数据概览平台

51LA网站数据统计

进入上方网站,注册登录进入v6

安装好代码,然后    网站详情    配置    参数设置 / 数据挂件   设置好放到底部即可 (第一次添加5分钟后才生效)

d4988a8e74223412

 

请登录后发表评论

    没有回复内容


Warning: error_log(/www/wwwroot/www.qingluntan.cn/wp-content/plugins/spider-analyser/#log/log-2909.txt): failed to open stream: No such file or directory in /www/wwwroot/www.qingluntan.cn/wp-content/plugins/spider-analyser/spider.class.php on line 2900