forked from youranreus/G
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchive.php
25 lines (20 loc) · 1.15 KB
/
archive.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
<?php $this -> need('header.php'); ?>
<div id="article">
<div id="article-content">
<h1 style="background: white;padding: 10px;border-radius: 10px;text-align: center;margin: 1rem 1%;"><?php $this -> archiveTitle(array('category' => _t('分类「%s」下的文章'), 'search' => _t('包含关键字「%s」的文章'), 'tag' => _t('标签 「%s」 下的文章'), 'author' => _t('「%s」 发布的文章')), '', ''); ?></h1>
<?php while($this->next()): ?>
<a href="<?php $this->permalink() ?>">
<div id="article-<?php $this->cid();?>" class="article-item hoverup">
<h2 id="article-<?php $this->cid();?>-title"><span><?php $this->title() ?></span></h2>
<?php if ($this->options->enableOneRow == 0): ?><em><?php $this->excerpt(50);?></em><?php endif; ?>
<p class="clear"><span id="article-author"><?php $this->author(); ?></span><span id="article-date"><?php $this->date('F j, Y'); ?></span></p>
</div>
</a>
<?php endwhile; ?>
<div id="pages" class="clear">
<?php $this->pageLink('更多 >','next'); ?>
<?php $this->pageLink('< 返回','prev'); ?>
</div>
</div>
</div>
<?php $this -> need('footer.php'); ?>