<?php /*
Template Name: Blog 4
*/
if(is_page('Blog 4')) {
   if (get_query_var('paged'))
      $paged = get_query_var('paged');
   else $paged = 1;
   query_posts("paged=$paged");
}   
	  
?>

<?php get_header(); ?>


  <div class="grid_12">
	                         
	                            <div id="vreadcrumb-tain">
	                               <div class="breadcrumb-content">You are here: <a href="<?php bloginfo('url'); ?>"> &raquo; Home</a> &raquo; Portfolio</div>
								     <div class="portfolio-heading"><h2><?php $blgfie= get_option(SHORT_NAME . 'blgfie'); echo $blgfie; ?></h2></div>
                                </div><!-- end: breadcrumb-main --> 
								
                              
								<div class="clear"></div>
								  <div class="sup-menu-2">
                                                

                        </div><!-- end: sub-menu -->
								
	                        </div><!-- end: grid_12 --> 
							
							<div class="grid_12">
							  <?php 
	
		$cat2 = get_option(SHORT_NAME . 'category_20');
		$featured_posts_count = get_option(SHORT_NAME . 'featured_posts_count');
		
		$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
		
		$args = array(	
		
		            'cat' => $cat2,
					'showposts' => $featured_posts_count,
					'post__not_in' => $do_not_duplicate,
					'paged' => get_query_var('paged')
					
					);
					
						
		
		query_posts($args);
		if (have_posts() && (! ($cat2 < 0))) {
			while (have_posts()) : the_post();
				$image = get_post_meta($post->ID, "Image", $single = true); ?>
						  <div class="xingio">
						
						    <div class="portfolio-content4">
						</div>
							<div class="portfolio-title-c1"><h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2></div>
							<div class="aomi"> <?php the_time('F jS, Y') ?><span class="mrecent-autimg2"><span class="mrecent-authord"><?php the_category(', ') ?></span><span class="mrecent-autimg"><?php the_author() ?> </span><span class="mrecent-autimg3"><a href="<?php comments_link(); ?>"> <?php comments_number ('0','1','%'); ?> Comments</a></span></span></div>
							<div class="portfolio-description4"><p> <?php the_excerpt(); ?>   </p></div>
                            <div class="portfolio-read-link-c1"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read more &rarr;</a></div>
                            <!-- end: portfolio-content --> 	</div>	<div class="clear"></div>				<?php endwhile; 		}
		else {
			print_emp_cat('2', $cat2);
		}
	?> 
	<div class="clear"></div>
	<div class="negiol"></div>	
	<div class="pagi-po">
				<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>  
			</div>
	</div></div>


<?php get_footer(); ?>