Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- global $options;
- foreach ($options as $value) {
- if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] ); } }
- ?>
- <?php get_header(); ?>
- <?php if ($flex_feat_display == "no" OR $flex_feat_pages == "home only" OR $flex_feat_pages == "home and posts") { ?>
- <?php if ( is_front_page() AND $flex_feat_display != "no" ) { ?>
- <div id="feature"><div class="topshadow">
- <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Feature_top') ) : else : ?>
- <?php include (TEMPLATEPATH . '/feature.php'); ?>
- <?php endif; ?><div style="clear:both;"></div>
- </div></div><?php } ?>
- <?php } else { ?>
- <div id="feature"><div class="topshadow">
- <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Feature_top') ) : else : ?>
- <?php include (TEMPLATEPATH . '/feature.php'); ?>
- <?php endif; ?><div style="clear:both;"></div>
- </div></div><?php } ?>
- <div id="content" class="narrowcolumn content_wppc" role="main">
- <div class="postwrap">
- <h2 class="pagetitle">
- <?php the_title(); ?>
- </h2>
- <div class="post"> <div class="postcontent">
- [WP-PHOTOCONTEST CONTENT]
- </div></div>
- <?php if(comments_open()) : ?>
- <?php comments_template('', true); ?>
- <?php endif; ?>
- </div>
- <?php get_sidebar(); ?>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement