主题美化合集,【子比主题zill美化教程(备忘录)】欢迎查看!!!

Youth means limitless possibilities.
年轻就是无限的可能

正文开始阅读,请点击右上角“关注”按钮,关注我们

------正文内容展示,开始阅读新内容------

AI摘要
TianliGPT
生成中...

go.php跳转页面仿windows更新分享

图片[1]-主题美化合集,【子比主题zill美化教程(备忘录)】欢迎查看!!!
图片[2]-主题美化合集,【子比主题zill美化教程(备忘录)】欢迎查看!!!

美化代码摘自wallpaper engine里的仿windows更新壁纸

字体和加载图标下载:https://bamboomc.lanzout.com/ifIuC0e58v1a

(放到网站根目录,或者自己改位置)

食用代码:

<?php
/*
* @Author : Qinver
* @Url : zibll.com
* @Date : 2020-09-29 13:18:36
* @LastEditTime: 2022-04-28 21:25:40
* @Email : 770349780@qq.com
* @Project : Zibll<a target="_blank" href="https://www.yfkj6.com/tag/%e5%ad%90%e6%af%94%e4%b8%bb%e9%a2%98/" title="View all posts in 子比主题">子比主题</a>
* @Description : 一款极其优雅的Wordpress主题
* @Read me : 感谢您使用子比主题,主题<a target="_blank" href="https://www.yfkj6.com/tag/%e6%ba%90%e7%a0%81/" title="View all posts in 源码">源码</a>有详细的注释,支持二次开发。
* @Remind : 使用盗版主题会存在各种未知风险。支持正版,从我做起!
* BY:映凡空间-www.yfkj6.com
*/
if (
strlen($_SERVER['REQUEST_URI']) > 384 ||
strpos($_SERVER['REQUEST_URI'], "eval(") ||
strpos($_SERVER['REQUEST_URI'], "base64")
) {
@header("HTTP/1.1 414 Request-URI Too Long");
@header("Status: 414 Request-URI Too Long");
@header("Connection: Close");
@exit;
}
//通过QUERY_STRING取得完整的传入数据,然后取得url=之后的所有值,兼容性更好
@session_start();
$t_url = !empty($_SESSION['GOLINK']) ? $_SESSION['GOLINK'] : preg_replace('/^url=(.*)$/i', '$1', $_SERVER["QUERY_STRING"]);
//数据处理
if (!empty($t_url)) {
//判断取值是否加密
if ($t_url == base64_encode(base64_decode($t_url))) {
$t_url = base64_decode($t_url);
}
//防止xss
$t_url = htmlspecialchars($t_url);
//对取值进行网址校验和判断
preg_match('/^(http|https|thunder|qqdl|ed2k|Flashget|qbrowser):\/\//i', $t_url, $matches);
if ($matches) {
$url = $t_url;
$title = '页面加载中,请稍候...';
} else {
preg_match('/\./i', $t_url, $matche);
if ($matche) {
$url = 'http://' . $t_url;
$title = '页面加载中,请稍候...';
} else {
$url = 'http://' . $_SERVER['HTTP_HOST'];
$title = '参数错误,正在返回首页...';
}
}
} else {
$title = '参数缺失,正在返回首页...';
$url = 'http://' . $_SERVER['HTTP_HOST'];
}
$url = str_replace('&amp;', '&', $url);
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<noscript>
<meta http-equiv="refresh" content="1;url='<?php echo $url; ?>';">
</noscript>
<script>
function link_jump() {
//禁止其他网站使用我们的跳转页面
var MyHOST = new RegExp("<?php echo $_SERVER['HTTP_HOST']; ?>");
if (!MyHOST.test(document.referrer)) {
location.href = "http://" + MyHOST;
}
location.href = "<?php echo $url; ?>";
}
//延时1S跳转,可自行修改延时时间
setTimeout(link_jump, 1000);
//延时50S关闭跳转页面,用于文件下载后不会关闭跳转页的问题
setTimeout(function() {
window.opener = null;
window.close();
}, 50000);
</script>
<title><?php echo $title; ?></title>
<style>
@keyframes bgcolor {
0% { background-color: #006699; }
50% { background-color: #002233; }
100% { background-color: #006699; }
}
html {
height: 100%;
}
body {
-webkit-font-smoothing: antialiased;
animation-delay: 5s;
animation-duration: 20s;
animation-iteration-count: infinite;
animation-name: bgcolor;
background-color: #006699;
color: white;
font-family: "Segoe UI", "Microsoft Yahei UI";
height: 100%;
margin: 0px;
}
@font-face {
font-family: "Windows 8 Boot";
/*可以修改成自己本地链接*/
src: url("./Win8Boot.svg"), url("./Win8Boot.woff");
}
.content {
position: absolute;
text-align: center;
top: 50%;
transform: translateY(-50%);
width: 100%;
}
#animation {
font-family: "Windows 8 Boot";
font-size: 32pt;
}
#description {
margin-top: 18pt;
font-size: 18pt;
}
#footer {
bottom: 42pt;
font-size: 14pt;
position: absolute;
text-align: center;
width: 100%;
}
#description:focus, #footer:focus {
outline: none;
}
</style>
</head>
<body>
<div class="content">
<div id="animation"></div>
<div id="description">正在为您跳转到对应网页<br>即将抵达</div>
</div>
<div id="footer">
Copyright © 2022 · 映凡空间
</div>
<script language="javascript">
(() => {
const firstCode = 0xe052
const lastCode = 0xe0cc
const frameRate = 30
const startTime = new Date()
const descriptions = [
"10秒过去了,好像还没跳转,这是目的网站的问题,请检查您的网络,或者科学上网。\n" +
"若链接用来下载文件,则本网页将在40秒内自动关闭"
]
const updateText = () => {
document.getElementById("description").innerText = descriptions[Math.floor(Math.random() * descriptions.length)]
}
const updateFrame = () => {
const getCode = () => (new Date()-startTime)*frameRate/1000%(lastCode-firstCode)+firstCode
document.getElementById("animation").innerText = String.fromCharCode(getCode())
requestAnimationFrame(updateFrame)
}
updateFrame()
setInterval(updateText, 10000)
})()
</script>
</body>
</html>
<?php
/*
 * @Author        : Qinver
 * @Url           : zibll.com
 * @Date          : 2020-09-29 13:18:36
 * @LastEditTime: 2022-04-28 21:25:40
 * @Email         : 770349780@qq.com
 * @Project       : Zibll<a target="_blank" href="https://www.yfkj6.com/tag/%e5%ad%90%e6%af%94%e4%b8%bb%e9%a2%98/" title="View all posts in 子比主题">子比主题</a>
 * @Description   : 一款极其优雅的Wordpress主题
 * @Read me       : 感谢您使用子比主题,主题<a target="_blank" href="https://www.yfkj6.com/tag/%e6%ba%90%e7%a0%81/" title="View all posts in 源码">源码</a>有详细的注释,支持二次开发。
 * @Remind        : 使用盗版主题会存在各种未知风险。支持正版,从我做起!
 *  BY:映凡空间-www.yfkj6.com
 */

if (
    strlen($_SERVER['REQUEST_URI']) > 384 ||
    strpos($_SERVER['REQUEST_URI'], "eval(") ||
    strpos($_SERVER['REQUEST_URI'], "base64")
) {
    @header("HTTP/1.1 414 Request-URI Too Long");
    @header("Status: 414 Request-URI Too Long");
    @header("Connection: Close");
    @exit;
}
//通过QUERY_STRING取得完整的传入数据,然后取得url=之后的所有值,兼容性更好

@session_start();
$t_url = !empty($_SESSION['GOLINK']) ? $_SESSION['GOLINK'] : preg_replace('/^url=(.*)$/i', '$1', $_SERVER["QUERY_STRING"]);
//数据处理
if (!empty($t_url)) {
    //判断取值是否加密
    if ($t_url == base64_encode(base64_decode($t_url))) {
        $t_url = base64_decode($t_url);
    }
    //防止xss
    $t_url = htmlspecialchars($t_url);

    //对取值进行网址校验和判断
    preg_match('/^(http|https|thunder|qqdl|ed2k|Flashget|qbrowser):\/\//i', $t_url, $matches);
    if ($matches) {
        $url   = $t_url;
        $title = '页面加载中,请稍候...';
    } else {
        preg_match('/\./i', $t_url, $matche);
        if ($matche) {
            $url   = 'http://' . $t_url;
            $title = '页面加载中,请稍候...';
        } else {
            $url   = 'http://' . $_SERVER['HTTP_HOST'];
            $title = '参数错误,正在返回首页...';
        }
    }
} else {
    $title = '参数缺失,正在返回首页...';
    $url   = 'http://' . $_SERVER['HTTP_HOST'];
}

$url = str_replace('&amp;', '&', $url);
?>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="robots" content="noindex, nofollow" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <noscript>
        <meta http-equiv="refresh" content="1;url='<?php echo $url; ?>';">
    </noscript>
    <script>
        function link_jump() {
            //禁止其他网站使用我们的跳转页面
            var MyHOST = new RegExp("<?php echo $_SERVER['HTTP_HOST']; ?>");
            if (!MyHOST.test(document.referrer)) {
                location.href = "http://" + MyHOST;
            }
            location.href = "<?php echo $url; ?>";
        }
        //延时1S跳转,可自行修改延时时间
        setTimeout(link_jump, 1000);
        //延时50S关闭跳转页面,用于文件下载后不会关闭跳转页的问题
        setTimeout(function() {
            window.opener = null;
            window.close();
        }, 50000);
    </script>
    <title><?php echo $title; ?></title>
<style>
@keyframes bgcolor {
    0%   { background-color: #006699; }
    50%  { background-color: #002233; }
    100% { background-color: #006699; }
}
html {
    height: 100%;
}
body {
    -webkit-font-smoothing: antialiased;
    animation-delay: 5s;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-name: bgcolor;
    background-color: #006699;
    color: white;
    font-family: "Segoe UI", "Microsoft Yahei UI";
    height: 100%;
    margin: 0px;
}
@font-face {
    font-family: "Windows 8 Boot";
    /*可以修改成自己本地链接*/
    src: url("./Win8Boot.svg"), url("./Win8Boot.woff");
}
.content {
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}
#animation {
    font-family: "Windows 8 Boot";
    font-size: 32pt;
}
#description {
    margin-top: 18pt;
    font-size: 18pt;
}
#footer {
    bottom: 42pt;
    font-size: 14pt;
    position: absolute;
    text-align: center;
    width: 100%;
}
#description:focus, #footer:focus {
    outline: none;
}
</style>
</head>
<body>
<div class="content">
<div id="animation"></div>
<div id="description">正在为您跳转到对应网页<br>即将抵达</div>
</div>
<div id="footer">
    Copyright © 2022 · 映凡空间
</div>
<script language="javascript">
(() => {
    const firstCode = 0xe052
    const lastCode = 0xe0cc
    const frameRate = 30
    const startTime = new Date()
    const descriptions = [
        "10秒过去了,好像还没跳转,这是目的网站的问题,请检查您的网络,或者科学上网。\n" +
        "若链接用来下载文件,则本网页将在40秒内自动关闭"
    ]
    const updateText = () => {
        document.getElementById("description").innerText = descriptions[Math.floor(Math.random() * descriptions.length)]
    }
    const updateFrame = () => {
        const getCode = () => (new Date()-startTime)*frameRate/1000%(lastCode-firstCode)+firstCode
        document.getElementById("animation").innerText = String.fromCharCode(getCode())
        requestAnimationFrame(updateFrame)
    }
    updateFrame()
    setInterval(updateText, 10000)
})()
</script>


</body>

</html>
<?php /* * @Author : Qinver * @Url : zibll.com * @Date : 2020-09-29 13:18:36 * @LastEditTime: 2022-04-28 21:25:40 * @Email : 770349780@qq.com * @Project : Zibll子比主题 * @Description : 一款极其优雅的Wordpress主题 * @Read me : 感谢您使用子比主题,主题源码有详细的注释,支持二次开发。 * @Remind : 使用盗版主题会存在各种未知风险。支持正版,从我做起! * BY:映凡空间-www.yfkj6.com */ if ( strlen($_SERVER['REQUEST_URI']) > 384 || strpos($_SERVER['REQUEST_URI'], "eval(") || strpos($_SERVER['REQUEST_URI'], "base64") ) { @header("HTTP/1.1 414 Request-URI Too Long"); @header("Status: 414 Request-URI Too Long"); @header("Connection: Close"); @exit; } //通过QUERY_STRING取得完整的传入数据,然后取得url=之后的所有值,兼容性更好 @session_start(); $t_url = !empty($_SESSION['GOLINK']) ? $_SESSION['GOLINK'] : preg_replace('/^url=(.*)$/i', '$1', $_SERVER["QUERY_STRING"]); //数据处理 if (!empty($t_url)) { //判断取值是否加密 if ($t_url == base64_encode(base64_decode($t_url))) { $t_url = base64_decode($t_url); } //防止xss $t_url = htmlspecialchars($t_url); //对取值进行网址校验和判断 preg_match('/^(http|https|thunder|qqdl|ed2k|Flashget|qbrowser):\/\//i', $t_url, $matches); if ($matches) { $url = $t_url; $title = '页面加载中,请稍候...'; } else { preg_match('/\./i', $t_url, $matche); if ($matche) { $url = 'http://' . $t_url; $title = '页面加载中,请稍候...'; } else { $url = 'http://' . $_SERVER['HTTP_HOST']; $title = '参数错误,正在返回首页...'; } } } else { $title = '参数缺失,正在返回首页...'; $url = 'http://' . $_SERVER['HTTP_HOST']; } $url = str_replace('&amp;', '&', $url); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="robots" content="noindex, nofollow" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> <noscript> <meta http-equiv="refresh" content="1;url='<?php echo $url; ?>';"> </noscript> <script> function link_jump() { //禁止其他网站使用我们的跳转页面 var MyHOST = new RegExp("<?php echo $_SERVER['HTTP_HOST']; ?>"); if (!MyHOST.test(document.referrer)) { location.href = "http://" + MyHOST; } location.href = "<?php echo $url; ?>"; } //延时1S跳转,可自行修改延时时间 setTimeout(link_jump, 1000); //延时50S关闭跳转页面,用于文件下载后不会关闭跳转页的问题 setTimeout(function() { window.opener = null; window.close(); }, 50000); </script> <title><?php echo $title; ?></title> <style> @keyframes bgcolor { 0% { background-color: #006699; } 50% { background-color: #002233; } 100% { background-color: #006699; } } html { height: 100%; } body { -webkit-font-smoothing: antialiased; animation-delay: 5s; animation-duration: 20s; animation-iteration-count: infinite; animation-name: bgcolor; background-color: #006699; color: white; font-family: "Segoe UI", "Microsoft Yahei UI"; height: 100%; margin: 0px; } @font-face { font-family: "Windows 8 Boot"; /*可以修改成自己本地链接*/ src: url("./Win8Boot.svg"), url("./Win8Boot.woff"); } .content { position: absolute; text-align: center; top: 50%; transform: translateY(-50%); width: 100%; } #animation { font-family: "Windows 8 Boot"; font-size: 32pt; } #description { margin-top: 18pt; font-size: 18pt; } #footer { bottom: 42pt; font-size: 14pt; position: absolute; text-align: center; width: 100%; } #description:focus, #footer:focus { outline: none; } </style> </head> <body> <div class="content"> <div id="animation"></div> <div id="description">正在为您跳转到对应网页<br>即将抵达</div> </div> <div id="footer"> Copyright © 2022 · 映凡空间 </div> <script language="javascript"> (() => { const firstCode = 0xe052 const lastCode = 0xe0cc const frameRate = 30 const startTime = new Date() const descriptions = [ "10秒过去了,好像还没跳转,这是目的网站的问题,请检查您的网络,或者科学上网。\n" + "若链接用来下载文件,则本网页将在40秒内自动关闭" ] const updateText = () => { document.getElementById("description").innerText = descriptions[Math.floor(Math.random() * descriptions.length)] } const updateFrame = () => { const getCode = () => (new Date()-startTime)*frameRate/1000%(lastCode-firstCode)+firstCode document.getElementById("animation").innerText = String.fromCharCode(getCode()) requestAnimationFrame(updateFrame) } updateFrame() setInterval(updateText, 10000) })() </script> </body> </html>

下载地址:

点我下载字体和图标(传送门)

这是手机端和PC端,上边是图片广告位,下边是文字广告位,都是自适应的。

有时间的可以去我网站看看,映凡空间www.yfkj6.com

代码从网上扒的,自己也修改了一下,更美观、也更适应网站。

一个好的广告位不仅不会拉低网站的颜值,还会增加广告主选择你的机会。

使用方法:外观-小工具-自定义html,把代码复制进去,放在想要放置的地方。

如果有大佬可以打包成小工具最好了。

图片[3]-主题美化合集,【子比主题zill美化教程(备忘录)】欢迎查看!!!
PC端展示图
图片[4]-主题美化合集,【子比主题zill美化教程(备忘录)】欢迎查看!!!
手机端展示图

食用代码:

1 2 3 4 5 6 7 8 9

------本页内容已结束,喜欢请分享------

感谢您的来访,获取更多精彩文章请收藏本站。

------关注微信公众号:映凡空间------
Invitation
YingFan
-scan
created:2022/05/10
Nice to meet you!

Use this card to join the YingFan's Space and participate in a pleasant discussion together .

Welcome to YingFan's Space,wish you a nice day .

Nothing in the world is difficult if you put your heart into it.
世上无难事,只怕有心人
© 版权声明
THE END
喜欢就支持一下吧 - 映凡空间
点赞48赞赏 分享
Nothing in the world is difficult if you put your heart into it.
世上无难事,只怕有心人
评论 共25条

请登录后发表评论

    • 热门评论
      映凡的头像-映凡空间超级会员映凡徽章-2023兔年大吉-映凡空间等级-C·胜券在握 LV.9-映凡空间作者0