web/wp-content/themes/bgw/index.php
author ymh <ymh.work@gmail.com>
Mon, 22 Mar 2010 16:36:28 +0100
changeset 5 ac511f1ccc8e
parent 1 0d28b7c10758
permissions -rw-r--r--
add hgignore

<?php get_header(); ?>
<div id="wrapp">
<div id="contentwrap">
<div class="inside">

	<?php if (have_posts()) :    ?>

		<?php while (have_posts()) : the_post(); ?>

			<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
            <div class="in2">
                <div class="meta">
                 <span class="date"><?php the_time('M d, y'); ?></span>&nbsp;&nbsp;&nbsp;<span class="author">Posted by <?php the_author(); ?></span>
                </div>
				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

				<div class="entry">
					<?php the_content(''); ?>
				</div>

				<p class="postmetadata"><span class="comm"><?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></span><a class="more-link" href="<?php the_permalink() ?>#more">Read More &raquo</a></p>
			</div>
			</div>

    	<?php endwhile; ?>

		<div class="navigation">
			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
		</div>
     	<?php if (function_exists('wp_pagenavi')) { wp_pagenavi(); }  ?>

	<?php else : ?>

		<h2 class="center">Not Found</h2>
		<p class="center">Sorry, but you are looking for something that isn't here.</p>
		<?php get_search_form(); ?>

	<?php endif; ?>
</div>
</div>
<?php get_sidebar(); ?>
<?php include(TEMPLATEPATH.'/sidebar2.php');?>

</div>

<?php get_footer(); ?>