-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy patharchive.php
More file actions
45 lines (43 loc) · 1.87 KB
/
archive.php
File metadata and controls
45 lines (43 loc) · 1.87 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
<?php $this->need('header.php'); ?>
<div id="main">
<?php if ($this->have()): ?>
<div class = "search_title">
<p> List of Reseults </p>
<div class="post_cut"></div>
</div>
<?php while($this->next()): ?>
<div class="post">
<div class="post_header">
<div class="post_date">
<div style="width:42px;height:42px;">
<?php $this->date('<p>M</p><p>j</p>');?>
</div>
</div>
<h2 class="post_title"><a href="<?php $this->permalink(); ?>"><?php $this->title(); ?></a></h2>
<h4 class="author"> Posted by <?php $this->author(); ?>"></h4>
</div>
<div class="post_content">
<p class="article">
<?php $this->content('Read More'); ?>
</p>
</div>
<div class="post_item">
<p><?php _e('Category')?></p>
<?php $this->category(','); ?>
</div>
<div class="post_cut"></div>
</div><!-- end of post -->
<?php endwhile; ?>
<?php else: ?>
<div class = "not_found">
<h2><?php _e('Content Not Found'); ?></h2>
<p> Try to search for another key word or you can find the article though archive or date on the side bar. </p>
</div>
<div class="bt_back clear">
<a href="javascript:history.back()" class="back">Back</a>
</div>
<?php endif; ?>
<?php $this->pageNav("NEWER POSTS", "OLDER POSTS", "0", ""); ?>
</div><!-- end of main -->
<?php $this->need('sidebar.php'); ?>
<?php $this->need('footer.php'); ?>