<?php 
global $options;
foreach ($options as $value) {
    if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
} 
?>

<div id="prefooter">
	<div class="wrap">
	    
	<div class="column">
		<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer: Left Column') ) : ?> <?php endif; ?>
	</div><!-- end .column -->
	      
	<div class="column">
		<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer: Center Column') ) : ?> <?php endif; ?>
	</div><!-- end .column -->
	      
	<div class="column column-last">
		<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer: Right Column') ) : ?> <?php endif; ?>
	</div><!-- end .column -->
	    
	<div class="clear">&nbsp;</div>
	    
	</div><!-- end .wrap -->
</div><!-- end #footer -->

<div id="footer">
	<div class="wrap">
	    
	<?php wp_nav_menu( array('container' => '', 'container_class' => '', 'menu_class' => '', 'depth' => '1', 'menu_id' => 'menufooter', 'sort_column' => 'menu_order', 'theme_location' => 'secondary' ) ); ?>
	<p>Copyright &copy; <?php echo date("Y",time()); ?> <?php bloginfo('name'); ?>. All rights reserved. Theme by <a href="http://www.wpzoom.com" rel="external" target="_blank">WPZOOM</a></p>
	      
	<div class="clear">&nbsp;</div>
	    
	</div><!-- end .wrap -->
</div><!-- end #footer -->

</div><!-- end #wrap -->

<?php wp_footer(); ?>
<?php if ($wpzoom_misc_analytics != '' && $wpzoom_misc_analytics_select == 'Yes') {	echo stripslashes($wpzoom_misc_analytics); } ?>
</body>
</html>
