<?php get_header(); ?>

				<div id="content">
					<div id="content_left">
						<div class="homepage_content">					

				<?php $count=1; ?>						
				<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>

					<?php if ($count>1) { echo '<hr style="margin: 0 0 25px 0;">'; } ?>
					<?php $count++; ?>

					<!--Post-->
						<div class="post">
							<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
								<h2><?php the_title(); ?></h2>
							</a>
							<?php
							if (get_option('plg_blog_meta') != 'true') { ?>
							<div class="post_meta">
							<img src="<?php bloginfo('template_url'); ?>/images/time.png" alt="" /> Published on <a href="<?php the_permalink(); ?>"><?php the_date(); ?></a>
							in <?php the_category(', ') ?><br />
							<img src="<?php bloginfo('template_url'); ?>/images/comment.png" alt="" /> 
								<?php comments_popup_link('0 Comment', '1 Comment', '% Comments'); ?>
							<?php edit_post_link('Edit', ' &#124; ', ''); ?><br/>
							<img src="<?php bloginfo('template_url'); ?>/images/tags.png" alt="" /> 
								<?php 
									$tag = get_the_tags();
									if (! $tag)
									{echo "No tags";}
									else
									{the_tags('Tags: ', ', ','<br/>');}
								  ?>
							</div>
							<?php } ?>
							<?php the_content(); ?>
						</div>	<br/>
					<!--End of Post-->
					<?php endwhile; ?>
						<!--Navigation-->
							<div class="navigation">
								<?php posts_nav_link(); ?>
							</div>
						<!--End of Navigation-->
					<?php else :?>
					<div class="post">
						<div class="post">
						<p>There is no content set to display - please set either a blog post or a page to display in this space.</p>
						</div">
					</div>
			
					<?php endif; ?>
						
							
							
							
							
							
							
						</div>
					</div>
					
					<?php get_sidebar(); ?>
					
				</div>
				
<?php get_footer(); ?>
