-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy patharchive.php
More file actions
55 lines (54 loc) · 2.88 KB
/
Copy patharchive.php
File metadata and controls
55 lines (54 loc) · 2.88 KB
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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<div class="mdui-container mdui-typo searchData" role="main">
<h3><?php $this->archiveTitle(array(
'category' => _t('%s 下的文章'),
'search' => _t('包含关键字 %s 的文章'),
'tag' => _t('标签 %s 下的文章'),
'author' => _t('%s 发布的文章')
), '', ''); ?></h3>
<?php if ($this->have()): ?>
<div class="mdui-row">
<?php while($this->next()): ?>
<article class="s-data-card mdui-col-md-4">
<div class="s-data-card-con shadow-2">
<div class="colorHi">
<?php if($this->options->slimg && 'guanbi'==$this->options->slimg): ?>
<?php else: ?>
<?php if($this->options->slimg && 'showoff'==$this->options->slimg): ?><a href="<?php $this->permalink() ?>" ><?php showThumbnail($this); ?></a>
<?php else: ?>
<div class="cardImage-img" style="background-image: url('<?php showThumbnail($this); ?>')"></div>
<?php endif; ?>
<?php endif; ?>
</div>
<h5><?php $this->title() ?></h5>
<p>
<?php _e('作者: '); ?><a itemprop="name" href="<?php $this->author->permalink(); ?>" rel="author"><?php $this->author(); ?></a>
 <?php _e('时间: '); ?><time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php $this->date(); ?></time>
</p>
<p>
<a href="<?php $this->permalink() ?>">
阅读更多
</a>
</p>
<div class="mdui-divider" style="margin-bottom: 10px"></div>
<p>
<?php $this->excerpt(10,'...'); ?>
</p>
</div>
</article>
<?php endwhile; ?>
</div>
<?php else: ?>
<div>呀,没有找到您想要的东西,一定是姿势不对不如试试搜索</div>
<form method="post" class="findMore-404 getData-input">
<input placeholder="搜索内容( Enter确认 )" type="text" name="s" autofocus />
</form>
<?php endif; ?>
<div class="mdui-row" id="search-list-nav">
<div class="nav mdui-col-md-4 mdui-col-xs-10 mdui-col-offset-xs-1">
<?php $this->pageNav('<i class="mdui-icon material-icons">keyboard_arrow_left</i>', '<i class="mdui-icon material-icons"></i>',0, '...', 'wrapTag=ul&wrapClass=page-navigator&itemTag=li&textTag=span&tClass=current&prevClass=prev&nextClass=next'); ?>
</div>
</div>
</div><!-- end #main -->
<?php $this->need('footer.php'); ?>