Hello all, I've made my first wordpress theme from scratch and as expected I'm running into some trouble getting it to function.

Here's the error message:
Parse error: syntax error, unexpected $end in /home/seve4033/public_html/blog/wp-content/themes/sevensharks/footer.php on line 35

...line 35 is </html> so I'm lost as to what is unexpected.
If you guys could lend a helping eye with this thatd'd be great. Thanks in advance

<?php
/**
 * @package WordPress
 * @subpackage Seven_Sharks
 */
?>  
    <div id="footer">
    
    <?php 	/* Widgetized sidebar, if you have the plugin installed. */
			if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footer') ) : ?>
    
      <hr id="frule" />
      
      <div class="submenu" id="category">
      	<h3><?php _e('Categories')?></h3>
        		<ul>                       
        			<?php wp_list_categories('title_li='); ?>
        		</ul>
      </div>
      
      <div class="submenu">
      <h3><?php _e('Archives') ?></h3>
    			<ul>
    			<?php wp_get_archives('type=monthly&limit=12'); ?>
    			</ul>
      </div>
      
      <div class="submenu">
      <li>
      <h3><?php _e('Blogroll')?></h3>
        	   <ul>
               <?php wp_list_bookmarks('title_li=&categorize=0'); ?>
               </ul>
               
          <?php endif; ?>
      </div>
      
      <div id="copyright">
   	  All Content &copy; 2010 Seven Sharks. All Rights Reserved.
      <br>
      <a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
		and <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
		<!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
      </div>
      <div class="clear"></div>
      </div>
      
    </div>
    
		<?php wp_footer(); ?>
</body>
</html>

Is this footer.php?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.