<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head profile="http://gmpg.org/xfn/11"> <title> <?php if ( is_home() ) { ?><?php bloginfo('description'); ?> — <?php bloginfo('name'); ?><?php } ?> <?php if ( is_search() ) { ?>Search Results — <?php bloginfo('name'); ?><?php } ?> <?php if ( is_author() ) { ?>Author Archives — <?php bloginfo('name'); ?><?php } ?> <?php if ( is_single() ) { ?><?php wp_title(''); ?><?php } ?> <?php if ( is_page() ) { ?><?php wp_title(''); ?><?php } ?> <?php if ( is_category() ) { ?><?php single_cat_title(); ?> — <?php bloginfo('name'); ?><?php } ?> <?php if ( is_month() ) { ?><?php the_time('F'); ?> — <?php bloginfo('name'); ?><?php } ?> <?php if (function_exists('is_tag')) { if ( is_tag() ) { ?><?php bloginfo('name'); ?> — Tag Archive — <?php single_tag_title("", true); } } ?> </title> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <?php if (is_home()) { ?> <?php if ( get_option('npress_meta_description') <> "" ) { ?><meta name="description" content="<?php echo stripslashes(get_option('npress_meta_description')); ?>" /><?php } ?> <?php if ( get_option('npress_meta_keywords') <> "" ) { ?><meta name="keywords" content="<?php echo stripslashes(get_option('npress_meta_keywords')); ?>" /><?php } ?> <?php if ( get_option('npress_meta_author') <> "" ) { ?><meta name="author" content="<?php echo stripslashes(get_option('npress_meta_author')); ?>" /><?php } ?> <?php } ?> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( get_option('npress_syndication') <> "" ) { echo get_option('npress_syndication'); } else { echo get_bloginfo_rss('rss2_url'); } ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <!--[if lt IE 8]> <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script> <![endif]--> <?php if ( get_option('npress_scripts_header') <> "" ) { echo stripslashes(get_option('npress_scripts_header')); } ?> <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> <?php wp_head(); ?> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <?php if ( get_option('npress_customcss') ) { ?><link href="<?php bloginfo('template_directory'); ?>/css/custom.css" rel="stylesheet" type="text/css"><?php } ?> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.min.js"></script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.jcarousel.pack.js"></script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/supersubs.js"></script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/superfish.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('ul.sf-menu').supersubs({ minWidth: 12, // minimum width of sub-menus in em units maxWidth: 27, // maximum width of sub-menus in em units extraWidth: 1 // extra width can ensure lines don't sometimes turn over // due to slight rounding differences and font-family }).superfish({ delay: 400, // delay on mouseout animation: {opacity:'show',height:'show'}, // fade-in and slide-down animation speed: 'fast', // faster animation speed autoArrows: false, // disable generation of arrow mark-up dropShadows: false // disable drop shadows }).children().find('li:first').css('border-top','0px').find('a').css('border-top','0px'); $("#featured .f-item").hover(function(){ $(this).find(".f-meta").stop().animate({ top:0 }, 150); }, function(){ $(this).find(".f-meta").stop().animate({ top:180 }, 150); }); $("#sidebar .subscription span").hover(function(){ $(this).stop().animate({ marginLeft:5 }, 150); }, function(){ $(this).stop().animate({ marginLeft:0 }, 150); }); var tabContainers = $('div.tabs > div.tabItem'); var tabNav = $('div.tabnav').find('span.tn-item a'); tabContainers.hide().filter(':first').show(); $('div.tabnav span.tn-item a').click(function(){ tabContainers.hide(); tabContainers.filter(this.hash).show(); $('div.tabs .tn-arrow').css('left',this.id + 'px'); return false; }); }); function equalHeight() { var group = $('#posts').find('.col2'); tallest = 0; extended = 0; group.each(function() { thisHeight = $(this).height(); if(thisHeight > tallest) { tallest = thisHeight; } }); group.height(tallest); } window.onload = equalHeight; </script></head><body><div id="base" class="container_12"> <div id="header"> <div id="branding" class="clearfix"> <div class="blog-head left"> <span class="blog-description"><?php bloginfo('description'); ?></span> <h1 class="blog-title"> <?php if(get_option('npress_customlogo') <> "") : ?> <img src="<?php echo stripslashes(get_option('npress_customlogo')); ?>" border="0" /> <?php else : ?> <a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a> <?php endif; ?> </h1> </div> <div class="top-ad right"> <?php if(get_option('npress_ad_topblock') <> "") : echo stripslashes(get_option('npress_ad_topblock')); ?> <?php else : ?> <a href="mailto:<?php bloginfo('admin_email'); ?>?subject=Advertise"><img src="<?php bloginfo('template_directory'); ?>/images/ads-top.jpg" border="0" /></a> <?php endif; ?> </div> </div> <div id="navigation" class="clearfix"> <ul class="sf-menu"> <li><a href="<?php bloginfo('url'); ?>">Home</a></li> <?php wp_revamp_pages(); ?> <li class="nav-rss"><a href="<?php bloginfo('comments_rss2_url'); ?>">Comments</a></li> <li class="nav-rss"><a href="<?php if ( get_option('npress_syndication') <> "" ) { echo get_option('npress_syndication'); } else { echo get_bloginfo_rss('rss2_url'); } ?>">Posts</a></li> </ul> </div> </div> <div id="featured" class="clearfix"> <?php $featured_post = new WP_Query('showposts=4&cat='.get_featuredgallery_options()); ?> <?php if ($featured_post->have_posts()) : while ($featured_post->have_posts()) : $featured_post->the_post(); ?> <div class="f-item grid_3"> <?php if ( function_exists('has_post_thumbnail') && has_post_thumbnail() ) : ?> <?php $src = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'large', false, '' ); ?> <img src="<?php bloginfo( 'template_directory' ); ?>/timthumb.php?src=<?php echo $src[0]; ?>&w=220&h=250&zc=1" border="0" alt="<?php the_title(); ?>" /> <?php else : ?> <?php if( get_post_meta( $post->ID, "image_value", true ) ) : ?> <img src="<?php bloginfo( 'template_directory' ); ?>/timthumb.php?src=<?php echo get_post_meta( $post->ID, "image_value", true ); ?>&w=220&h=250&zc=1" border="0" alt="<?php the_title(); ?>" /> <?php else : ?> <img src="<?php bloginfo( 'template_directory' ); ?>/timthumb.php?src=<?php echo wp_catch_first_image('m'); ?>&w=220&h=250&zc=1" border="0" alt="<?php the_title(); ?>" /> <?php endif; ?> <?php endif; ?> <div class="f-meta"> <h3><a href="<?php the_permalink(); ?>" title="Continue reading "<?php the_title(); ?>""><?php the_title(); ?></a></h3> <p><?php wp_limit_post(180,'.'); ?></p> </div> </div> <?php endwhile; endif; ?> </div>