Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

index

By: mahdiar on Jul 12th, 2012  |  syntax: PHP  |  size: 0.91 KB  |  views: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. // load the theme options
  3. $options = get_option( 'complete_theme_settings' );
  4. ?>
  5. <?php get_header(); ?>
  6.  
  7. <?php if($options['home_blog_style'] != true) { ?>
  8. <div id="main" class="clearfix main-no-bg">
  9.     <div id="home-business-wrap">
  10.                 <?php if($options['home_section_1'] != '') {
  11.         include( TEMPLATEPATH . '/includes/home-modules/home-'. $options['home_section_1'] .'.php'); } ?>    
  12.         <?php if($options['home_section_2'] != '') {
  13.         include( TEMPLATEPATH . '/includes/home-modules/home-'. $options['home_section_2'] .'.php'); } ?>  
  14.         <?php if($options['home_section_3'] != '') {
  15.         include( TEMPLATEPATH . '/includes/home-modules/home-'. $options['home_section_3'] .'.php'); } ?>  
  16.     </div>
  17.         <!-- END home-business-wrap -->  
  18. <?php } else { ?>  
  19. <div id="main" class="clearfix">
  20.         <?php include( TEMPLATEPATH . '/includes/blog.php'); ?>  
  21. <?php } ?>
  22. <?php get_footer(); ?>