You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
3.0 KiB
68 lines
3.0 KiB
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; |
|
$this->need('component/header.php'); |
|
?> |
|
|
|
|
|
<!-- aside --> |
|
<?php $this->need('component/aside.php'); ?> |
|
<!-- / aside --> |
|
|
|
|
|
|
|
<!-- content --> |
|
<main class="app-content-body <?php Content::returnPageAnimateClass($this); ?>"> |
|
<div class="hbox hbox-auto-xs hbox-auto-sm"> |
|
<div class="bg-light lter b-b wrapper-md"> |
|
<h1 class="m-n font-thin h3"><i class="fontello fontello-search i-sm m-r-sm"></i><?php _me("搜索结果") ?></h1> |
|
<div class="entry-meta text-muted m-b-none small post-head-icon"><?php $this->archiveTitle(array( |
|
'search' => _mt('为您查到关于 %s 相关结果'), |
|
), '', ''); ?></div> |
|
</div> |
|
<div class="wrapper-md"> |
|
<div class="tab-container"> |
|
<ul class="nav nav-tabs"> |
|
<li class="active"><a href data-toggle="tab" data-target="#tab_1"><?php _me("全部") ?></a></li> |
|
</ul> |
|
<div class="tab-content"> |
|
<div class="tab-pane active" id="tab_1"> |
|
<ul class="list-group no-borders pull-in m-b-none"> |
|
<?php |
|
if ($this->have()): ?> |
|
<?php while ($this->next()): ?> |
|
<li class="list-group-item"> |
|
<a href="<?php $this->permalink(); ?>" class="index-post-title m-b-sm m-t-sm block"><?php $this->title(); ?></a> |
|
<p class="summary l-h-2x text-muted"><?php echo Content::excerpt($this->content,100); ?></p> |
|
</li> |
|
<?php endwhile; ?> |
|
<?php else: ?> |
|
<p class="m-t-md no_search_result"> <?php _me("没有找到搜索结果,请尝试更换关键词。") ?> </p> |
|
<?php endif; ?> |
|
</ul> |
|
|
|
<!--分页 按钮--> |
|
<nav class="text-center m-t-lg m-b-lg" role="navigation"> |
|
<?php $this->pageNav('<i class="fontello fontello-chevron-left"></i>', '<i class="fontello fontello-chevron-right"></i>'); ?> |
|
</nav> |
|
<style> |
|
.page-navigator>li>a, .page-navigator>li>span{ |
|
line-height: 1.42857143; |
|
padding: 6px 12px; |
|
} |
|
</style> |
|
</div> |
|
|
|
</div> |
|
</div> |
|
|
|
|
|
|
|
</div> |
|
<!--首页右侧栏--> |
|
<?php $this->need('component/sidebar.php') ?> |
|
</div> |
|
<!-- /content --> |
|
</main> |
|
|
|
<!-- footer --> |
|
<?php $this->need('component/footer.php'); ?> |
|
<!-- / footer -->
|
|
|