1
|
1 |
<?php get_header(); ?> |
|
2 |
<div id="wrapp"> |
|
3 |
<div id="contentwrap"> |
|
4 |
<div class="inside"> |
|
5 |
|
|
6 |
<?php if (have_posts()) : ?> |
|
7 |
|
|
8 |
<?php while (have_posts()) : the_post(); ?> |
|
9 |
|
|
10 |
<div class="post" id="post-<?php the_ID(); ?>"> |
|
11 |
<div class="in2"> |
|
12 |
<div class="meta"> |
|
13 |
<span class="date"><?php the_time('M d, y'); ?></span> <span class="author">Posted by <?php the_author(); ?></span> |
|
14 |
</div> |
|
15 |
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> |
|
16 |
|
|
17 |
<div class="entry"> |
|
18 |
<?php the_content(''); ?> |
|
19 |
</div> |
|
20 |
|
|
21 |
</div> |
|
22 |
</div> |
|
23 |
<?php comments_template(); ?> |
|
24 |
<?php endwhile; ?> |
|
25 |
|
|
26 |
<div class="navigation"> |
|
27 |
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> |
|
28 |
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> |
|
29 |
</div> |
|
30 |
<?php if (function_exists('wp_pagenavi')) { wp_pagenavi(); } ?> |
|
31 |
|
|
32 |
<?php else : ?> |
|
33 |
|
|
34 |
<h2 class="center">Not Found</h2> |
|
35 |
<p class="center">Sorry, but you are looking for something that isn't here.</p> |
|
36 |
<?php get_search_form(); ?> |
|
37 |
|
|
38 |
<?php endif; ?> |
|
39 |
</div> |
|
40 |
</div> |
|
41 |
<?php get_sidebar(); ?> |
|
42 |
<?php include(TEMPLATEPATH.'/sidebar2.php');?> |
|
43 |
|
|
44 |
</div> |
|
45 |
|
|
46 |
<?php get_footer(); ?> |