SO im trying to modify the current theme on one of my websites ( ).
There is a section on the homepage (front-page.php) that is designed to pull an excerpt from the latest blog post.

My task is to remove this blog excerpt and put a widget area in its place.

My problem:
every time i try to remove the code sections generating this blog excerpt, i run into syntax errors: unexpected $end on line blahblahblah.

I cant seem to find the problem.
I have spent days trying to fix this with no avail.

Here is the specific section that im trying to modify:
        <?php } else { ?>
            <h2><?php _e('From The Blog','andrina'); ?></h2>   
       <?php } ?> 
            <?php query_posts( 'posts_per_page=2' ); ?>
            <?php if (have_posts()) :  while ( have_posts() ) : the_post(); ?>
            <div class="bottom-feature-left-inner-wrapper">
                <a href="<?php the_permalink() ?>"><?php inkthemes_get_image(185, 165); ?> </a>
                <div class="bottom-feature-left-inner">

  <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
                   <?php echo inkthemes_custom_trim_excerpt(40); ?>
                    <a href="<?php the_permalink() ?>" class="index-read"></a> 

           <?php endwhile; endif;  ?>
           <?php wp_reset_query(); ?>
full file can be found at: