-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patharchive.php
More file actions
33 lines (29 loc) · 1.32 KB
/
archive.php
File metadata and controls
33 lines (29 loc) · 1.32 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
<?php $this->need('header.php'); ?>
<div id="content_box">
<?php if ($this->have()): ?>
<?php while($this->next()): ?>
<div class="post"><div class="mid">
<div class="angle"></div>
<div class="post_date"><?php $this->date('Y-m-d'); ?></div>
<h1 class="title"><a href="<?php $this->permalink() ?>" title="<?php $this->title() ?>"><?php $this->title() ?></a></h1>
<div class="content"><?php $this->content('阅读剩余部分'); ?>
</div>
<div class="post_meta">
<div class="post_tag"><?php $this->tags(', ', true, ''); ?>,<?php $this->category(','); ?></div>
<div class="post_comm"><a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('No Comments', '1 Comment', '%d Comments'); ?></a></div>
</div>
</div></div><div class="post-bot"></div>
<?php endwhile; ?>
<?php else: ?>
<div class="post">
<h2 class="entry_title"><?php _e('没有找到内容'); ?></h2>
</div>
<?php endif; ?>
<div id="page_bar">
<span style="float:right;">
<?php if (!$this->is('single')): ?>
<?php $this->pageLink('« ', 'prev') ?><?php $this->pageLink('»', 'next') ?>
<?php endif; ?>
</div>
</div><!-- end #content-->
<?php $this->need('footer.php'); ?>