标签: HTML

  • wordpress自媒体新闻资讯整站源码带资源带采集规则自动采集手机版自适应

    wordpress自媒体新闻资讯整站源码带资源带采集规则自动采集手机版自适应

    wordpress自媒体新闻资讯整站源码带资源带采集规则自动采集手机版自适应可以用来打造成类似网易、搜狐、新浪、凤凰网这样的大型门户网站。如果您正希望搭建一个漂亮、大气、专业的门户网站、新闻网站、资讯网站,那么这款大门户WordPress主题会是一个非常好的选择。大门户主题,所见即所得!自适应设计,完美兼容PC电脑、平板电脑、手机访问
    支持环境:Windows/linux PHP5.3/4/5/6 7.0/1/2 mysql5.+
    推荐环境:linux php5.6 mysql5.6
    内置大量文章,安装后即可运营省时省力;
    1、内置高效率采集插件,每天自动采集1次(间隔可自行修改),真正做到无人值守;
    2、内置多个采集规则,请注意:45条采集规则4条已经失效,介意者勿拍!
    3、内置缓存插件一个,减轻前台访问压力;
    4、网站管理简单快捷,基本前台显示信息均可在后台修改,无需动代码;
    5、程序全开源,无任何加密;
    6、使用前台HTML5+CSS3 响应式布局,多终端兼容(pc+手机+平板),数据同步,方便管理;

  • 青辰网络考试管理系统NES X3.5

    青辰网络考试管理系统NES X3.5

    青辰智能网络考试管理系统NES采用功能强大、高效灵活的B/S 架构模式,先进的HTML5技术作为前端开发,用户可通过PC、手机、平板等终端进行访问。具有高度的可扩展性,被授权的考生不管身处何地,只要可以使用网络浏览器,就可通过网络登录在线考试系统,参加在线学习、练习、考试等;系统实现了按题型随机抽题组卷、在线考试、题库管理、系统管理的功能,即考即显分数。

    用户登录成功后,选择考试科目进入考试页面,完成相应科目考试,自动给出考试成绩。

    系统管理,实现了对题库、考生信息、考试成绩、考试科目的管理。题库管理,实现了对试题的添加、编辑、删除功能;考生信息管理可以批量添加、修改、删除、查询考生信息,成绩管理可以删除,科目管理数量不限,层级不限。

    第三方可通过青辰智能网络考试管理系统NES实现无缝集成,从而达到数据统一管理的目的,为企事业、校园、培训机构等单位提供了良好信息数据集成基础、强大的自定义表单功能、可通过简单的配置就可以生成一张企业所需要的表单,非常方便简洁,系统UI设计美观大方。

    青辰智能网络考试管理系统NAS适用于公司、政府单位、校园、培训机构行业等行业使用;并且允许多部门多职员协同工作。

    功能特点:

    防舞弊功能强大:题库量大、试卷随机产生,有效杜绝相邻考生出现同一份试卷。

    安全、公平、公正:考生只可以查看本人的试卷、考试数据、考生成绩,教师可以查看每场考试的具体情况,有效保证了考试的安全性和公平公正性。

    稳定性好:只有本场考试已经启动,考生可以在任意的时间段进行考试,本场考试结束后,教师可以阅卷。

    自动化程序高:集试题、考试、成绩处理、统计、打印一体,极大地提高了考试管理与办公自动化水平。

    易维护:在局域网内进行考试,局域网的技术要求较低、易实现,而且考试系统软件安装方便、维护简单。

    用户数量:用户自由设置,数量不设限制;

  • Windows12系统网页版HTML源码

    Windows12系统网页版HTML源码

    Windows12 源码模拟网页win12 ,无需安装,打开start.html即可,功能可以自行增加或者二开等等。

    Windows12系统网页版HTML源码

  • WordPress网站首页添加好看的四格小工具教程

    WordPress网站首页添加好看的四格小工具教程

    直接到网站根目录创建一个css文件(文件名:sige.css),文件名可自定义(注意文件名一致)

    <link rel="stylesheet" href="你的网站/sige.css" type="text/css" >

    然后在header.php模板最上方添加引入代码
    也可自定义HTML里添加css代码最上方写入标签<style></style>,将css代码放入标签内即可!
    css代码如下:

    .hide_sm{display: flex;}
    
    .container .col-1-4{float: left;box-sizing: border-box;margin-right: 7.3333px;width: 100%;}
    
    .container .col-1-4:last-child{margin-right: 0;}
    
    @media (min-width:768px){.container .col-1-4{width: 50%}}
    
    @media (min-width:1024px){.container .col-1-4{width: 25%}}
    
    @media (min-width:1024px){.ripro-dark .home-first{background: #232425;}}
    
    @media (min-width:768px){.home-first .h-images:after{display: none}}
    
    @media (min-width:768px){.home-first .h-images{display: box;display: -ms-flexbox;display: flex;width: 100%;justify-content: space-between}}
    
    @media (min-width:1024px){.home-first .h-images{width: 25%}}
    
    .home-first .h-images .item-tuwen{float: left;padding: 0 6.5px;width: 50%}
    
    @media (min-width:1024px){.home-first .h-images .item-tuwen{float: none}}
    
    @media (min-width:1024px){.home-first .h-images{display: block;box-sizing: border-box;padding: 0 7.3333px}.home-first .h-images .item-tuwen{padding: 0;width: auto}}
    
    .home-first .item-tuwen{margin-bottom: 15px}
    
    @media (min-width:768px){.home-first .item-tuwen{margin-bottom: 13px}}
    
    .home-first .item-tuwen a{position: relative;display: block;overflow: hidden;border-radius: 3px}
    
    .home-first .item-tuwen a .thumb{padding-top: 57%;transition: all .2s;transform-origin: center}
    
    .home-first .item-tuwen a strong{position: absolute;right: 0;bottom: 0;left: 0;z-index: 10;display: block;padding: .4em .8em .6em;background-image: linear-gradient(to bottom,rgba(0,0,0,.2) 0,rgba(0,0,0,.6) 100%);background-repeat: repeat-x;box-shadow: 0 -7px 15px rgba(0,0,0,.2);color: #fff;letter-spacing: .5px;font-weight: 700;font-size: 9pt;line-height: 1.3}
    
    @media (min-width:768px){.home-first .item-tuwen a strong{letter-spacing: 1px;font-size: 14px;line-height: 1.4}}
    
    .home-first .hf-widget{box-sizing: border-box;padding: 14px 17px 0;background: #17161600;box-shadow: 0 34px 20px -24px rgba(220, 220, 220, 0.18);border-radius: 3px;}
    
    .ripro-dark .home-first .hf-widget{border: 1px solid #2b2b2b;background: #232425;box-shadow: 8px 8px 9pt #212121;}
    
    @media (min-width:768px){.home-first .hf-widget{overflow: hidden;height: 135px}}
    
    @media (min-width:1024px){.home-first .hf-widget{margin-bottom: 0}}
    
    .home-first .hf-widget [class*=" icon-"]:before,.home-first .hf-widget [class^=icon-]:before{margin: 0}
    
    .home-first .hf-widget .hf-widget-title{margin-bottom: 14px;padding: 0 0 10px;border-bottom: 1px solid #f2f2f2;color: #383838;letter-spacing: 1px;font-weight: 700;font-size: 15px;line-height: 20px;margin-bottom: 10px;}
    
    .ripro-dark .home-first .hf-widget .hf-widget-title{border-bottom: 1px solid #696969;}
    
    .ripro-dark .home-first .hf-widget .hf-widget-title a{color: #ccc;}
    
    .home-first .hf-widget .hf-widget-title>i{margin-right: 2px;color: #448aff;}
    
    .ripro-dark .home-first .hf-widget .hf-widget-title>i{margin-right: 2px;color: #ffa363}
    
    .home-first .hf-widget .hf-widget-title span{margin-left: 10px;color: #a7a7a7;font-weight: 400;font-size: 9pt;line-height: 20px}
    
    @media (min-width:1024px){.home-first .hf-widget .hf-widget-title span{display: none}}
    
    @media (min-width:1330px){.home-first .hf-widget .hf-widget-title span{display: inline}}
    
    .home-first .hf-widget .hf-widget-title .pages{float: right;padding-top: 2px}
    
    .home-first .hf-widget .hf-widget-title .pages .next,.home-first .hf-widget .hf-widget-title .pages .prev{float: left;margin: 0;padding: 0 2px;height: 1pc;border: 1px solid #eee;color: #ccc;font-size: 9px;line-height: 15px;cursor: pointer}
    
    .home-first .hf-widget .hf-widget-title .pages .next:hover,.home-first .hf-widget .hf-widget-title .pages .prev:hover{color: #448aff}
    
    .home-first .hf-widget .hf-widget-title .pages .prev{border-right: none}
    
    .home-first .hf-widget .hf-tags{margin-bottom: -10px}
    
    @media (min-width:768px){.home-first .hf-widget .hf-tags{overflow: hidden;height: 4pc}}
    
    .home-first .hf-widget .hf-tags a{display: inline-block;margin: 0 5px 10px;padding: 0 5px;height: 22px;border-radius: 2px;background: #f9f9f9;color: #888;white-space: nowrap;font-size: 9pt;line-height: 22px;word-break: break-all}
    
    .home-first .hf-widget .hf-tags a.style_orange,.home-first .hf-widget .hf-tags a:hover{background: #448aff;color: #fff;}
    
    .ripro-dark .home-first .hf-widget .hf-tags a{background: #2c2e2f;}
    
    .home-first .hf-widget-4 .hf-widget-content{color: #888;font-size: 14px}
    
    .home-first .hf-widget-4 .hf-widget-content a{color: #888}
    
    .home-first .hf-widget-4 .hf-widget-content a:hover{color: #448aff;}
    
    .home-first .hf-widget-4 .hf-widget-content h3{overflow: hidden;height: 22px;font-weight: 400;font-size: 13px;line-height: 22px;margin: 0 0 10px;}
    
    .home-first .hf-widget-4 .hf-widget-content em{float: right;padding: 0 5px;height: 22px;border-radius: 2px;background: #fff5ef;color: #ff5c00;font-style: normal;font-size: 9pt;line-height: 22px}
    
    .home-first .hf-widget-4 .hf-widget-content ul li{margin-bottom: 5px}
    
    .home-first .hf-widget-4 .hf-widget-content ul li:last-child{margin-bottom: 0}
    
    .home-first .hf-widget-1 .hf-widget-content a{color: #888}
    
    .ripro-dark .home-first .hf-widget-1 .hf-widget-content a{color: #ccc}
    
    .home-first .hf-widget-1 .hf-widget-content a:hover{color: #69a1ff;}
    
    .home-first .hf-widget-1 .hf-widget-content li{float: left;box-sizing: border-box;padding: 0 10px;width: 25%;text-align: center;font-size: 9pt}
    
    .home-first .hf-widget-1 .hf-widget-content li .thumb{margin: 0 auto 4px;padding-top: 36px;width: 36px}
    
    .home-first .hf-widget-1 .hf-widget-content li span{display: block; height: 16px; line-height: 16px; overflow: hidden;}
    
    .home-first .hf-widget-1 .hf-widget-content .scroll-h{margin: 0 -10px;}
    
    .home-first .scroll-h{position: relative;overflow: hidden;height: 56px;}
    
    .home-first .scroll-h ul{list-style: none;position: absolute;top: 0;left: 0;width: 100%;transition: all .2s; margin:0;padding-left:0;}
    
    .home-first .scroll-h ul:after,.home-first .scroll-h ul:before{clear: both;display: block;visibility: none;height: 0;content: "";line-height: 0}
    
    .home-first .scroll-h .holdon{position: absolute;top: 0;left: 100%}
    
    .home-first .scroll-h .holdon-prev{left: -100%}
    
    .home-first .hf-widget-hot-cats .hhicon{display: inline-block;margin-bottom: 5px;width: 36px;height: 36px;border-radius: 100%;background: #e8fbff;color: #448aff;text-align: center;font-size: 20px;line-height: 36px;}
    
    .ripro-dark .home-first .hf-widget-hot-cats .hhicon{background: #2c2e2f;color: #ffa363;}
    
    .home-first .hf-widget-hot-cats .scroll-h li a{display: block}
    
    .home-first .hf-widget-hot-cats .scroll-h li a:hover .hhicon{background: #448aff;color: #fff;}
    
    .home-first .thumb{position: relative;display: block;overflow: hidden;padding-top: 66.7%;width: 100%;height: 0;background-color: transparent;background-position: center;background-size: cover;background-repeat: no-repeat;transition: all .2s}
    
    .home-first i{font-weight: 300}
    
    @media screen and (max-width:720px){.home-first .hf-widget-1 .hf-widget-content .scroll-h,.home-first .hf-widget-content{margin: 1pc -10px}}
    
    @media (max-width: 768px){.sxweb {display:none;}}
    
    .icon-b i{
    
    display: inline-block;
    
    margin-bottom: 5px;
    
    width: 36px;
    
    height: 36px;
    
    border-radius: 100%;
    
    background: #e8fbff;
    
    color: #448aff;
    
    text-align: center;
    
    font-size: 20px;
    
    line-height: 36px;
    
    }
    
    .icon-b i:hover{
    
    background: #448aff;
    
    color: #fff;
    
    }

    外观-小工具-自定义HTML添加如下代码

    <div class="section">
    
    <div class="home-first">
    
    <div class="container hide_sm">
    
    <div class="col-1-4">
    
    <div class="hf-widget hf-widget-1 hf-widget-software">
    
    <h3 class="hf-widget-title">
    
    <i class="fa fa-cloud"></i>
    
    <a href="#" target="_blank">推荐产品</a>
    
    <span>云服务器等云产品推荐</span>
    
    </h3>
    
    <div class="hf-widget-content">
    
    <div class="scroll-h">
    
    <ul>
    
    <li>
    
    <a href="#" rel="external nofollow" target="_blank">
    
    <i class="thumb " style="background-image:url(https://ae01.alicdn.com/kf/H026cdceabc1942e1b82b1eb2cd5b9e41P.png)"></i>
    
    <span>阿里云</span></a>
    
    </li>
    
    <li>
    
    <a href="#" target="_blank">
    
    <i class="thumb " style="background-image:url(https://ae01.alicdn.com/kf/H006240f97bff40f5aea223eb51b33c3dq.png)"></i>
    
    <span>腾讯云</span></a>
    
    </li>
    
    <li>
    
    <a href="#" target="_blank">
    
    <i class="thumb " style="background-image:url(https://ae01.alicdn.com/kf/H2da200a36ce2401595f8e03f8c750deeT.png)"></i>
    
    <span>企业云</span></a>
    
    </li>
    
    <li>
    
    <a href="#" target="_blank">
    
    <i class="thumb " style="background-image:url(https://ae01.alicdn.com/kf/H128bb4d1c77d4f6f9032b934a6a234beD.png)"></i>
    
    <span>香港云</span></a>
    
    </li>
    
    </ul>
    
    </div>
    
    </div>
    
    </div>
    
    </div>
    
    <div class="col-1-4 sxweb">
    
    <div class="hf-widget hf-widget-2">
    
    <h3 class="hf-widget-title">
    
    <i class="fa fa-tint"></i>
    
    <a href="#" target="_blank">热门看点</a>
    
    <span>精品内容推荐</span></h3>
    
    <div class="hf-widget-content">
    
    <div class="no-scroll hf-tags">
    
    <a class="style_orange" href="http://www.lxh5068.com" target="_blank">
    
    <span>手机壁纸</span></a>
    
    <a class="" href="/topics/jc-fx" target="_blank">
    
    <span>教程分享</span></a>
    
    <a class="" href="/topics/wz-ym" target="_blank">
    
    <span>源码分享</span></a>
    
    <a class="" href="/topics/rj-android" target="_blank">
    
    <span>Android软件</span></a>
    
    <a class="" href="/topics/xw-zx" target="_blank">
    
    <span>新闻资讯</span></a>
    
    <a class="" href="/xb-zh" target="_blank">
    
    <span>线报活动</span></a>
    
    <a class="" href="/topics/meihua" target="_blank">
    
    <span>美化代码</span></a>
    
    </div>
    
    </div>
    
    </div>
    
    </div>
    
    <div class="col-1-4 sxweb">
    
    <div class="hf-widget hf-widget-1 hf-widget-hot-cats">
    
    <h3 class="hf-widget-title">
    
    <i class="fa fa-dropbox"></i>
    
    <a href="http://bbs.lxh5068.com/sort/huodong" target="_blank">热门专区</a>
    
    <span>推荐设计热点</span></h3>
    
    <div class="hf-widget-content">
    
    <div class="icon-b">
    
    <ul>
    
    <li>
    
    <a href="http://bbs.lxh5068.com/sort/zhide" target="_blank">
    
    <i class="fa fa-thumbs-up" aria-hidden="true"></i>
    
    <span>每日推荐</span></a>
    
    </li>
    
    <li>
    
    <a href="http://bbs.lxh5068.com/sort/mianfeirj" target="_blank">
    
    <i class="fa fa-cloud-download" aria-hidden="true"></i>
    
    <span>软件下载</span></a>
    
    </li>
    
    <li>
    
    <a href="http://bbs.lxh5068.com/sort/yuanma" target="_blank">
    
    <i class="fa fa-graduation-cap"></i>
    
    <span>源码教程</span></a>
    
    </li>
    
    <li>
    
    <a href="http://bbs.lxh5068.com/sort/guanzhu" target="_blank">
    
    <i class="fa fa-picture-o" aria-hidden="true"></i>
    
    <span>福利美图</span></a>
    
    </li>
    
    </ul>
    
    </div>
    
    </div>
    
    </div>
    
    </div>
    
    <div class="col-1-4 sxweb">
    
    <div class="hf-widget hf-widget-4">
    
    <h3 class="hf-widget-title">
    
    <i class="fa fa-book"></i>
    
    <a href="#" target="_blank">最新活动</a>
    
    <span>免费会员享福利</span>
    
    </h3>
    
    <div class="hf-widget-content">
    
    <div class="scroll-h">
    
    <ul>
    
    <li>
    
    <h3>
    
    <a href="#" target="_blank">
    
    <i class="icon-time"></i>
    
    <span>美化服务火热售卖中</span>
    
    <em>网站美化</em></a>
    
    </h3>
    
    </li>
    
    <li>
    
    <h3>
    
    <a href="#" target="_blank">
    
    <i class="icon-time"></i>
    
    <span>关于本站学分付费阅读获取内容说明</span>
    
    <em>学分说明</em></a>
    
    </h3>
    
    </li>
    
    </ul>
    
    </div>
    
    </div>
    
    </div>
    
    </div>
    
    </div>
    
    </div>
    
    </div>
  • 7B2给文章列表增加角标【网格模式】

    7B2给文章列表增加角标【网格模式】

    此方式只改了,其中一个文章列表样式(网格模式),其他的文章列表样式可按照同方法即可。不清楚的可以留言,也可以在圈子里发问题!

    ①.打开B2主题文件:/b2/Modules/Settings/Post.php  464处加入以下代码:

    // 文章添加角标开始
    
     $post_meta = new_cmb2_box(array(
    
    'id' => 'b2_post_onecad_jb',
    
    'title' => __( '文章角标', 'b2' ),
    
    'object_types' => array('post','document','page'),
    
    'context' => 'normal',
    
    'priority' => 'high',
    
    'show_names' => true
    
    ));
    
     $post_meta->add_field(array(
    
     $g_name = b2_get_option('normal_custom','custom_announcement_name'),
    
    'name' => sprintf(__('列表需要显示角标','b2'),$g_name),
    
    'id' => 'b2_post_onecad_lb',
    
    'type' => 'select',
    
    'options'=>array(
    
    0=>__('推荐','b2'),
    
    1=>__('VIP','b2'),
    
    2=>__('原创','b2'),
    
    3=>__('免费','b2')
    
    ),
    
    'default'=>0,
    
    'desc'=> __('支持 HTML,尽量短小才好看。','b2')
    
    ));
    
     add_filter('post_side_settings', 'wporg_custom');
    
    // 文章添加角标结束-https://www.ysu2.com

    ②.刷新缓存,在后台文章写作页面,即可看到角标设置项

    ③.在文章样式列表文件中b2/Modules/Templates/Modules/Posts.php 108行下方增加:

     $b2_post_onecad_lb= get_post_meta($v['id'],'b2_post_onecad_lb',true);
    
    if($b2_post_onecad_lb == ''){
    
     $meta_jiaobiao_html ='<span>'.$b2_post_onecad_lb.'</span>';
    
    }else if($b2_post_onecad_lb ==0){
    
     $meta_jiaobiao_html ='<span class="tipss huodong b2-radius">推荐</span>';
    
    }else if($b2_post_onecad_lb ==1){
    
     $meta_jiaobiao_html = '<span class="tipss remen b2-radius">VIP</span>';
    
    }else if($b2_post_onecad_lb ==2){
    
     $meta_jiaobiao_html ='<span class="tipss jingping b2-radius">原创</span>';
    
    }else if($b2_post_onecad_lb ==3){
    
     $meta_jiaobiao_html ='<span class="tipss tuijain b2-radius">免费</span>';
    
    }

    ④.然后再同文件的第168行下方增加调用

    '.$meta_jiaobiao_html.'

    ⑤下面就是CSS了,将下方的CSS代码复制到子主题style.css文件中即可

    /*角标CSS-https://www.ysu2.com*/
    
    .tipss {
    
     position: absolute;
    
     top: 10px;
    
     left: 10px;
    
     z-index: 1;
    
     width: 50px;
    
     height: 20px;
    
     color: #fff;
    
     line-height: 20px;
    
     text-align: center;
    
     font-size: 13px;
    
     z-index: 100;
    
    }
    
    .yellow {background-color: #ff6000;}
    
    .huodong{background:#0693e3}
    
    .remen{background:#fcb900}
    
    .jingping{background:#cf2e2e}
    
    .guanggao{background:#00d084}
    
    .tuijain{background:#ff6900}
    
    .yuliu{background:#0693e3}

     

     

     

  • 【定制】7b2主题用户自定义选择底部样式

    【定制】7b2主题用户自定义选择底部样式

    <?php 
    //样式1
    $text_footer_title_ysa=b2_get_option('Jitheme_footer_tab2','text_footer_title_ysa');
    $text_footer_desc_ysa=b2_get_option('Jitheme_footer_tab2','text_footer_desc_ysa');
    //样式2
    $link_cats = b2_get_option('template_footer','link_cat');
    $beian = b2_get_option('template_footer','footer_beian');
    $gongan = b2_get_option('template_footer','footer_gongan');
    $gongan_code = (int) filter_var($gongan, FILTER_SANITIZE_NUMBER_INT);
    $mobile_show_link = b2_get_option('template_footer','footer_mobile_show_links');
    $footer_img = b2_get_option('template_footer','footer_img');
    $onecad_footer_ysb_jj=b2_get_option('Jitheme_footer_tab3','onecad_footer_ysb_jj');
    //获取代码
    if($onecad_footer_ysb_jj){
    $none='style="display: none;"';
    }else{
    $none="";
    }
    ?>
    </div>
    <style>
    .public-foot{
    background-image: url(<?php echo $footer_img ?>) 
    }
    .footer-links ul li a {color:<?php echo b2_get_option('template_footer','footer_nav_text_color'); ?>}
    .site-footer{
    background-color:<?php echo b2_get_option('template_footer','footer_color'); ?>
    
    }
    .site-footer-nav{
    background-color:<?php echo b2_get_option('template_footer','footer_nav_color'); ?>
    }
    #bigTriangleColor{
    background-color:<?php echo b2_get_option('template_footer','footer_color'); ?>
    }
    
    </style>
    <footer id="onecad_new_footer" class="onecad_new_footer ">
    <div id="onecad_footer_ysc">
    <div class="wrapper footer-inner md-1">
    <div class="footer-body">
    <div class="footer-content mb-3">
    <?php dynamic_sidebar( 'sidebar-2' ); ?>
    </div>
    <div class="footer-menu text-sm">
    <i class="b2font b2-lock-2-line"></i>
    <?php
    $links_html=''; 
    $links_ysa_a1 =b2_get_option('Jitheme_footer_tab3','onecad_footer_ysb_links');
    if(is_array($links_ysa_a1)){
    foreach ($links_ysa_a1 as $k => $v) {
    if(!empty($v['onecad_footer_ysb_links_desc'])){
    $links_html.= $v['onecad_footer_ysb_links_desc'];
    }
    }
    echo $links_html;
    }
    ?>
    </div>
    
    <?php 
    $ids = array();
    $bookmarks = array();
    if($link_cats){
    foreach($link_cats as $v){
    $links = get_term_by('slug', $v, 'link_category');
    if($links){
    $ids[] = $links->term_id;
    }
    }
    }
    $ids = implode(",", $ids);
    if($ids){
    $bookmarks = get_bookmarks(array(
    'category'=>$ids,
    'orderby'=>'link_rating',
    'order'=>'DESC'
    ));
    }
    ?>
    <?php if((is_home() || is_front_page()) && !empty($link_cats) && !empty($bookmarks)){ ?>
    <div class="jitheme-footer-links text-sm <?php echo (int)$mobile_show_link === 0 ? 'mobile-hidden' : ''; ?>">
    <i class="b2font b2-price-tag-3-line"></i>
    <span class="links-item">友情链接</span>
    <?php
    foreach ($bookmarks as $bookmark) {
    echo '<a target="_blank" class="links-item" href="' . $bookmark->link_url . '">' . $bookmark->link_name . '</a>';
    }
    ?>
    </div>
    <?php } ?> 
    </div>
    <div class="footer-contact">
    <div class="ji-mb weixin">
    <?php
    $links_ysa_a1 =b2_get_option('Jitheme_footer_tab3','onecad_footer_ysb_ewm');
    if(is_array($links_ysa_a1)){
    foreach ($links_ysa_a1 as $k => $v) {
    $ewm_html='<img border="0" src="'.$v['onecad_footer_ysb_ewm_img'].'">';
    break;
    }
    }
    ?>
    <a href="javascript:" class="btn btn-arrow btn-primary text-xs">
    <span>微信咨询
    <span class="qrcode"><?php echo $ewm_html ?></span>
    <i class="b2font b2-weixin"></i>
    </span>
    </a>
    </div>
    <div class="ji-mb">
    <a href="//wpa.qq.com/msgrd?v=3&amp;uin=<?php echo b2_get_option('Jitheme_footer_main','onecad_footer_qq') ?>&amp;site=qq&amp;menu=yes" rel="external nofollow" class="btn btn-arrow btn-outline-primary text-xs" target="_blank">
    <span>在线咨询<i class="b2font b2-qq"></i>
    </span>
    </a>
    </div>
    <div class="text-muted text-xs">周一至周五 10:30-20:30</div>
    <div class="text-muted text-xs">可发邮件咨询</div>
    <div class="text-muted text-xs"><?php echo b2_get_option('Jitheme_footer_main','onecad_footer_jiandu_yx') ?></div>
    </div>
    </div>
    
    <div class="footer-copyright font-number text-xs">
    <div class="wrapper"><?php echo 'Copyright &copy; '.wp_date('Y').'<a href="'.B2_HOME_URI.'" rel="home">&nbsp;'.B2_BLOG_NAME.'</a>'; ?>. All Rights Reserved
    <?php if($beian){
    echo '<span class="b2-dot">・</span><a rel="nofollow" target="__blank" href="https://beian.miit.gov.cn">'.$beian.'</a>';
    } ?>
    <?php if($gongan){
    echo '<span class="b2-dot">・</span><a rel="nofollow" target="__blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode='.$gongan_code.'"><img src="'.B2_THEME_URI.'/Assets/fontend/images/beian-ico.png">'.b2_get_option('template_footer','footer_gongan').'</a>';
    }?>
    <?php
    echo sprintf(__('查询 %s 次,','b2'),get_num_queries());
    echo sprintf(__('耗时 %s 秒','b2'),timer_stop(0,4));
    ?>
    </div>
    </div>
    </div>
    <?php
    $celan=b2_get_option('Jitheme_footer_tab4','onecad_footer_celan_off');
    $wrapper_width = b2_get_option('template_main','wrapper_width');
    if($celan){ ?>
    <div id="jitheme_celan">
    <div class="fixed-right" style="right:16px;">
    <div class="drop">
    <a href="/vips" class="go_top item">
    <i class="b2font b2-vip-crown-2-line ">
    </i>
    </a>
    </div>
    <div class="menus">
    <span class="item ewm hide_sm">
    <i class="b2font b2-qr-code-fill ">
    </i>
    <div class="code-div">
    <div class="ewmDiv">
    <?php
    $kf_html=''; 
    $kf_html_img =b2_get_option('Jitheme_footer_tab4','Jitheme_footer_celan');
    if(is_array($kf_html_img)){
    foreach ($kf_html_img as $k => $v) {
    $kf_html .='<div class="ewm-item">
    <a href="'.$v['celan_kf_link'].'" target="_blank">
    <div class="code-wrap">
    <div class="code" style="background-image:url('.$v['celan_kf_img'].');"></div>
    </div>
    <div class="ewm-main">
    <p>'.$v['celan_kf_desc'].'</p>
    <div class="wz">'.$v['celan_kf_title'].'</div>
    </div>
    </a>
    </div>'; 
    }
    }
    echo $kf_html;
    ?>
    </div>
    </div>
    </span>
    </div>
    <div class="drop">
    <a href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo b2_get_option('Jitheme_footer_main','onecad_footer_qq') ?>&site=qq&menu=yes"
    class="go_top item">
    <i class="b2font b2-customer-service-2-line1 ">
    </i>
    </a>
    </div>
    <div class="gotop">
    <a href="#" class="go_top item">
    <i class="b2font b2-rocket-2-line ">
    </i>
    </a>
    </div>
    </div>
    </div>
    <?php } ?>
    </footer>
    <?php if(!is_audit_mode()) { ?>
    <div id="mobile-footer-menu" class="mobile-footer-menu mobile-show footer-fixed" ref="footerMenu" v-show="show">
    <div class="mobile-footer-left">
    <?php echo B2\Modules\Templates\Footer::footer_menu_left(); ?>
    </div>
    <div class="mobile-footer-center">
    <button @click="postPoBox.show = true"><span><?php echo b2_get_icon('b2-add-line b2-radius'); ?></span></button>
    </div>
    <div class="mobile-footer-right">
    <?php echo B2\Modules\Templates\Footer::footer_menu_right(); ?>
    </div>
    </div>
    <?php } ?>
    <?php 
    $allow_newsflashes = b2_get_option('newsflashes_main','newsflashes_open');
    $allow_document = b2_get_option('document_main','document_open');
    $allow_circle = b2_get_option('circle_main','circle_open');
    $circle_sulg = b2_get_option('normal_custom','custom_circle_link');
    $circle_name = b2_get_option('normal_custom','custom_circle_name');
    $newsflashes_name = b2_get_option('normal_custom','custom_newsflashes_name');
    ?>
    <div id="post-po-box" class="post-po-box">
    <div :class="['post-box-content',{'show':show}]" @click="show = false">
    <div class="po-post-in b2-radius" v-cloak>
    <div class="po-post-icons">
    <div>
    <button @click.stop="go('<?php echo b2_get_custom_page_url('write'); ?>','write')">
    <span class="po-post-icon"><?php echo b2_get_icon('b2-quill-pen-line'); ?></span>
    <span class="po-post-title"><?php echo __('发布文章','b2'); ?></span>
    </button>
    </div>
    <?php if($allow_newsflashes){ ?>
    <div>
    <button @click.stop="go('<?php echo get_post_type_archive_link('newsflashes'); ?>?action=showbox','newsflashes')">
    <span class="po-post-icon"><?php echo b2_get_icon('b2-flashlight-line'); ?></span>
    <span class="po-post-title"><?php echo sprintf(__('发布%s','b2'),$newsflashes_name); ?></span>
    </button>
    </div>
    <?php } ?>
    <?php if($allow_circle){ ?>
    <div>
    <button @click.stop="go('<?php echo b2_get_custom_page_url('create-circle'); ?>','create_circle')">
    <span class="po-post-icon"><?php echo b2_get_icon('b2-donut-chart-fill'); ?></span>
    <span class="po-post-title"><?php echo sprintf(__('创建%s','b2'),$circle_name); ?></span>
    </button>
    </div>
    <div>
    <button @click.stop="go('<?php echo home_url('/').$circle_sulg; ?>','create_topic')">
    <span class="po-post-icon"><?php echo b2_get_icon('b2-chat-smile-3-line'); ?></span>
    <span class="po-post-title"><?php echo __('发表话题','b2'); ?></span>
    </button>
    </div>
    <?php } ?>
    <?php if($allow_document){ ?>
    <div class="po-verify">
    <button @click.stop="go('<?php echo b2_get_custom_page_url('requests'); ?>','request')">
    <?php echo b2_get_icon('b2-clipboard-line'); ?><span><?php echo __('提交工单','b2'); ?></span>
    </button>
    </div>
    <?php } ?>
    </div>
    <div class="po-close-button">
    <button @click.stop="show = false"><?php echo b2_get_icon('b2-close-line'); ?></button>
    </div>
    </div>
    </div>
    </div>
    <form id="wechataction" name="wechataction" action="" method="post">
    <input type="submit" value="ok" style="display:none;">
    </form>
    </div>
    <?php wp_footer(); ?>
    <!--分类切换-->
    <script src="<?php echo B2_CHILD_URI ?>/Render/Js/audio.js"></script>
    
    <script type="text/javascript" src="<?php echo B2_CHILD_URI ?>/Render/Js/web.js"></script> 
    <!--头部搜索-->
    <script type="text/javascript">
    var onecad_search = document.getElementById("onecad_search");
    var onecad_btna = document.getElementById("onecad_btna");
    var btnb = document.getElementById("onecad_btnb");
    var mobile_menu = document.getElementById("mobile-menu");
    function testDisplay()
    {
    
    if(onecad_search.style.top="-70px")
    {
    onecad_search.style.display = "block";
    onecad_search.style.top = "0px";
    onecad_search.style.transition = "all 0.3s ease-in-out 0s";
    onecad_btnb.style.display = "block";
    onecad_btna.style.display = "none";
    mobile_menu.style.display = "none";
    }
    }
    function testnone()
    {
    if(onecad_search.style.display=="block")
    {
    onecad_btna.style.display = "block";
    onecad_search.style.transition = "all 0.3s ease-in-out 0s";
    onecad_search.style.top = "-70px";
    onecad_btnb.style.display = "none";
    mobile_menu.style.display = "block";
    
    }
    }
    </script>
    <?php
    $qukuai_day=b2_get_option('Jitheme_index_tab3','qukuai_data');
    $text_date_h=b2_get_option('Jitheme_index_tab3','text_date_h');
    $qukuai_data=$qukuai_day.' '.$text_date_h
    ?>
    <script type="text/javascript"> 
    //设置定时器容器
    var countDownTimer = null ;
    //获取元素
    var day = document.getElementById("_d");
    var hour = document.getElementById("_h");
    var minute = document.getElementById("_m");
    var second = document.getElementById("_s");
    //获取截止时间的时间戳(单位毫秒)
    var str = "<?php echo $qukuai_data ?>"
    var inputTime = +new Date(str);
    //我们先调用countDown函数,可以避免在打开界面后停一秒后才开始倒计时
    if(day && hour && minute && second) {
    countDown();
    }
    //定时器 每隔一秒变化一次
    countDownTimer = setInterval(countDown, 1000);
    function countDown() {
    //获取当前时间的时间戳(单位毫秒)
    var nowTime = +new Date();
    //把剩余时间毫秒数转化为秒
    var times = (inputTime - nowTime) / 1000;
    if(times > 0){
    //计算天数
    var d = Math.floor(times/60/60/24)
    if(day){
    day.innerHTML = d
    //如果小时数小于 10,要变成 0 + 数字的形式 赋值给盒子
    day.innerHTML = d < 10 ? "0" + d : d;
    }
    //计算小时数 转化为整数
    var h = parseInt(times / 60 / 60 % 24);
    //如果小时数小于 10,要变成 0 + 数字的形式 赋值给盒子
    if(hour){
    hour.innerHTML = h < 10 ? "0" + h : h;
    }
    //计算分钟数 转化为整数
    var m = parseInt(times / 60 % 60);
    //如果分钟数小于 10,要变成 0 + 数字的形式 赋值给盒子
    if(minute){
    minute.innerHTML = m < 10 ? "0" + m : m;
    }
    //计算描述 转化为整数
    var s = parseInt(times % 60);
    //如果秒钟数小于 10,要变成 0 + 数字的形式 赋值给盒子
    if(second){
    second.innerHTML = s < 10 ? "0" + s : s;
    }
    }else{
    // 停止定时器,清空定时器
    clearInterval(countDownTimer)
    }
    }
    </script>
    <script>
    $('.toggle-input').on('change', function() {
    $('body').toggleClass('light-version');
    });
    </script>
    </body>
    </html>

    然后插入CSS

    /*自定义CSS*/
    /*用户自定义CSS*/
    @media screen and (max-width:768px){
    .footer-inner {
    padding-top: 0px!important;
    }.footer-contact,.footer-body{
    display: none!important;
    }
    .font-number{
    margin-top: 0px!important;
    padding: 15px!important;
    line-height: 25px!important;
    }
    }
    .footer-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    padding-top: 20px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    }
    .footer-inner .about-widget .footer-logo {
    height: 35px!important;
    object-fit: contain;
    }
    .footer-body{
    max-width: 75%;
    }
    .footer-contact{
    padding-left: 30px;
    text-align: center!important;
    }
    .footer-contact .ji-mb{
    margin-bottom: 20px!important;
    }
    .footer-contact .ji-mb .qrcode {
    display: none;
    border: 2px dotted var(--b2color);
    }
    .footer-contact .weixin :hover .qrcode:after {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    bottom: -10px;
    content: "";
    width: 0;
    height: 0;
    border-color: var(--b2color) transparent transparent;
    border-style: solid;
    border-width: 10px 10px 0;
    }
    .weixin :hover .qrcode {
    display: block!important;
    background-color: var(--main-bg-color);
    bottom: 55px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    position: absolute;
    width: 140px;
    height: 140px;
    left: 50%;
    padding: 5px;
    border-radius: 2px;
    }
    .mb-1{
    margin-bottom: 20px!important;
    margin-right: 50px!important;
    }
    .footer-menu {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    }
    .jitheme-footer-links {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 10px;
    }
    .text-sm {
    font-size: 14px !important;
    }
    .footer-menu a {
    position: relative;
    display: block;
    margin-right: 15px;
    margin-top: 3px;
    }
    .jitheme-footer-links .links-item {
    position: relative;
    display: block;
    color:#999;
    margin-right: 15px;
    margin-top: 3px;
    }
    .btn-outline-primary {
    color: #2b76ff;
    background-color:#e5edfd;
    border-color:#e5edfd;
    }
    .btn-arrow span {
    display: inline-block;
    position: relative;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
    will-change: transform;
    padding: 5px 0px;
    }
    .btn-arrow i {
    position: absolute;
    top: 50%;
    right: 0;
    width: 1.25em;
    font-size: 1.25rem;
    opacity: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
    will-change: right,opacity;
    }
    .jitheme-footer-links i,.footer-menu i{
    margin-right: 10px;
    }
    .btn-primary i{
    margin-left:10px;
    }
    .text-xs{
    font-size: 13px !important;
    color:#999;
    }
    .font-number {
    background-color: #eee;
    padding: 25px 0px;
    margin-top: 20px;
    }
    
    .btn-arrow.active span, .btn-arrow:hover span, .btn-arrow:focus span {
    -webkit-transform: translate3d(-0px,0,0);
    transform: translate3d(-0px,0,0);
    }
    .btn-arrow.active i, .btn-arrow:hover i, .btn-arrow:focus i {
    opacity: 1;
    right: -30px;
    }
  • WordPress 游客投稿插件 TT Guest Post Submit

    WordPress 游客投稿插件 TT Guest Post Submit

    TT Guest Post Submit 是一个匿名投稿插件,不需要用户登录即可进行投稿(当然,已登录的用户也一样可以投稿),非常适合用于实现网站投稿功能。
    功能如下:
    插件选项页面 – 用户可以自定义设置
    电子邮件通知 – 管理员可以收到投稿提醒邮件
    定制稿件提交后的确认消息
    支持选择投稿表单字段,包括标题,标签,类别,作者,URL,职位和图像等
    自带验证码功能,有效防止垃圾
    添加简码到任何页面即可显示投稿表单
    投稿成功后重定向用户到当前页面或任何其他页面(这可以从选项页中设置)
    HTML5提交表单采用流线型CSS样式
    可选择文章内容使用纯文本编辑器还是可视化编辑器
    可过滤标题和文章的某些词组
    支持限制文章最小字数(收费版)
    可设置附件类型和大小(收费版)
    可限制上传的图片数量和图片像素(收费版)
    支持选择一个或多个分类,也可添加一个默认分类(收费版)
    可设置文章是否允许评论(收费版)
    允许自定义每个字段的名称(收费版)
    支持重新排列字段的顺序(收费版)
    允许投稿后重定向到已发布的文章(收费版)

  • 苹果CMS官方V10开源版2023.1000.3050下载

    苹果CMS官方V10开源版2023.1000.3050下载

    苹果CMS v10 2023.1000.3050 2023年最新版一套采用PHP+MYSQL环境下运行的完善而强大的快速建站系统。 经过近多年的开发经验和技术积累,苹果CMS程序已逐步走向成熟,在易用性和功能上已经成为同行中的佼佼者。 程序体积小->优化程序代码,运行速度快->高效的缓存处理,只要普通的虚拟主机就可以完美搭建起来,建站成本非常低。仿MVC模板分离,内置标签,自定义函数标签接口,强大的自定义采集功能,只要你会HTML就可以轻松做出个性化的网站。 程序易用性和功能上一直以来都积极采纳广大站长提出的各种好的建议,迅速响应各种紧急问题,我们的服务理念贯穿其中,保证每一位站长每一个环节都可以从容应对。
    版本介绍
    1.支持后台管理上传webp图片。
    2.支持vod_search自定义缓存时间。
    3.支持后台强制清理vod_search缓存。
    4.修正后台开启页面缓存时,模板json请求解析问题。
    5.修正数据库读写分离下导入sql的问题。
    6.修正采集指定返回多个播放组相关逻辑。
    7.优化卡密生成和导出,修正开头为0问题。
    8.优化注册手机号判断,防止消耗短信。
    9.优化微信登录、后台图片字段XSS风险。
    10.优化模板标签foreach标签,支持数量。
    11.优化随机视频排序rnd的性能问题。
    12.优化角色、剧情页面,增加参数。
    github开源:https://github.com/magicblack/

  • 2023新年倒计时HTML源码

    2023新年倒计时HTML源码

    源码说明

    最近马上也快到2023年了,我为大家准备了一款精美的2023年倒计时的HTML源码,直接上传至服务器部署即可。

    源码截图

  • 【WordPress优化插件】WPOPT v1.4

    【WordPress优化插件】WPOPT v1.4

    WPOPT插件,是由本站开发的一款WordPress优化插件,能对WordPress底层功能进行优化,支持功能开关,系统加速等功能。

    目前有几十种开关可以供使用,同时,每个功能都有开关说明。将永久免费提供给广大WordPress用户使用。

    更新日志

    v1.4

    新增编辑器增强功能,支持粘贴上传图片
    粘贴上传图片自动转换webp

    v1.3

    新增 为页面添加HTML后缀,功能增强->为页面添加.html后缀

    修复 头像加速部分场景不生效问题

    支持功能

    输出优化

    移除版本号
    移除加载文件版本号
    移除dns-prefetch
    去除头部json链接
    移除文章页面前后页meta
    移除文章头部feed
    移除wp-block-library-css
    移除Dashicons
    移除RSD
    移除wlwmanifest
    移除ShortLink

    函数禁用

    禁用translations api
    禁用wp_check_php_version
    禁用wp check browser version
    禁用current screen

    功能开关

    接口相关

    屏蔽REST API
    屏蔽Trackbacks/Pingback
    关闭XML-RPC接口

    外观显示

    禁用Emoji表情
    关闭前台顶部管理工具条
    关闭登录页面语言选择

    文章与编辑

    关闭保存修订版本
    关闭图像高度限制
    禁止生成多种图像尺寸
    禁止插入图片添加属性
    关闭字符转码
    禁止Auto Embeds
    禁止文章Embeds

    禁止新版古藤堡编辑器
    禁止小工具区块编辑器

    升级与更新

    关闭WordPress核心更新
    关闭主题自动更新
    关闭插件自动更新

    邮件相关

    关闭用户信息邮件通知
    关闭注册邮件通知
    屏蔽定期邮箱验证

    优化加速

    修改WordPress头像服务器

    功能增强

    webp图片支持

    SVG图片支持

    使用说明

    在WordPress插件上传安装即可