<?php get_header();
/*Template Name: INDEX*/
?>

<div class="my-content">
	
	<div class="hero">
    <ul data-orbit  data-options="bullets:false;timer:false;slide_number:false;">
      <li>
	<?php if ( isset($options['slide1_image_link']) && ($options['slide1_image_link']!="") ){ ?>
	<img src="<?php echo( ($options['slide1_image_link'])); ?>" />
	<?php } else { ?> 
	<img src="<?php echo get_template_directory_uri(); ?>/elisium/business1.png" />
	<?php } ?>
		
        <div class="orbit-caption">
	<!-- slide 1 -->
	<h1>
	<?php if ( isset($options['slide1_title']) && ($options['slide1_title']!="") ){ ?>
	<?php echo( ($options['slide1_title'])); ?>
	<?php } else { ?>
        Free Responsive Business Theme
	<?php } ?>
	</h1>
        
	<h3>
	<?php if ( isset($options['slide1_text']) && ($options['slide1_text']!="") ){ ?>
	<?php echo( ($options['slide1_text'])); ?>
	<?php } else { ?>
        Get your business site ready in MINUTES with our free responsive theme. Download, install and set up.
	<?php } ?>	
	</h3>
	
	<?php if ( isset($options['slide1_link']) && ($options['slide1_link']!="") ){ ?>
	<a href="<?php echo( ($options['slide1_link'])); ?>" target="_blank" rel="nofollow" class="button">Learn more</a>
	<?php } else { ?> 
	<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="button">Learn more</a>
	<?php } ?> 
	</div>
	
      </li>
      <li> 
      
      <?php if ( isset($options['slide2_image_link']) && ($options['slide2_image_link']!="") ){ ?>
	<img src="<?php echo( ($options['slide2_image_link'])); ?>" />
	<?php } else { ?> 
	<img src="<?php echo get_template_directory_uri(); ?>/elisium/business2.png" />
	<?php } ?>
        
	<div class="orbit-caption">
	<!-- slide 2 -->
	
	<h1>
	<?php if ( isset($options['slide2_title']) && ($options['slide2_title']!="") ){ ?>
	<?php echo( ($options['slide2_title'])); ?>
	<?php } else { ?>
        Free Responsive Business Theme
	<?php } ?>
	</h1>
        
	<h3>
	<?php if ( isset($options['slide2_text']) && ($options['slide2_text']!="") ){ ?>
	<?php echo( ($options['slide2_text'])); ?>
	<?php } else { ?>
        Get your business site ready in MINUTES with our free responsive theme. Download, install and set up.
	<?php } ?>	
	</h3>
	
	<?php if ( isset($options['slide2_link']) && ($options['slide2_link']!="") ){ ?>
	<a href="<?php echo( ($options['slide2_link'])); ?>" target="_blank" rel="nofollow" class="button">Learn more</a>
	<?php } else { ?> 
	<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="button">Learn more</a>
	<?php } ?> 
	</div>
	
      </li>
      <li> 
      
      <?php if ( isset($options['slide3_image_link']) && ($options['slide3_image_link']!="") ){ ?>
	<img src="<?php echo( ($options['slide3_image_link'])); ?>" />
	<?php } else { ?> 
	<img src="<?php echo get_template_directory_uri(); ?>/elisium/business3.png" />
	<?php } ?>
        
	<div class="orbit-caption">
	<!-- slide 3 -->
	<h1>
	<?php if ( isset($options['slide3_title']) && ($options['slide3_title']!="") ){ ?>
	<?php echo( ($options['slide3_title'])); ?>
	<?php } else { ?>
        Free Responsive Business Theme
	<?php } ?>
	</h1>
        
	<h3>
	<?php if ( isset($options['slide3_text']) && ($options['slide3_text']!="") ){ ?>
	<?php echo( ($options['slide3_text'])); ?>
	<?php } else { ?>
        Get your business site ready in MINUTES with our free responsive theme. Download, install and set up.
	<?php } ?>	
	</h3>
	
	<?php if ( isset($options['slide3_link']) && ($options['slide3_link']!="") ){ ?>
	<a href="<?php echo( ($options['slide3_link'])); ?>" target="_blank" rel="nofollow" class="button">Learn more</a>
	<?php } else { ?> 
	<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="button">Learn more</a>
	<?php } ?> 
	</div>
	
      </li>
    </ul>
</div>
	
	<div class="promo-one">
	<h1>
	<?php if ( isset($options['promo1_title']) && ($options['promo1_title']!="") ){ ?>
	<?php echo( ($options['promo1_title'])); ?>
	<?php } else { ?>
        Fully Responsive Free Wordpress Theme
	<?php } ?>
	</h1>
	<p>
	<?php if ( isset($options['promo1_text']) && ($options['promo1_text']!="") ){ ?>
	<?php echo( ($options['promo1_text'])); ?>
	<?php } else { ?>
        Kick start your business portfolio with this easy to use free wordpress theme. Customize it to your needs via the theme options panel.
	<?php } ?>
	</p>
	
	<?php if ( isset($options['promo1_link']) && ($options['promo1_link']!="") ){ ?>
	<a href="<?php echo( ($options['promo1_link'])); ?>" target="_blank" rel="nofollow" class="button-promo">Find out More</a>
	<?php } else { ?> 
	<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="button-promo">Find out More</a>
	<?php } ?>
	</div>

