I keep getting this syntax error. Please forgive me I am not a php expert by any means. Can someone look at my code and help me figure this out?
Parse error: syntax error, unexpected T_ELSE on line 26
<?php get_header(); ?>
<!-- BEGIN home -->
<div id="home">
</div>
<!-- END home -->
<!-- BEGIN content -->
<div id="content">
<?php if (have_posts()) : ?>
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
<h2 class="pagetitle"><?php single_cat_title(); ?></h2>
<?php } ?>
<?php if (function_exists('wp_snap')) { echo wp_snap(4, FALSE); } ?>
<p> </p>
<?php while (have_posts()) : the_post(); ?>
<!-- begin post -->
<div class="post">
<h2>"><?php the_title(); ?></h2>
<?php the_content(); ?>
</div>
<!-- end post -->
<?php endwhile; ?>
<?php else : ?>
<div class="notfound">
<h2>Not Found</h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
</div>
<?php endif; ?>
</div>
<!-- END content -->
<?php get_sidebar(); get_footer(); ?>