<?php get_header(); ?>
& d( D; f* `5 f
+ D$ P7 c, i8 R+ V- k <div id="content">
3 z/ [; K9 k/ q5 k
* I6 B- R; d" P- \ <?php include(TEMPLATEPATH. '/includes/templates/breadcrumbs.php');
( i3 B" X8 C( W) |& O B' X | * c1 C3 k: q7 d& x' B) r7 N4 v
rewind_posts();
4 R1 d6 M# x; S% R0 W/ t if (have_posts()) {& ?' \) K, [# G" s- i
while (have_posts()) : the_post();
9 D6 Y$ v- j1 j' ~* q$ S global $post;- \, R+ o' |5 i& p5 f
include(TEMPLATEPATH. '/includes/templates/loop.php');
9 b5 L% y. o$ Z6 q7 ~9 w $postcount++;
+ v+ W9 k H% V5 Y! c! C/ G+ W endwhile;
- z8 j8 K9 g1 U0 h% w. } , Z' d, P9 N# q5 R) L; c
} else {
9 ~/ F5 R! e6 `4 k include(TEMPLATEPATH. '/includes/templates/not-found.php'); # x' t4 u; u9 ?
}
/ ~, \" X2 n/ ~$ k: u* X( X ?>
1 t$ N6 j0 Y: B6 e ( E; [/ w3 h5 v5 V5 c+ n
<div class="pagination">
2 `1 ~0 A: J& o1 m5 I <?php if (function_exists('wp_pagenavi')) wp_pagenavi(); else { ?>
' ]( j, {) N# [. t P& W: F* ` <div class="newer"><?php previous_posts_link(__('Newer Entries', 'themejunkie')) ?></div>% O; A3 Z1 {6 v% Q6 m
<div class="older"><?php next_posts_link(__('Older Entries', 'themejunkie')) ?></div>9 F: h" t3 a6 q: P( }
<div class="clear"></div>
" Y+ `, e+ E3 E9 F+ U5 K <?php } ?>& r0 d! X. F) q
</div><!--end .pagination-->+ R3 r& B" @, b G5 U1 C2 e
" f" g$ y2 k0 D, }+ @</div><!--end #content-->6 a+ A' S2 [9 c8 J1 W$ d
4 M7 G( Q \: {1 U/ L; B
<?php get_sidebar(); ?>: ~( ?3 \' L1 b$ {2 O1 L! C
' b( Y3 Z, w. c3 n. s R _<?php get_footer(); ?>
; d( \8 ~) u% N
: I. D/ j) c1 ] |