Advertisement
Guest User

Untitled

a guest
Feb 6th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. <?php get_header() ;?>
  2.  
  3. <?php if (($var['sidebars'] == 'left' || $var['sidebars'] == 'left and right') && ($var['sidebarGroup'] != 'right') ) { get_sidebar('left'); if($var['sidebars'] == 'left and right' && ($var['sidebarGroup'] == 'left')) {get_sidebar('right'); } } ?>
  4.  
  5. <div id="main" class="equalht">
  6.  
  7. <div class="main_wrapper">
  8. <?php if ($var['k9-vision'] == 'on') { ?> <div class="mvtext" style="height:400px">Internal Content Area (<?php echo $var['main_width']; ?>px wide)</div><div class="clear" style="height:280px"></div><?php } else { ?>
  9.  
  10. <?php dynamic_sidebar('Content'); ?>
  11. <?php k9_get_hanger('content/before/'); ?>
  12.  
  13. <?php if(have_posts()) : ?>
  14. <?php while (have_posts()) : the_post() ?>
  15.  
  16. <div class="page">
  17. <?php if ($var['hide_page_title'] != 'on') {?><h1 class="page_title"><a href="<?php the_permalink (); ?>" title="Permanent link to <?php the_title_attribute(); ?>" ><?php the_title() ;?></a></h1><?php } ?>
  18. <?php the_content(); ?>
  19. <div class="clear"></div>
  20. </div>
  21.  
  22. <?php endwhile; ?>
  23.  
  24. <?php else : ?>
  25. <h3>Page not found...</h3>
  26.  
  27. <?php endif; } ?>
  28.  
  29. <?php k9_get_hanger('content/after/'); ?>
  30. <?php if ($var['comments_pages'] != '') {?>
  31. <div id="comments_wrapper">
  32. <?php comments_template(); ?>
  33. </div>
  34. <?php } ?>
  35. </div>
  36.  
  37. </div>
  38.  
  39. <?php if (($var['sidebars'] == 'right' || $var['sidebars'] == 'left and right') && ($var['sidebarGroup'] != 'left') ) { if($var['sidebars'] == 'left and right' && ($var['sidebarGroup'] == 'right')) {get_sidebar('left'); } get_sidebar('right'); } ?>
  40.  
  41. <div class="clear"></div>
  42.  
  43. <?php get_footer() ;?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement