Watch 1 Star 1 Fork 34

XXeoo / gitPHP

forked from 云落 / git 
Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
WordPress主题:Git。 主题演示:http://googlo.me spread retract

http://googlo.me/archives/3011.html

Clone or download
404.php 2.44 KB
Copy Edit Web IDE Raw Blame History
云落 authored 2015-04-21 01:58 . add
<?php get_header(); ?>
<div class="content-wrap">
<?php if( git_get_option('git_sj404_b') ){
echo '
<style type="text/css">
.cont { margin:0 auto; line-height:20px; }
.c1 { text-align:center; }
.c1 .img1, .c1 .img2{ margin-top:80px; }
.cont h2{ text-align:center; color:#555; font-size:18px; font-weight:normal; height:35px; }
.c2{ height:35px; text-align:center; }
.c2 a{ display:inline-block; margin:0 4px; font-size:14px; height:23px; color:#626262; padding-top:1px; text-decoration:none; text-align:left; }
.c2 a:hover{ color:#626262; text-decoration:none;}
.c2 a.home{ width:66px; background:url("'.get_bloginfo("template_url").'/img/02.png"); padding-left:30px; }
.c2 a.home:hover{ background:url("'.get_bloginfo("template_url").'/img/02.png") 0 -24px; }
.c2 a.home:active{ background:url("'.get_bloginfo("template_url").'/img/02.png") 0 -48px; }
.c2 a.re{ width:66px; background:url("'.get_bloginfo("template_url").'/img/03.png"); padding-left:30px; }
.c2 a.re:hover{ background:url("'.get_bloginfo("template_url").'/img/03.png") 0 -24px; }
.c2 a.re:active{ background:url("'.get_bloginfo("template_url").'/img/03.png") 0 -48px; }
.c2 a.sr{ width:153px; background:url("'.get_bloginfo("template_url").'/img/04.png"); padding-left:28px; }
.c2 a.sr:hover{ background:url("'.get_bloginfo("template_url").'/img/04.png") 0 -24px; }
.c2 a.sr:active{ background:url("'.get_bloginfo("template_url").'/img/04.png") 0 -48px; }
.c3{ height:180px; text-align:center; color:#999; font-size:12px; }
</style>
<div class="cont">
<div class="c1"><img src="'.get_bloginfo("template_url").'/img/01.png" class="img1" /></div>
<h2>404页面咯~你访问的页面不存在</h2>
<div class="c2"><a href="javascript:;" class="re" onclick="javascript:history.back();">返回上页</a><a href="/" class="home">网站首页</a></div>
<div class="c3">通过搜索把你想找的文章给揪出来吧...</div>
</div>';
}else{ echo '<div style="text-align:center;padding:10px 0;font-size:16px;background-color:#ffffff;">
<h2 style="font-size:36px;margin-bottom:10px;">哎呦卧槽~404了~休息一下,玩个游戏吧!</h2>
<embed type="application/x-shockwave-flash" width="600" height="400" src="http://images.yusi123.com/zhuamao.swf" wmode="transparent" quality="high" scale="noborder" flashvars="width=600&amp;height=400" allowscriptaccess="sameDomain" align="L">
</div>';
} ?>
<?php if( git_get_option('git_404ad') ) echo git_get_option('git_404ad'); ?>
</div>
<?php get_footer(); ?>

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/xxeoo/git.git
git@gitee.com:xxeoo/git.git
xxeoo
git
git
master

Help Search

205735 778617b6 1899542 205747 347fc4a1 1899542