3 <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
5 <div class="datecomrap">
7 <?php the_time('M'); ?><br />
8 <span style="font-size:2em; font-weight:bold;"><?php the_time('d'); ?></span><br />
9 <?php the_time('Y'); ?>
10 </div><!-- end date -->
13 <!-- if you don't want the comment count left of the post, erase from here ... -->
15 <?php comments_popup_link( '0', '1', '%', 'comments-link', '-'); ?>
16 </div><!-- end commy -->
20 </div><!-- end datecomrap -->
22 <div class="storywrap">
24 <div class="post" id="post-<?php the_ID(); ?>">
25 <h3 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
27 <div class="storycontent">
28 <?php the_content(__('(more...)')); ?>
29 </div><!-- end storycontent -->
33 Written by <?php the_author() ?><?php _e(" in:"); ?> <?php the_category(',') ?> | <?php the_tags(__('Tags: '), ', ', ' '); ?><?php edit_post_link(__('Edit This')); ?>
34 <?php wp_link_pages(); ?><br />
36 </div><!-- end meta -->
38 </div><!-- end storywrap -->
40 </div><!-- end post -->
42 <?php endwhile; else: ?>
44 <div class="notfound"><?php _e('Sorry, no posts matched your criteria.<br />Maybe try another search?'); ?><br /><br />
45 <form id="searchform" method="get" action="<?php bloginfo('home'); ?>">
46 <input type="text" name="s" id="s" size="25" />
47 <input type="submit" value="Search">
49 Or visit <a href="<?php bloginfo('url'); ?>">Home?</a><br /><br />
51 Or read the latest news?<br /><br />
52 <div style="font-size:12px; margin-left:40px; font-weight:normal; text-align:left;">
53 <?php $lastposts = get_posts('numberposts=10');
54 foreach($lastposts as $post) :
55 setup_postdata($post);
57 <?php the_title(); ?><a href="<?php the_permalink(); ?>" id="post-<?php the_ID(); ?>"> (read)</a><br />
68 <?php posts_nav_link(' — ', __('« Newer Posts'), __('Older Posts »')); ?>
69 </div><!-- end navlink -->
72 <?php get_footer(); ?>