/
error404.php
66 lines (58 loc) · 1.3 KB
/
error404.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
include_once 'config.php';
include_once INC_PATH.'headleader.php';
require_once INC_PATH.'aunav.php';
$page_title = "error 404";
// echo $_SERVER['REMOTE_ADDR'];
// echo $_SERVER['HTTP_HOST'];
?>
<title><?php echo $page_title." | ".PROJECT; ?></title>
<?php
// -------------------------------
// SEO
// CSS
// Script in the HEAD
// -------------------------------
include_once INC_PATH.'head.php';
?>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
.inner {
position: absolute;
top: 0;
bottom: 0;
margin: auto;
display: table;
width: 100%;
text-align: center;
}
.inner a {
display: block;
margin: 3em auto 0;
}
</style>
</head>
<body class="error404_page">
<?php include IMG_PATH.'svg-defs.svg'; ?>
<main class="error404_page-main">
<div class="inner">
<img src="<?php path_au('img', 'error404.png'); ?>" alt="">
<a href="./" class="btn-style1 q ib btns-goindex2 hide_txt">返回首頁</a>
</div>
</main>
<?php
// -------------------------------
// Script in the FOOT
// -------------------------------
include_once INC_PATH.'scriptfoot.php';
?>
<script>
$(function() {
$(".error404_page-main").height(viewPortH);
});
</script>
</body>
</html>