<?php get_header(); ?>
4 U8 p0 D. G7 M% _" v; f1 e
1 @7 _0 P9 A# _! F <div id="content">. v$ j6 q* P8 r3 \2 F# s
1 z& w7 W5 N8 L- n5 Q& L. p <?php include(TEMPLATEPATH. '/includes/templates/breadcrumbs.php');1 V8 o: E9 L" G2 ^) V
! M# L+ @, n0 ?9 t! ] rewind_posts();3 U. |* ]# D& |* f3 X
if (have_posts()) {
9 G0 o' i1 T+ r. ~ v4 _/ R while (have_posts()) : the_post();' ^: U' G# C2 {
global $post;
; {3 G7 N/ C/ s0 ]" H0 e include(TEMPLATEPATH. '/includes/templates/loop.php');
& Q2 K8 l9 i; i- D! ~) S $postcount++;; Y9 j- k# Y. z p# B5 f( l3 V: j
endwhile;
% u* }1 ~ B- w6 J1 X' J - B6 I6 O; w7 \- q
} else { 1 k6 S7 u& p' L9 m7 r; S) _8 T
include(TEMPLATEPATH. '/includes/templates/not-found.php'); 3 b3 [9 P( V$ w8 c; r* b# N
}$ j/ e2 _' S- \. Q" F; [
?>
6 \* A" M3 D+ {" l( \" B
3 X! ]) B- |2 x3 ?$ N* q <div class="pagination">2 e6 a8 d/ g7 N( ]
<?php if (function_exists('wp_pagenavi')) wp_pagenavi(); else { ?>4 a9 l# S: `" l) S# l! ^$ l
<div class="newer"><?php previous_posts_link(__('Newer Entries', 'themejunkie')) ?></div>
( Z4 P" {2 _# Y <div class="older"><?php next_posts_link(__('Older Entries', 'themejunkie')) ?></div>
7 | T, ?' m$ L+ W1 ]7 U <div class="clear"></div>
1 @& H( U9 L- [' G5 x& R. h: C <?php } ?>
1 {9 Q4 N5 L% {1 {/ U: M$ U$ g </div><!--end .pagination-->
+ o4 q7 g; P4 m$ Y
& C* p- O% e8 N) @8 i</div><!--end #content-->
# J8 z' Q. o7 Y7 ~
' O9 B# {" z b+ s2 S( y<?php get_sidebar(); ?> w4 A0 O. }3 l9 x9 l+ ^
- B) K) T8 X; Q
<?php get_footer(); ?>" M8 A. R3 M5 P& p4 v
: O# l' l1 C; G- S- g# M C
|