-
Notifications
You must be signed in to change notification settings - Fork 419
/
404.php
executable file
·33 lines (25 loc) · 1.02 KB
/
404.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
get_header();
?>
<div id="content" class="mt20 container min-height-container">
<?php echo pk_breadcrumbs() ?>
<div class="text-center p-block puock-text">
<h3 class="mt20"><?php _e('你访问的资源不存在!', PUOCK) ?></h3>
<h5 class="mt20"><span id="time-count-down">3</span><?php _e('秒后即将跳转至首页', PUOCK) ?></h5>
<div class="text-center mt20">
<a class="a-link" href="<?php echo home_url() ?>"><i class="fa fa-home"></i> <?php _e('返回首页', PUOCK) ?></a>
</div>
</div>
<script>
var timeCountDownS = 3;
var timeCountDownVal = 3;
timeCountDownVal = setInterval(function () {
$("#time-count-down").text(--timeCountDownS);
},1000);
setTimeout(function () {
window.clearInterval(timeCountDownVal);
window.location = '/';
},3000);
</script>
</div>
<?php get_footer() ?>