<?php get_header(); ?>

 <div class="grid_12">  
					

                                
	                            
							    <div class="velotuit">
								
								 
								 
								  
								 <div class="lotui-content">
								 
								  
								 
								  <div class="biolo"><div class="lite"><?php $fiotio= get_option(SHORT_NAME . 'fiotio'); echo $fiotio; ?></div>
								  <div class="pito"><?php $fitsi= get_option(SHORT_NAME . 'fitsi'); echo $fitsi; ?></div>
								  <div class="riedi"><?php $lftioi= get_option(SHORT_NAME . 'lftioi'); echo $lftioi; ?></div>
								  </div>
							   
							 
							   <div class="lotui-mainhm ">
							    <?php 

		$cat1 = get_option(SHORT_NAME . 'category_1');
		
		$args = array(	'cat' => $cat1,
						'showposts' => 3);
		
		if ($duplicate != true) {
			$args = array(	'cat' => $cat1,
							'showposts' => 3,
							'post__not_in' => $do_not_duplicate);
		}
		
		$recent = new WP_Query($args);
		if ($recent->have_posts() && (! ($cat1 < 0))) {
			while ($recent->have_posts()) : $recent->the_post();
				$do_not_duplicate[] = $post->ID;
				$image = get_post_meta($post->ID, "Image", $single = true); ?>
							    <div class="lotui-contenthm">
									<?php if ($image !== '') { ?>
								<a href="<?php the_permalink(); ?>" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('template_directory'); ?>/phpThumb/phpThumb.php?src=<?php echo $image; ?>&amp;h=160&amp;w=210&amp;zc=1&amp;q=100" alt="<?php the_title(); ?>" style="border:none;" /></a>
							<?php }
							else {
								echo '';
							} ?>
							<h2 class="portf-tle"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
							<div class="portf-ption"><p> <?php the_content_limit(97); ?>   </p></div>
								</div>
							 <?php endwhile; 
		}
		else {
			print_emp_cat('1', $cat1);
		}
		?>
							   </div>   
							   		
							   </div><div class="clear"></div><div class="voitr"></div>
	                        </div><!-- end: grid_12 --> 










							 <div class="lotui-content">
								  <div class="biolo"><div class="lite"><?php $ceolio= get_option(SHORT_NAME . 'ceolio'); echo $ceolio; ?></div>
								  <div class="pito"><?php $yitsi= get_option(SHORT_NAME . 'yitsi'); echo $yitsi; ?></div>
								  <div class="riedi"><?php $tytioi= get_option(SHORT_NAME . 'tytioi'); echo $tytioi; ?></div>
								  </div>
							   
							 
							   <div class="lotui-mainhm ">
							    <?php query_posts('showposts=3'); if (have_posts()) : while (have_posts()) : the_post(); 

		
				$image = get_post_meta($post->ID, "Image", $single = true); ?>
							    <div class="lotui-contenthm">
									<?php if ($image !== '') { ?>
								<a href="<?php the_permalink(); ?>" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('template_directory'); ?>/phpThumb/phpThumb.php?src=<?php echo $image; ?>&amp;h=160&amp;w=210&amp;zc=1&amp;q=100" alt="<?php the_title(); ?>" style="border:none;" /></a>
							<?php }
							else {
								echo '';
							} ?>
							<h2 class="portf-tle"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
							<div class="portf-ption"><p> <?php the_content_limit(97); ?>   </p></div>
								</div>
							 <?php endwhile; ?>
							 
							    

<?php else : ?>
 
 
  <?php endif; ?>
							   </div>   
							   	



<div class="huion"></div><div class="clear"></div>
								
							   </div>
							   
							   
	                        </div><!-- end: grid_12 -->
	

	
							
								
								</div>
								
								
								
		
										

   
	
	            
               
				 
		  


<?php get_footer(); ?>