This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 15th, 2011  |  syntax: None  |  size: 1.18 KB  |  views: 556  |  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 get_header(); ?>
  2.  
  3. <!-- Show the welcome box, slideshow, slider and magazine front only on first page.  Makes for better pagination. -->
  4. <?php if ( $paged < 1 ) { ?>
  5.  
  6. <?php
  7. $welcomebox = get_option('T_welcomebox');
  8. if($welcomebox == "On") { include (THEMELIB . '/apps/welcomebox.php'); }
  9. ?>
  10.  
  11. <?php
  12. $slideshow = get_option('T_slideshow');
  13. $slideshow_status = get_option('T_slideshow_status');
  14. if($slideshow == "On" && $slideshow_status == "Dynamic") { include (THEMELIB . '/apps/slideshow.php'); }
  15. if($slideshow == "On" && $slideshow_status == "Static") { include (THEMELIB . '/apps/slideshow-static.php'); } ?>
  16.  
  17. <?php
  18. $slider = get_option('T_slider');
  19. if($slider == "On") { include (THEMELIB . '/apps/slider.php'); }
  20. ?>
  21.  
  22. <?php
  23. $featured = get_option('T_featured');
  24. if($featured == "On") { include (THEMELIB . '/apps/featured.php'); }
  25. ?>
  26.  
  27. <!-- End Better Pagination -->
  28. <?php } ?>
  29.  
  30. <?php
  31. $blog = get_option('T_blog');
  32. if($blog == "On") { include (THEMELIB . '/apps/blog.php'); }
  33. ?>
  34.  
  35. <?php
  36. $category_section = get_option('T_category_section');
  37. if($category_section == "On") { include (THEMELIB . '/apps/five.php'); }
  38. ?>
  39.  
  40. <!-- Begin Footer -->
  41. <?php get_footer(); ?>
clone this paste RAW Paste Data