]> git.openstreetmap.org Git - stateofthemap.git/blob - index.php
RefreshWP 1.5
[stateofthemap.git] / index.php
1 <?php get_header(); ?>
2 <?php get_sidebar(); ?>
3 <!--Content Starts here-->
4                         <div id="main">
5                                 <?php if (have_posts()) : ?>
6                                 <?php while (have_posts()) : the_post(); ?>
7                                 
8                         <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
9                                         <?php if (function_exists("the_bunny_tags")) {
10                                                 the_bunny_tags();
11                                                 }
12                                         ?>      
13            <?php the_content('Read the rest of this entry &raquo;'); ?>
14            <p class="post-footer align-right">
15            Posted in <?php the_category(', ') ?> on <span class="date"><?php the_time('F jS, Y') ?></span> <!-- by <?php the_author() ?> --> <strong>|</strong>
16        <?php edit_post_link('Edit','','<strong> | </strong>'); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
17         <?php endwhile; ?>
18         <div>
19                         <div class="alignleft"><small><?php previous_post_link('&laquo; %link') ?></small></div>
20                         <div class="alignright"><small><?php next_post_link('Next: %link &raquo;') ?></small></div>
21         </div>
22         <?php else : ?>
23
24                 <h1>Not Found</h1>
25                 <p>Sorry, but you are looking for something that isn't here.</p>
26                 <?php include (TEMPLATEPATH . "/searchform.php"); ?>
27
28         <?php endif; ?>
29                                                                 
30                                 
31                         </div>
32                 
33                 <!-- content-wrap ends here --> 
34                 </div>
35 <!--Content Ends here-->                
36 <?php get_footer(); ?>