-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathsearch.php
More file actions
18 lines (17 loc) · 784 Bytes
/
search.php
File metadata and controls
18 lines (17 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php if(isset($_POST['action'])&& $_POST['action'] == 'index_ajax_navi'){
$this->need('index_list.php');
}else{
if(strpos($_SERVER["PHP_SELF"],"themes")) header('Location:/');
$this->need('header.php'); ?>
<?php if ($this->have()): ?>
<div class="alert alert-info"><h4><?php $this->archiveTitle(' < ','',''); ?></h4></div>
<div id="content">
<?php $this->need('index_list.php'); ?>
</div>
<?php else: ?>
<blockquote>没有搜索到与“<?php $this->archiveTitle(' < ','',''); ?>”相关的内容
<small>请更换关键词重新搜索</small></blockquote>
<img style="display:block;margin:0 auto 0 auto" src="<?php $this->options->themeUrl(); ?>img/404.gif" />
<?php endif; ?>
<?php $this->need('footer.php'); ?>
<?php }?>