<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div id=post-<?php the_ID(); ?> <?php post_class(); ?>>
	<?php $splashimg = get_post_meta($post->ID, post-image, $single = true); ?>
	<?php if($splashimg !== ) { ?>
		<img src=<?php echo $splashimg; ?> alt=<?php { echo the_title(); } ?> class=splashimg />
			<?php } else { echo ; } ?>
			<h2><a href=<?php the_permalink(); ?> title=<?php the_title(); ?>><?php the_title(); ?></a></h2>
			<?php the_content(); ?>
</div>
<?php endwhile; else: ?>
	<p>Some error message or similar.</p>
<?php endif; ?>