AI摘要:

正在生成中……


提醒:本文已经超过 1675 天未修改,其中某些信息可能已经过时,请谨慎使用!
你似乎正在查看一篇很久远的文章。
为了你这样的访客,我特地保留了我的历史博文。不要笑话过去的我,用温柔的目光看下去吧。

本站页脚全功能开源,因已经发现有人使用本站CDN导致我CDN开销巨大,故删减了部分本站资源。

页脚本站句子api的css,请自行添加到主题的style.css或main.css中。

#hitokoto{
    border-left: 5px solid #00b5f2;
    border-right: 5px solid #00b5f2;
    background-color: #ffffff;
    padding: 10px;text-align: center;
    color: #00b5f2;
    margin: 5px 0 5px 0;
border-radius: 10px;
     border-top-left-radius: 10px; 
     border-top-right-radius: 10px; 
     border-bottom-left-radius: 10px;
     border-bottom-right-radius: 10px; 

下面为文本版本,可以点击右上角一键复制或点击上横框放大至全屏。

<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Sakura
 */

?>
	</div><!-- #content -->
	<?php 
		if(akina_option('general_disqus_plugin_support')){
			get_template_part('layouts/duoshuo');
		}else{
			comments_template('', true); 
		}
	?>
	</div><!-- #page Pjax container-->
	<footer id="colophon" class="site-footer" role="contentinfo">
		<div class="site-info" theme-info="Sakura v<?php echo SAKURA_VERSION; ?>">
			<div class="footertext">
				<div class="img-preload">
					<img src="https://jsd.gymxbl.com/gh/moezx/[email protected]/img/Sakura/images/wordpress-rotating-ball-o.svg">
					<img src="https://jsd.gymxbl.com/gh/moezx/[email protected]/img/Sakura/images/disqus-preloader.svg">
				</div>
				<p style="color: #666666;"><?php echo akina_option('footer_info', ''); ?></p>
			</div>
			<div class="footer-device">
			<p style="font-family: 'Ubuntu', sans-serif;">
					<span style="color: #b9b9b9;">
						<?php /* 能保留下面两个链接吗?算是我一个小小的心愿吧~ */ ?>
						Theme <a href="https://2heng.xin/theme-sakura/" target="_blank" style="color: #b9b9b9;;text-decoration: underline dotted rgba(0, 0, 0, .1);">Sakura</a> <i class="iconfont icon-sakura rotating" style="color: #ffc0cb;display:inline-block"></i> by <a href="https://2heng.xin/" target="_blank" style="color: #b9b9b9;;text-decoration: underline dotted rgba(0, 0, 0, .1);">Mashiro</a>
					</span>
				</p>
				<center><div><link
      href="https://jsd.gymxbl.com/npm/[email protected]/dist/css/bootstrap.min.css"
      rel="stylesheet"
    />
    <script src="https://jsd.gymxbl.com/npm/[email protected]/dist/jquery.min.js"></script>
    <script src="https://jsd.gymxbl.com/npm/[email protected]/dist/js/bootstrap.min.js"></script>

  </head>

  <script type="text/javascript">
    $(function() {


      $.ajax({
        url: "https://v1.hitokoto.cn/",
        data:'', // 请求的参数
        type: "GET", //提交方式
        dataType: "json",
        success: function(data) {
            // 请求后处理
            // 调用文字处理方法
            chakhsu(document.getElementById("chakhsu"),data.hitokoto);
          console.log(data.hitokoto);
        }
      });



      // 文字循环处理 两个参数,第一个是需要显示在哪个标签内append 以id为选择器,第二个参数是 要处理的文字
      function chakhsu(r,text) {
        function t() {
          return b[Math.floor(Math.random() * b.length)];
        }
        function e() {
          return String.fromCharCode(94 * Math.random() + 33);
        }
        function n(r) {
          for (var n = document.createDocumentFragment(), i = 0; r > i; i++) {
            var l = document.createElement("span");
            (l.textContent = e()), (l.style.color = t()), n.appendChild(l);
          }
          return n;
        }
        function i() {
          var t = o[c.skillI];
          c.step
            ? c.step--
            : ((c.step = g),
              c.prefixP < l.length
                ? (c.prefixP >= 0 && (c.text += l[c.prefixP]), c.prefixP++)
                : "forward" === c.direction
                ? c.skillP < t.length
                  ? ((c.text += t[c.skillP]), c.skillP++)
                  : c.delay
                  ? c.delay--
                  : ((c.direction = "backward"), (c.delay = a))
                : c.skillP > 0
                ? ((c.text = c.text.slice(0, -1)), c.skillP--)
                : ((c.skillI = (c.skillI + 1) % o.length),
                  (c.direction = "forward"))),
            (r.textContent = c.text),
            r.appendChild(
              n(
                c.prefixP < l.length
                  ? Math.min(s, s + c.prefixP)
                  : Math.min(s, t.length - c.skillP)
              )
            ),
            setTimeout(i, d);
        }
        /*以下内容自定义修改*/
        var l = "每日一言:",
          o = [text].map(function(r) {
            return r + "";
          }),
          a = 3,
          g = 1,
          s = 5,
          d = 75,
          b = [
            "rgb(110,64,170)",
            "rgb(150,61,179)",
            "rgb(191,60,175)",
            "rgb(228,65,157)",
            "rgb(254,75,131)",
            "rgb(255,94,99)",
            "rgb(255,120,71)",
            "rgb(251,150,51)",
            "rgb(226,183,47)",
            "rgb(198,214,60)",
            "rgb(175,240,91)",
            "rgb(127,246,88)",
            "rgb(82,246,103)",
            "rgb(48,239,130)",
            "rgb(29,223,163)",
            "rgb(26,199,194)",
            "rgb(35,171,216)",
            "rgb(54,140,225)",
            "rgb(76,110,219)",
            "rgb(96,84,200)"
          ],
          c = {
            text: "",
            prefixP: -s,
            skillI: 0,
            skillP: 0,
            direction: "forward",
            delay: a,
            step: g
          };
        i();
      }

    
    });
  </script>
  <style></style>

  <body>
    <div class="container">
     <div id="chakhsu">

     </div>
    </div>
  </body>
  </div></center>              
              <font color="#00b5f2"><span id="runtime_span"></span><script type="text/javascript">function show_runtime(){window.setTimeout("show_runtime()",1000);X=new Date("7/26/2018 21:39: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+"小时"+C+"分"+D+"秒"}show_runtime() ;</script></font>
		
          <!--<script count= "75" src="https://i.gymxbl.com/js/canvas-nest.js"></script>-->
          <?php get_template_part( 'template/footer-widget' ); ?>
    <p style="text-align:center;color:"#00b5f2">成功查询 <?php echo get_num_queries();?> 次!页面生成总用时 <?php timer_stop(1); ?> 秒!</p>
     <?php
    if(!file_exists("count.txt")){
        $one_file=fopen("count.txt","w+"); //建立一个统计文本,如果不存在就创建
       //echo"您是本月第<font color='red'><b>1</b></font>位访客"; //首次直接输出第一次
        fwrite("count.txt","1");  //把数字1写入文本
        fclose("$one_file");
     }else{ //如果不是第一次访问直接读取内容,并+1,写入更新后再显示新的访客数
        $num=file_get_contents("count.txt");
        $num++;
        file_put_contents("count.txt","$num");
        $newnum=file_get_contents("count.txt");
        //echo"您是本月第<font color='red'><b>".$newnum."</b></font>位访客";
    }
?>
<?php 
/*header('Content-type: text/html; charset=utf-8');
$online_log = "count.dat"; //保存人数的文件,
$timeout = 30;//30秒内没动作者,认为掉线
$entries = file($online_log);

$temp = array();

for ($i=0;$i<count($entries);$i++) {
$entry = explode(",",trim($entries[$i]));
if (($entry[0] != $_SERVER["REMOTE_ADDR"]) && ($entry[1] > time())) {
array_push($temp,$entry[0].",".$entry[1]."\n"); //取出其他浏览者的信息,并去掉超时者,保存进$temp
}
}

array_push($temp,$_SERVER["REMOTE_ADDR"].",".(time() + ($timeout))."\n"); //更新浏览者的时间
$users_online = count($temp); //计算在线人数

$entries = implode("",$temp);
//写入文件
$fp = fopen($online_log,"w");
flock($fp,LOCK_EX); //flock() 不能在NFS以及其他的一些网络文件系统中正常工作
fputs($fp,$entries);
flock($fp,LOCK_UN);
fclose($fp);

//echo "当前在线".$users_online."人";*/?>  
   <script type="text/javascript" src="https://api.gymxbl.com/?format=js&charset=utf-8"></script>
      </p>由土豆动力强力驱动</p>                                                                                     
<div id="hitokoto"><script>hitokoto()</script></div>
            <a href="https://www.iloli.xin/sitemap.xml">site map</a>
            <!--<a href="https://www.iloli.xin/team">Team</a>-->                                            
          </div>
			</div>
		</div><!-- .site-info -->
	</footer><!-- #colophon -->
	<div class="openNav no-select">
		<div class="iconflat no-select">	 
			<div class="icon"></div>
		</div>
		<div class="site-branding">
			<?php if (akina_option('akina_logo')){ ?>
			<div class="site-title"><a href="<?php bloginfo('url');?>" ><img src="<?php echo akina_option('akina_logo'); ?>"></a></div>
			<?php }else{ ?>
			<h1 class="site-title"><a href="<?php bloginfo('url');?>" ><?php bloginfo('name');?></a></h1>
			<?php } ?>
		</div>
	</div><!-- m-nav-bar -->
	</section><!-- #section -->
	<!-- m-nav-center -->
	<div id="mo-nav">
		<div class="m-avatar">
			<?php $ava = akina_option('focus_logo') ? akina_option('focus_logo') : get_template_directory_uri().'/images/avatar.jpg'; ?>
			<img src="<?php echo $ava ?>">
		</div>
		<div class="m-search">
			<form class="m-search-form" method="get" action="<?php echo home_url(); ?>" role="search">
				<input class="m-search-input" type="search" name="s" placeholder="<?php _e('Search...', 'sakura') /*搜索...*/?>" required>
			</form>
		</div>
		<?php wp_nav_menu( array( 'depth' => 2, 'theme_location' => 'primary', 'container' => false ) ); ?>
	</div><!-- m-nav-center end -->
	<a class="cd-top faa-float animated "></a>
	<button onclick="topFunction()" id="moblieGoTop" title="Go to top"><i class="fa fa-chevron-up" aria-hidden="true"></i></button>
	<!-- search start -->
	<form class="js-search search-form search-form--modal" method="get" action="<?php echo home_url(); ?>" role="search">
		<div class="search-form__inner">
		<?php if(akina_option('live_search')){ ?>
			<div class="micro">
				<i class="iconfont icon-search"></i>
				<input id="search-input" class="text-input" type="search" name="s" placeholder="<?php _e('Want to find something?', 'sakura') /*想要找点什么呢*/?>" required>
			</div>
			<div class="ins-section-wrapper">
                <a id="Ty" href="#"></a>
                <div class="ins-section-container" id="PostlistBox"></div>
            </div>
		<?php }else{ ?>
			<div class="micro">
				<p class="micro mb-"><?php _e('Want to find something?', 'sakura') /*想要找点什么呢*/?></p>
				<i class="iconfont icon-search"></i>
				<input class="text-input" type="search" name="s" placeholder="<?php _e('Search', 'sakura') ?>" required>
			</div>
		<?php } ?>
		</div>
		<div class="search_close"></div>
	</form>
	<!-- search end -->
<?php wp_footer(); ?>
<?php if(akina_option('site_statistics')){ ?>
<div class="site-statistics">
<script type="text/javascript"><?php echo akina_option('site_statistics'); ?></script>
</div>
<?php } ?>
<div class="changeSkin-gear no-select" style="bottom: -999px;">
    <div class="keys">
        <span id="open-skinMenu">
		<i class="iconfont icon-gear inline-block rotating"></i>&nbsp; 切换主题 | SCHEME TOOL 
        </span>
    </div>
</div>
<div class="skin-menu no-select">
    <div class="theme-controls row-container">
        <ul class="menu-list">
            <li id="white-bg">
                <i class="fa fa-television" aria-hidden="true"></i>
            </li><!--Default-->
            <li id="sakura-bg">
                <i class="iconfont icon-sakura"></i>
            </li><!--Sakura-->
            <li id="gribs-bg">
                <i class="fa fa-slack" aria-hidden="true"></i>
            </li><!--Grids-->
            <li id="KAdots-bg">
                <i class="iconfont icon-dots"></i>
            </li><!--Dots-->
            <li id="totem-bg">
                <i class="fa fa-superpowers" aria-hidden="true"></i>
            </li><!--Orange-->
            <li id="pixiv-bg">
                <i class="iconfont icon-pixiv"></i>
            </li><!--Start-->
            <li id="bing-bg">
                <i class="iconfont icon-bing"></i>
            </li><!--Bing-->
            <li id="dark-bg">
                <i class="fa fa-moon-o" aria-hidden="true"></i>
            </li><!--Night-->
        </ul>
    </div>
    <div class="font-family-controls row-container">
        <button type="button" class="control-btn-serif selected" data-mode="serif" 
                onclick="mashiro_global.font_control.change_font()">Serif</button>
        <button type="button" class="control-btn-sans-serif" data-mode="sans-serif" 
                onclick="mashiro_global.font_control.change_font()">Sans Serif</button>
    </div>
</div>
<canvas id="night-mode-cover"></canvas>
<?php if (akina_option('sakura_widget')) : ?>
	<aside id="secondary" class="widget-area" role="complementary" style="left: -400px;">
    <div class="heading"><?php _e('Widgets') /*小工具*/ ?></div>
    <div class="sakura_widget">
	<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('sakura_widget')) : endif; ?>
	</div>
	<div class="show-hide-wrap"><button class="show-hide"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22 16l-10.105-10.6-1.895 1.987 8.211 8.613-8.211 8.612 1.895 1.988 8.211-8.613z"></path></svg></button></div>
    </aside>
<?php endif; ?>
<?php if (akina_option('playlist_id', '')): ?>
    <div id="aplayer-float" style="z-index: 100;"
	    class="aplayer"
        data-id="<?php echo akina_option('playlist_id', ''); ?>"
        data-server="netease"
        data-type="playlist"
        data-fixed="true"
        data-theme="orange">
    </div>
<?php endif; ?>
<script type="text/javascript">
/* 鼠标特效 */
var a_idx = 0;
jQuery(document).ready(function($) {
   $("body").click(function(e) {
       var a = new Array("富强", "民主", "文明", "和谐", "自由", "平等", "公正" ,"法治", "爱国", "敬业", "诚信", "友善");
       var $i = $("<span/>").text(a[a_idx]);
       a_idx = (a_idx + 1) % a.length;
       var x = e.pageX,
       y = e.pageY;
       $i.css({
           "z-index": 999999999999999999999999999999999999999999999999999999999999999999999,
           "top": y - 20,
           "left": x,
           "position": "absolute",
           "font-weight": "bold",
           "color": "#00b5f2"
       });
       $("body").append($i);
       $i.animate({
           "top": y - 180,
           "opacity": 0
       },
       1500,
       function() {
           $i.remove();
       });
   });
});
</script><script type="text/javascript" language="javascript">  if(window.console&&window.console.log){  console.log('欢迎来到里世界');  console.log('前端没有秘密,请便');  console.log("扒站都不来留言你良心不痛吗?https://www.iloli.xin/message/");  console.log('初中生活无聊鸭');  console.log('你发现了那个令人生草的团长了没?不要停下来啊(指建站)');  }  </script>  
</script><script type="text/javascript" language="javascript">  if(window.console&&window.console.log){  console.log('だからよ...止まるじゃねえぞ');   }  </script>
      <style>
.article-content .aplayer{line-height:normal}
.aplayer .aplayer-pic .aplayer-play .aplayer-icon-play{top:0px;left:3px}
</style>
</script><script type="text/javascript" language="javascript">  if(window.console&&window.console.log){  console.log('5qyi6L+O77yM6L+Z6YeM5piv5a2k5b2x5aKo6aaZ56uZ6ZW/5bCP57Wu77yM5LiL6Z2i5Lmf5pivQmFzZTY05Yqg5a+G6L+H55qE5YaF5a6577yM5pei54S25L2g6IO95om+5Yiw6L+Z6YeM77yM5L2V5LiN5aW95aWH5LiA5LiL5ZGi77yf'); console.log('5LiJ5qyhQmFzZTY05Yqg5a+G77yM5Yqg5rK577yM5oyW5o6Y56uZ6ZW/55qE55yf55u4OjVMaU42S2FCNXBTKzVieUQ3N3lNNWJDZDZLK1Y1WWFONXF5aDZLZWo1YStHNUxpQTVMaUxPalphY1ZFMU5tVlpOVFZ4UlZaV1NrMVBiV2d3WkVoQ2VrOXBPSFpLVkdNelNsUmpNMHBVWXpOS1ZFcEdTbFJaTTBwVVl6VktWRnBGU2xSak5FcFVXWGxLVkZwRVNsUktSa3BVV1hwS1ZGcEhTbFJhUlV4NlRteFpNbWhvWkRKYWFGa3lUbXBpVnpGb1RIYzlQUT09'); console.log('55yL6LW35p2l5L2g5b6X5YaN5qyh6Kej5a+G5LiA5LiL77yM5L2g5Lya5Y+R546w5LiA5Liq5LiN5b6X5LqG55qE56eY5a+G55qEOjVhK0c1NkNCT3VhS2tlbURnZWVYaHc9PQ==');  }  </script> 
<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>
</body>
</html>

版权声明:转载时请以超链接形式标明文章原始出处和作者信息,来源孤影墨香
本文链接: https://www.iloli.xin/1100.html
访问时间:2025-02-12 04:19:53


正因为知道可以在空中翱翔,才会畏惧展翅的那一刻而忘却疾风 努力学习ing