• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

怎么解决统一header,引用不同css问题?

php 搞代码 3年前 (2022-01-25) 23次浏览 已收录 0个评论
文章目录[隐藏]

做网站页面时,总是会把header部分做成一个统一的,然后在不同的页面引入。但是,不同的页面可能会有自己不同的样式,不同的js,当然还有不同的等信息。<br />这些本来该通用的部分,因为这些而变的不同,大家是怎么解决的呢?<br />我能想到的是两种解决方案<br />+ 在header中做判断<br />+ 把header在做细,只做通用的一部分,剩下的部分,还是让各个页面,自己来写。</p> <h2 id="title-0">回复内容:</h2> <p>做网站页面时,总是会把header部分做成一个统一的,然后在不同的页面引入。但是,不同的页面可能会有自己不同的样式,不同的js,当然还有不同的<title>等信息。<br />这些本来该通用的部分,因为这些而变的不同,大家是怎么解决的呢?<br />我能想到的是两种解决方案<br />+ 在header中做判断<br />+ 把header在做细,只做通用的一部分,剩下的部分,还是让各个页面,自己来写。</p> <p class="answer fmt"> <p>在需要引用header的页面:</p> <pre class="prettyprint linenums"><code class="lang-php"><?php$page_title = 'default page name';$page_css = '';$page_script = '';require_once('header.php');?></code></pre> <p>header.php:</p> <pre class="prettyprint linenums"><code class="lang-php"><header> <title><?=$page_title?></title> <link rel="stylesheet" href="global.css"> <?=$page_css?> <script src="jquery.js"></script> <?=$page_script?></header></code></pre> <p class="answer fmt"> <p>感觉这道题是在论模板存在的重要性啊。一般来说<code>title</code>往往就是显示文章名(变量)和网站标题(变量)这种,所以用<code>if</code>判断是比较方便的,各种博客主题(我接触这个比较多就单说这个了)也基本都是这样做的,类似于:</p> <pre class="prettyprint linenums"><code><title><?php if(isset($post['title'])) echo $post['title'].' - '; ?><?php echo $sitename; ?></title></code></pre> <p>至于CSS的话一般来说基本都是各个页面变化不大的,在这种情况下可以试着用条件判断为不同的页面增加一些不一样的<code>id</code>或者<code>class</code>属性,同时在<code>style.css</code>文件中分别描述修饰内容就好了,类似于下面这种:</p><div><div class="_t33rkthes8f"></div><script type="text/javascript">(window.slotbydup = window.slotbydup || []).push({id: "u6795179",container: "_t33rkthes8f",async: true});</script></div> <pre class="prettyprint linenums"><code><div id="column">"></div></code></pre> <p>当然你也可以考虑在不公用的部分单独加上不同的样式的代码,正如你第二种方法所说。如果说是页面的样式区别太大的话,建议还是重新用一个模板页面(例如<code>head.index.html</code>和<code>head.page.html</code>诸如此类的)吧,因为模板本身就是布局样式差不多的放一个模板里头,如果是两个样子不一样的页面引用的而是同一个模板文件,到后面你自己也会搞晕的是么。</p> <p class="answer fmt"> <p>这个问题,可以简单的回答一下,参考Zend Framework的Layout的实现方式,简单而言就是:</p> <p>1、将Header这样的东西模板化;<br />2、最终页面通过拼装生成;<br />3、使用多种Helper来控制需要参数化的部分的内容。</p> <p>很多PHP框架都有类似的组件了,去选择一个参考一下具体的实现吧。</p> <p class="answer fmt"> <strong>+本文来源gao@daima#com搞(%代@#码网</strong></p> <pre class="prettyprint">搞代gaodaima码</pre> <p>saejs好像可以就是为这类问题而生的吧??</p> <p class="answer fmt"> <p>在控制器层把css的文件名以数组的形式赋值到模板,在header文件通过foreach加载css</p> <p class="answer fmt"> <p>用模板用模板用模板</p> <p class="answer fmt"> <p>模板引擎layout你直得拥有</p> <hr /><div class="open-message">搞代码网(<a href="www.gaodaima.com" target="_blank" title="gaodaima.com">gaodaima.com</a>)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱<a>chengxuyuan@gaodaima.com‍</a>,我们会在看到邮件的第一时间内为您处理,或直接联系<a>QQ:872152909</a>。本网站采用<a href="https://www.gaodaima.com/go.html?url=http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow" target="_blank" title="BY-NC-SA授权协议">BY-NC-SA</a>协议进行授权 <br >转载请注明原文链接:<a href="https://www.gaodaima.com/367946.html" target="_blank" title="怎么解决统一header,引用不同css问题?">怎么解决统一header,引用不同css问题?</a><a id="spreadAds" target="_blank" href="" onclick="spreadAds()"></a><a id="spreadAds2" target="_blank" href=""></a> </div> </p> <div class="article-social"> <a href="javascript:;" data-action="ding" data-id="367946" id="Addlike" class="action"><i class="fa fa-heart-o"></i>喜欢 (<span class="count">0</span>)</a><span class="or"><style>.article-social .weixin:hover{background:#fff;}</style><a class="weixin" style="border-bottom:0px;font-size:15pt;cursor:pointer;">赏<div class="weixin-popover"><div class="popover bottom in"><div class="arrow"></div><div class="popover-title"><center>[搞代码]</center></div><div class="popover-content"><img width="200px" height="200px" src="http://www.gaodaima.com/wp-content/uploads/hai_AliPay.png" ></div></div></div></a></span><span class="action action-share bdsharebuttonbox"><i class="fa fa-share-alt"></i>分享 (<span class="bds_count" data-cmd="count" title="累计分享0次">0</span>)<div class="action-popover"><div class="popover top in"><div class="arrow"></div><div class="popover-content"><a href="#" class="sinaweibo fa fa-weibo" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_qzone fa fa-star" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="qq fa fa-qq" data-cmd="sqq" title="分享到QQ好友"></a><a href="#" class="bds_renren fa fa-renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin fa fa-weixin" data-cmd="weixin" title="分享到微信"></a><a href="#" class="bds_more fa fa-ellipsis-h" data-cmd="more"></a></div></div></div></span></div> </article> <footer class="article-footer"> </footer> <nav class="article-nav"><div class="_d13vl98i0pw"></div><script type="text/javascript"> (window.slotbydup = window.slotbydup || []).push({ id: "u6795176", container: "_d13vl98i0pw", async: true });</script> </nav><div id="donatecoffee" style="overflow:auto;display:none;"><img width="400" height="400" alt="支持作者一杯咖啡" src="http://www.gaodaima.com/wp-content/uploads/hai_AliPay.png"></div> <div class="related_top"> <div class="related_posts"><ul class="related_img"> <li class="related_box" > <a href="https://www.gaodaima.com/432021.html" title="利用微信公众号提供的官方API上传图片获取永久图片素材当图床用" target="_blank"><img class="thumb" style="width:185px;height:110px" data-original="https://www.gaodaima.com/wp-content/themes/Git-alpha/timthumb.php?src=https://www.gaodaima.com/wp-content/themes/Git-alpha/assets/img/pic/4.jpg&h=110&w=185&q=90&zc=1&ct=1" alt="利用微信公众号提供的官方API上传图片获取永久图片素材当图床用" /><br><span class="r_title">利用微信公众号提供的官方API上传图片获取永久图片素材当图床用</span></a> </li> <li class="related_box" > <a href="https://www.gaodaima.com/432022.html" title="不用编码的高端网站建设神器" target="_blank"><img class="thumb" style="width:185px;height:110px" data-original="https://www.gaodaima.com/wp-content/themes/Git-alpha/timthumb.php?src=https://www.gaodaima.com/wp-content/themes/Git-alpha/assets/img/pic/5.jpg&h=110&w=185&q=90&zc=1&ct=1" alt="不用编码的高端网站建设神器" /><br><span class="r_title">不用编码的高端网站建设神器</span></a> </li> <li class="related_box" > <a href="https://www.gaodaima.com/432019.html" title="精品SSM框架个人健康服务预约系统设计和实现源码查重报告代码讲解论文中期检查ppt已降重" target="_blank"><img class="thumb" style="width:185px;height:110px" data-original="https://www.gaodaima.com/wp-content/themes/Git-alpha/timthumb.php?src=https://www.gaodaima.com/wp-content/themes/Git-alpha/assets/img/pic/4.jpg&h=110&w=185&q=90&zc=1&ct=1" alt="精品SSM框架个人健康服务预约系统设计和实现源码查重报告代码讲解论文中期检查ppt已降重" /><br><span class="r_title">精品SSM框架个人健康服务预约系统设计和实现源码查重报告代码讲解论文中期检查ppt已降重</span></a> </li> <li class="related_box" > <a href="https://www.gaodaima.com/432020.html" title="php设计模式一单例工厂" target="_blank"><img class="thumb" style="width:185px;height:110px" data-original="https://www.gaodaima.com/wp-content/themes/Git-alpha/timthumb.php?src=https://www.gaodaima.com/wp-content/themes/Git-alpha/assets/img/pic/4.jpg&h=110&w=185&q=90&zc=1&ct=1" alt="php设计模式一单例工厂" /><br><span class="r_title">php设计模式一单例工厂</span></a> </li> </ul><div class="relates"><div class="_mw9fz31sqco"></div><script type="text/javascript"> (window.slotbydup = window.slotbydup || []).push({ id: "u6795180", container: "_mw9fz31sqco", async: true });</script><ul><li><i class="fa fa-minus"></i><a target="_blank" href="https://www.gaodaima.com/432021.html">利用微信公众号提供的官方API上传图片获取永久图片素材当图床用</a></li><li><i class="fa fa-minus"></i><a target="_blank" href="https://www.gaodaima.com/432022.html">不用编码的高端网站建设神器</a></li><li><i class="fa fa-minus"></i><a target="_blank" href="https://www.gaodaima.com/432019.html">精品SSM框架个人健康服务预约系统设计和实现源码查重报告代码讲解论文中期检查ppt已降重</a></li><li><i class="fa fa-minus"></i><a target="_blank" href="https://www.gaodaima.com/432020.html">php设计模式一单例工厂</a></li><li><i class="fa fa-minus"></i><a target="_blank" href="https://www.gaodaima.com/432017.html">Go-内联优化能让程序快多少</a></li><li><i class="fa fa-minus"></i><a target="_blank" href="https://www.gaodaima.com/432018.html">推荐一个PHP-Tree无限级分类组件-BlueMTree</a></li><li><i class="fa fa-minus"></i><a target="_blank" href="https://www.gaodaima.com/432015.html">php设计模式二注册树</a></li><li><i class="fa fa-minus"></i><a target="_blank" href="https://www.gaodaima.com/432016.html">Gmail如何跟踪邮件阅读状态</a></li></ul></div></div> </div> <div id="comment-ad" class="banner banner-related"><div class="_9madbukio7r"></div><script type="text/javascript"> (window.slotbydup = window.slotbydup || []).push({ id: "u6677406", container: "_9madbukio7r", async: true });</script><!-- 多条广告如下脚本只需引入一次 --><script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer" ></script></div> <div id="respond" class="no_webshot"> <form action="https://www.gaodaima.com/asdloie8574asdqwexzxdqwertasdqwe.php" method="post" id="commentform"> <div class="comt-title"> <div class="comt-avatar pull-left"> <img src="https://cdn.v2ex.com/gravatar/?s=50" class="avatar avatar-108"> </div> <div class="comt-author pull-left"> 发表我的评论 </div> <a id="cancel-comment-reply-link" class="pull-right" href="javascript:;">取消评论</a> </div> <div class="comt"> <div class="comt-box"> <textarea placeholder="说点什么吧…" class="input-block-level comt-area" name="comment" id="comment" cols="100%" rows="3" tabindex="1" onkeydown="if(event.ctrlKey&&event.keyCode==13){document.getElementById('submit').click();return false};"></textarea> <div class="comt-ctrl"> <button class="btn btn-primary pull-right" type="submit" name="submit" id="submit" tabindex="5"><i class="fa fa-check-square-o"></i> 提交评论</button> <div class="comt-tips pull-right"><input type='hidden' name='comment_post_ID' value='367946' id='comment_post_ID' /><input type='hidden' name='comment_parent' id='comment_parent' value='0' /><p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="203f865d9e" /></p><label for="comment_mail_notify" class="checkbox inline" style="padding-top:0;"><input name="comment_mail_notify" id="comment_mail_notify" value="comment_mail_notify" checked="checked" type="checkbox">评论通知</label><p style="display: none;"><input type="hidden" id="ak_js" name="ak_js" value="29"/></p></div> <span data-type="comment-insert-smilie" class="muted comt-smilie"><i class="fa fa-smile-o"></i> 表情</span> <span class="muted ml5 comt-img"><i class="fa fa-picture-o"></i><a href="javascript:SIMPALED.Editor.img()" style="color:#999999"> 贴图</a></span> <span class="muted ml5 comt-strong"><i class="fa fa-bold"></i><a href="javascript:SIMPALED.Editor.strong()" style="color:#999999"> 加粗</a></span> <span class="muted ml5 comt-del"><i class="fa fa-strikethrough"></i><a href="javascript:SIMPALED.Editor.del()" style="color:#999999"> 删除线</a></span> <span class="muted ml5 comt-center"><i class="fa fa-align-center"></i><a href="javascript:SIMPALED.Editor.center()" style="color:#999999"> 居中</a></span> <span class="muted ml5 comt-italic"><i class="fa fa-italic"></i><a href="javascript:SIMPALED.Editor.italic()" style="color:#999999"> 斜体</a></span> <span class="muted ml5 comt-sign"><i class="fa fa-pencil-square-o"></i><a href="javascript:SIMPALED.Editor.daka()" style="color:#999999"> 签到</a></span> </div> </div> <div class="comt-comterinfo" id="comment-author-info" > <h4>Hi,您需要填写昵称和邮箱!</h4> <ul> <li class="form-inline"><label class="hide" for="author">昵称</label><input class="ipt" type="text" name="author" id="author" value="" tabindex="2" placeholder="昵称"><span class="help-inline">昵称 (必填)</span></li> <li class="form-inline"><label class="hide" for="email">邮箱</label><input class="ipt" type="text" name="email" id="email" value="" tabindex="3" placeholder="邮箱"><span class="help-inline">邮箱 (必填)</span></li> <li class="form-inline"><label class="hide" for="url">网址</label><input class="ipt" type="text" name="url" id="url" value="" tabindex="4" placeholder="网址"><span class="help-inline">网址</span></li> </ul> </div> </div> </form> </div> <div class="banner banner-comment"><div class="_z8s30eeiks"></div><script type="text/javascript"> (window.slotbydup = window.slotbydup || []).push({ id: "u6677645", container: "_z8s30eeiks", async: true });</script></div> </div></div><aside class="sidebar"><div class="widget git_banner"><div class="git_banner_inner"><div class="_ij8d6cgwm0r"></div><script type="text/javascript"> (window.slotbydup = window.slotbydup || []).push({ id: "u6795162", container: "_ij8d6cgwm0r", async: true });</script></div></div><div class="widget git_banner"><div class="git_banner_inner"><script type="text/javascript"> /*360*300-pc-侧边栏多彩标签云*/ var cpro_id = "u6795164";</script><script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/c.js"></script></div></div><div class="widget git_postlist"><div class="title"><h2>热门文章</h2></div><ul> <li> <a target="_blank" href="https://www.gaodaima.com/146373.html" title="Python正则表达式匹配HTML页面编码" ><span class="thumbnail"><img width="100px" height="64px" src="https://www.gaodaima.com/wp-content/themes/Git-alpha/timthumb.php?src=https://www.gaodaima.com/wp-content/themes/Git-alpha/assets/img/pic/8.jpg&h=64&w=100&q=90&zc=1&ct=1" alt="Python正则表达式匹配HTML页面编码" /></span><span class="text">Python正则表达式匹配HTML页面编码</span><span class="muted">2022-01-07</span><span class="muted">0</span></a> </li> <li> <a target="_blank" href="https://www.gaodaima.com/65866.html" title="防止关闭windows_Delphi" ><span class="thumbnail"><img width="100px" height="64px" src="https://www.gaodaima.com/wp-content/themes/Git-alpha/timthumb.php?src=https://www.gaodaima.com/wp-content/themes/Git-alpha/assets/img/pic/12.jpg&h=64&w=100&q=90&zc=1&ct=1" alt="防止关闭windows_Delphi" /></span><span class="text">防止关闭windows_Delphi</span><span class="muted">2018-08-09</span><span class="muted">0</span></a> </li> <li> <a target="_blank" href="https://www.gaodaima.com/76339.html" title="PHP 类相关函数的使用详解" ><span class="thumbnail"><img width="100px" height="64px" src="https://www.gaodaima.com/wp-content/themes/Git-alpha/timthumb.php?src=https://www.gaodaima.com/wp-content/themes/Git-alpha/assets/img/pic/3.jpg&h=64&w=100&q=90&zc=1&ct=1" alt="PHP 类相关函数的使用详解" /></span><span class="text">PHP 类相关函数的使用详解</span><span class="muted">2022-01-02</span><span class="muted">0</span></a> </li> <li> <a target="_blank" href="https://www.gaodaima.com/424474.html" title="python ix什么意思" ><span class="thumbnail"><img width="100px" height="64px" src="https://www.gaodaima.com/wp-content/themes/Git-alpha/timthumb.php?src=https://www.gaodaima.com/wp-content/themes/Git-alpha/assets/img/pic/12.jpg&h=64&w=100&q=90&zc=1&ct=1" alt="python ix什么意思" /></span><span class="text">python ix什么意思</span><span class="muted">2022-05-21</span><span class="muted">0</span></a> </li> <li> <a target="_blank" href="https://www.gaodaima.com/380639.html" title="发布一个最强的PHP通用分页类_PHP" ><span class="thumbnail"><img width="100px" height="64px" src="https://www.gaodaima.com/wp-content/themes/Git-alpha/timthumb.php?src=https://www.gaodaima.com/wp-content/themes/Git-alpha/assets/img/pic/5.jpg&h=64&w=100&q=90&zc=1&ct=1" alt="发布一个最强的PHP通用分页类_PHP" /></span><span class="text">发布一个最强的PHP通用分页类_PHP</span><span class="muted">2022-01-26</span><span class="muted">0</span></a> </li> <li> <a target="_blank" href="https://www.gaodaima.com/91127.html" title="PHP CURL 多线程操作代码实例" ><span class="thumbnail"><img width="100px" height="64px" src="https://www.gaodaima.com/wp-content/themes/Git-alpha/timthumb.php?src=https://www.gaodaima.com/wp-content/themes/Git-alpha/assets/img/pic/2.jpg&h=64&w=100&q=90&zc=1&ct=1" alt="PHP CURL 多线程操作代码实例" /></span><span class="text">PHP CURL 多线程操作代码实例</span><span class="muted">2022-01-02</span><span class="muted">0</span></a> </li> </ul></div><div class="widget git_banner"><div class="git_banner_inner"><div class="_6zq48yj6kr"></div><script type="text/javascript"> (window.slotbydup = window.slotbydup || []).push({ id: "u6700845", container: "_6zq48yj6kr", async: true });</script></div></div><div class="widget git_banner"><div class="git_banner_inner"><div class="_zx9adhkf46s"></div><script type="text/javascript"> (window.slotbydup = window.slotbydup || []).push({ id: "u6795161", container: "_zx9adhkf46s", async: true });</script></div></div><div class="widget git_banner"><div class="git_banner_inner"><div class="_4st5c4knrf5"></div><script type="text/javascript"> (window.slotbydup = window.slotbydup || []).push({ id: "u6795163", container: "_4st5c4knrf5", async: true });</script></div></div></aside> <script type="text/javascript" src="https://www.gaodaima.com/wp-content/plugins/g-prettify/prettify.js"></script></section><div id="footbar" style="border-top: 2px solid #8E44AD;"><ul><li><p class="first">版权声明</p><span>本站的文章和资源来自互联网或者站长<br>的原创,按照 CC BY -NC -SA 3.0 CN<br>协议发布和共享,转载或引用本站文章<br>应遵循相同协议。如果有侵犯版权的资<br>源请尽快联系站长,我们会在24h内删<br>除有争议的资源。</span></li><li><p class="second">网站驱动</p><span><ul><li><a href="http://www.gaodaima.com/go/aliyun" title="部署在阿里云" target="_blank">部署在阿里云</a></li><li><a href="http://www.gaodaima.com/go/qiniu" title="由七牛云储存提供 CDN 加速" target="_blank">由七牛云储存提供 CDN 加速</a></li></ul></span></li><li><p class="third">友情链接</p><span><ul><li><a href="http://www.gaodaima.com" title="搞代码" target="_blank">搞代码</a></li><li><a href="http://www.gaodaima.com/go/bt" title="宝塔bt" target="_blank">宝塔镇河妖</a></li></ul></span></li><li><p class="fourth">强烈推荐</p><span><ul><li><a href="http://www.gaodaima.com/go/tencentCloud" title="腾讯云" target="_blank">腾讯云</a></li><!--<li><a href="http://www.gaodaima.com/go/lanzou" title="蓝奏云" target="_blank">蓝奏云</a></li>--><li><a href="http://www.gaodaima.com/go/2345" title="2345" target="_blank">二三四五</a></li></ul></span></li></ul></div><footer style="border-top: 1px solid ;background-image: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwMDAwMDAwMDAwMDAEDAwMFBAUJBgYJDQsJCw0PDg4ODg8PDAwMDAwPDwwMDAwMDA8MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgAAgAKAwERAAIRAQMRAf/EAEwAAQEAAAAAAAAAAAAAAAAAAAAJAQEAAAAAAAAAAAAAAAAAAAAAEAEBAAAAAAAAAAAAAAAAAAAAlREBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8Ah7DAhg//2Q=='); background-repeat: repeat;" class="footer"><div class="footer-inner"><div class="footer-copyright">Copyright © 2017-2025 <a href="/" title="搞代码">搞代码</a> | <a href="http://www.gaodaima.com/mzsm" title="免责声明" rel="nofollow" target="_blank">免责声明</a> | <a href="http://www.beian.gov.cn" target="_blank" rel="nofollow"> 桂ICP备16000922号-2</a> | <a href="/sitemap.html" target="_blank" title="站点地图(HTML版)">网站地图</a> <span class="trackcode pull-right"><script>var _hmt = _hmt || [];(function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?8b0b664e103f4882d4fab2b8d3bc6639"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s);})();</script></span></div></div></footer><script type="text/javascript">document.body.oncopy=function(){alert("复制成功!若要转载请务必保留原文链接,申明来源,谢谢合作!");}</script><script type="text/javascript">eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('9 m(4,a){7 k=p;7 5=b n();5.w(5.x()+k*j*j*t);3.c=4+"="+q(a)+";u="+5.s()+";v=/"}9 h(4){7 8,g=b y("(^| )"+4+"=([^;]*)(;|$)");f(8=3.c.o(g))d r(8[2]);i d\'\'}f(h(\'1\')!=\'e\'){3.6(\'1\').M=\'N: K;z-O: R;Q: 0;P: 0;J: 0;L: 0;D:A;\';3.6(\'1\').B=\'E://H.I.F/G/C\'}i{3.6("1").l()}9 1(){3.6("1").l();m(\'1\',\'e\')}',54,54,'|spreadAds||document|name|exp|getElementById|var|arr|function|value|new|cookie|return|true|if|reg|GetCookie|else|60|Days|remove|SetCookie|Date|match|12|escape|unescape|toGMTString|1000|expires|path|setTime|getTime|RegExp||default|href|jdjz|cursor|http|com|go|www|gaodaima|left|fixed|right|style|position|index|bottom|top|9999'.split('|'),0,{}))</script><script type='text/javascript' src='https://www.gaodaima.com/wp-content/themes/Git-alpha/assets/js/app.js'></script><script async="async" type='text/javascript' src='https://www.gaodaima.com/wp-content/plugins/akismet/_inc/form.js'></script><!-- 90 次查询 用时 4.097 秒, 耗费了 30.77MB 内存 --><script>with(document)0[(getElementsByTagName("head")[0]||body).appendChild(createElement("script")).src="https://cdn.jsdelivr.net/gh/yunluo/GitCafeApi/static/api/js/share.js?v=89860593.js?cdnversion="+~(-new Date()/36e5)];</script></body></html><!--Performance optimized by Redis Object Cache. Learn more: https://wprediscache.comRetrieved 1845 objects (320 KB) from Redis using PhpRedis (v4.3.0).--> <!--压缩前的大小: 44661 bytes; 压缩后的大小: 43662 bytes; 节约:2.24% -->