-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·42 lines (36 loc) · 1.27 KB
/
index.php
File metadata and controls
executable file
·42 lines (36 loc) · 1.27 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
<?php
/* customized theme for postile
*/
error_reporting(E_ALL);
$this->need('header.php');
if($this->is('index')){
$this->need('featured.php');
}
?>
<div id="main">
<?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">
<?php $this->content('Read More'); ?>
</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 $this->pageNav("NEWER POSTS", "OLDER POSTS", "0", ""); ?>
</div><!-- end of main -->
<?php $this->need('sidebar.php'); ?>
</div><!-- end of body -->
<?php $this->need('footer.php');