<?php get_header(); ?>
	<div id="main">
	  	   <div id="container">
		   		<div id="header">
					 <div id="menu">
					 	  <ul>
						  	  <li><a href="<?php bloginfo('url'); ?>" title="home">Home</a></li>
							  <?php wp_list_pages('title_li='); ?>
						  </ul>
					 </div>
					 <div id="under_menu">
					 	  <div id="logo"><a href="<?php bloginfo('url'); ?>" title="home"><img src="<?php bloginfo('template_directory'); ?>/images/logo.png" alt="logo"  /></a></div>
						  <div id="ads1"><a href="logo"><img src="<?php bloginfo('template_directory'); ?>/images/ads1.png" /></a></div>
					 </div>
				</div>
				<div id="left_column">
					 
					 <div id="content">
						<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
						<?php if (get_post_meta($post->ID, 'image',true)) { ?>
						<div class="image_block">
							<img src="<?php echo get_post_meta($post->ID, 'image', true); ?>" />
						</div>
						<?php } ?>
						<div class="text_block">
							<h2><a href="<?php the_permalink(); ?>"title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="info">Escrito en <?php the_time('M d'); ?> por <?php the_author_posts_link(); ?> | <?php comments_popup_link('0 Comentarios, opina!', '1 Comentario, deja el tuyo!', '% Comentarios, opina!'); ?></div>
<center><a href="http://bitacoras.com/anotaciones/<?php the_permalink() ?>"><img src="http://widgets.bitacoras.com/votar/mini2/<?php the_permalink() ?>" alt="votar" title="Votar esta anotación en Bitacoras.com" style="vertical-align:middle;border:0" /></a></center>
							<?php the_content('<div class="info">(Leer Más...)</div>'); ?>
<?php wp_related_posts(); ?>
<center>
<p><img src="http://ocioxtremo.com/images/enviarposts.PNG" border="0"></p>
<a href="http://twitter.com/home?status=Leyendo%20<?php the_permalink() ?>" target="_blank">
<img src="http://ocioxtremo.com/images/geekball/twitter.png" border="0"></a>
<a href="http://www.facebook.com/share.php?u=<?php the_permalink() ?>" target="_blank">
<img src="http://ocioxtremo.com/images/geekball/facebook.png" border="0"></a>
<a href="http://del.icio.us/post?url=<?php the_permalink() ?>" target="_blank"><img src="http://ocioxtremo.com/images/geekball/delicious.png" border="0"></a>
<a href="http://www.technorati.com/faves?add=<?php the_permalink() ?>" target="_blank"><img src="http://ocioxtremo.com/images/geekball/technorati.png" border="0"></a>
<a href="http://ocioxtremo.com/feed" target="_blank"><img src="http://ocioxtremo.com/images/geekball/rss.png" border="0"></a>
</center>
<p>
<center>
Comparte este artículo: <input type="text" size="38" onfocus="this.select()" style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px" value="http://ocioxtremo.com/?p=<?php echo $wp_query->post->ID ?>">
</center></p>
							
						</div>
						<div class="clear"></div>
						<?php endwhile ?>
						<?php else : ?>
							<h2 class="center">Not Found</h2>
							<p class="center">Sorry, but you are looking for something that isn't here.</p>
  						<?php include (TEMPLATEPATH . '/searchform.php'); ?>
						<?php endif; ?>
                                        <div id="comments_template">
                                               <?php comments_template(); ?>
                                        </div>
					</div>
				</div>
				
 				<?php get_sidebar(); ?>
            		<?php get_footer(); ?>
		</div>
	</div>
</body>
</html>