-
Notifications
You must be signed in to change notification settings - Fork 31
/
404.php
29 lines (28 loc) · 1.36 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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$GLOBALS['page'] = '404';
$this->need('components/header.php');
?>
<div id="main">
<div class="container container-404 main-content">
<h1>404</h1>
<h2 role="alert" class="mb-5">您访问的页面不存在!</h2>
<div class="search-box row">
<div class="col-lg-6 col-md-8 col-sm-10 col-12 offset-lg-3 offset-md-2 offset-sm-1">
<form action="<?php $this->options->siteUrl(); ?>" method="post" role="search">
<div class="input-group">
<input type="search" class="form-control form-control-md" placeholder="搜索" aria-label="搜索" aria-describedby="button-addon2" required="required" name="s">
<div class="input-group-append">
<button type="submit" class="search-btn btn btn-md" aria-label="搜索" title="搜索" data-toggle="tooltip" data-placement="top">
<span class="icon-search"></span>
</button>
</div>
</div>
</form>
</div>
</div>
<div class="text-center">
<a href="<?php $this->options->siteUrl(); ?>" class="btn to-home-link">回到首页</a>
</div>
</div>
</div>
<?php $this->need('components/footer.php'); ?>