-
Notifications
You must be signed in to change notification settings - Fork 3
/
blog.multiple.php
39 lines (38 loc) · 1.48 KB
/
blog.multiple.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php namespace Habari; ?>
<?php $theme->display('header'); ?>
<div id="intro" class="subpage">
<div class="bg"></div>
<div class="container">
<h1>News from Habari</h1>
</div>
</div>
<div id="intro_header">
<div class="container">
<h3>Updates, Tutorials & Articles from the Habari Community.</h3>
</div>
</div>
<div id="article" class="contributing">
<div class="container">
<div id="page-selector" class="top sixteen columns">
<?php echo $theme->prev_page_link(); ?> <?php echo $theme->page_selector( null, array( 'leftSide' => 2, 'rightSide' => 2, 'hideIfSinglePage' => true ) ); ?> <?php echo $theme->next_page_link(); ?>
</div>
<div class="row">
<?php foreach( $posts as $post ) { ?>
<div id="entry-<?php $post->id; ?>" class="sixteen area columns news_block">
<div class="three columns block">
<i class="icon-code">Q</i>
</div>
<div class="columns thirteen body">
<h3><a href="<?php URL::out('display_blog_single', array('slug' => $post->slug) ); ?>" title="<?php echo $post->title; ?>"><?php echo $post->title_out; ?></a></h3>
<?php echo strip_tags( $post->content_excerpt ); ?>
</div>
</div>
<?php } ?>
</div>
<div id="page-selector" class="top sixteen columns">
<?php echo $theme->prev_page_link(); ?> <?php echo $theme->page_selector( null, array( 'leftSide' => 2, 'rightSide' => 2, 'hideIfSinglePage' => true ) ); ?> <?php echo $theme->next_page_link(); ?>
</div>
</div>
</div>
<div id="ending">
<?php $theme->display('footer'); ?>