<div class="promo-two">
	<h1>
	<?php if ( isset($options['feature_title']) && ($options['feature_title']!="") ){ ?>
	<?php echo( ($options['feature_title'])); ?>
	<?php } else { ?>
        4 Reasons to Use our Theme
	<?php } ?>
	</h1>
	
	<div class="quatro">
	<?php if ( isset($options['feature1_image']) && ($options['feature1_image']!="") ){ ?>
	<img src="<?php echo( ($options['feature1_image'])); ?>" />
	<?php } else { ?> 
	<img src="<?php echo get_template_directory_uri(); ?>/elisium/responsive.png" />
	<?php } ?>
	
	<h2>
	<?php if ( isset($options['feature1_title']) && ($options['feature1_title']!="") ){ ?>
	<?php echo( ($options['feature1_title'])); ?>
	<?php } else { ?>
        Responsive Design
	<?php } ?>
	</h2>
	<p><?php if ( isset($options['feature1_text']) && ($options['feature1_text']!="") ){ ?>
	<?php echo( ($options['feature1_text'])); ?>
	<?php } else { ?>
        Elisium is a responsive theme, so it can be viewed on any device.
	<?php } ?>
	</p>
	</div><!-- quatro -->
	
	<div class="quatro">
	<?php if ( isset($options['feature2_image']) && ($options['feature2_image']!="") ){ ?>
	<img src="<?php echo( ($options['feature2_image'])); ?>" />
	<?php } else { ?> 
	<img src="<?php echo get_template_directory_uri(); ?>/elisium/fast.png" />
	<?php } ?>
	
	<h2>
	<?php if ( isset($options['feature2_title']) && ($options['feature2_title']!="") ){ ?>
	<?php echo( ($options['feature2_title'])); ?>
	<?php } else { ?>
        Very easy to install
	<?php } ?>
	</h2>
	<p><?php if ( isset($options['feature2_text']) && ($options['feature2_text']!="") ){ ?>
	<?php echo( ($options['feature2_text'])); ?>
	<?php } else { ?>
        Ideal even for beginner users, our theme is easy to install and setup
	<?php } ?>
	</p>
	</div><!-- quatro -->
	
	<div class="quatro">
	<?php if ( isset($options['feature3_image']) && ($options['feature3_image']!="") ){ ?>
	<img src="<?php echo( ($options['feature3_image'])); ?>" />
	<?php } else { ?> 
	<img src="<?php echo get_template_directory_uri(); ?>/elisium/customize.png" />
	<?php } ?>
	
	<h2>
	<?php if ( isset($options['feature3_title']) && ($options['feature3_title']!="") ){ ?>
	<?php echo( ($options['feature3_title'])); ?>
	<?php } else { ?>
        Fully Customizable
	<?php } ?>
	</h2>
	<p><?php if ( isset($options['feature3_text']) && ($options['feature3_text']!="") ){ ?>
	<?php echo( ($options['feature3_text'])); ?>
	<?php } else { ?>
        Edit the logo and the copy here from the admin panel in MINUTES.
	<?php } ?>
	</p>
	</div><!-- quatro -->
	
	<div class="quatro">
	<?php if ( isset($options['feature4_image']) && ($options['feature4_image']!="") ){ ?>
	<img src="<?php echo( ($options['feature4_image'])); ?>" />
	<?php } else { ?> 
	<img src="<?php echo get_template_directory_uri(); ?>/elisium/support.png" />
	<?php } ?>
	
	
	<h2>
	<?php if ( isset($options['feature4_title']) && ($options['feature4_title']!="") ){ ?>
	<?php echo( ($options['feature4_title'])); ?>
	<?php } else { ?>
        Professional Support
	<?php } ?>
	</h2>
	<p><?php if ( isset($options['feature4_text']) && ($options['feature4_text']!="") ){ ?>
	<?php echo( ($options['feature4_text'])); ?>
	<?php } else { ?>
        Our team of developers is standing by if you need any help.
	<?php } ?>
	</p>
	</div><!-- quatro -->
	
	<div class="clearfix"></div>
</div>

<div class="liner"></div>
	<h2 class="blogtitle">Latest Articles</h2>
	<?php if (have_posts()) : ?>
	<?php $recent = new WP_Query("showposts=4"); while($recent->have_posts()) : $recent->the_post();?>
	
<div class="cat-index">
	<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(array( 220,100 )); ?></a>
	<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
	<?php the_excerpt(); ?>
	<?php wp_reset_postdata(); ?>
	</div><!-- cat-index -->	
<?php endwhile; ?><?php endif; ?>
<div class="clearfix"></div>
</div><!-- my-content -->
<?php get_footer(); ?>