Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id='jump' style='margin-bottom: 13px; margin-top: -5px;'>
- <img src='http://lakernation.com/wp-content/uploads/2011/06/topstory3.png' border='0' style='padding-top: 5px;'>
- <a href='#jumpto' style='width: 650px; height: 38px;'><img src='http://lakernation.com/wp-content/uploads/2011/06/jump.jpg' border=0 align='right' style='margin-right: 15px; margin-top: -15 px;'></a>
- </div>
- <div id='news'>
- <div style="width: 650px; margin-top: -10px;">
- <?php
- if( get_query_var('paged') <= 1){
- echo "";if (class_exists('Gallery')) { $Gallery = new Gallery(); $Gallery -> slideshow($output = true, $post_id = null); };
- echo "</div>
- <br>
- <div id='latest'>
- <img src='http://lakernation.com/wp-content/uploads/2011/06/thelakernews.png' border='0'>
- </div>";
- }
- ?>
- <?php
- if( get_query_var('paged') >= 2){
- echo "<div id='news'>";
- }
- ?>
- <?php if (have_posts()) :?>
- <?php $postCount=8; ?>
- <?php while (have_posts()) : the_post();?>
- <?php $postCount++;?>
- <div id="jumpto"></div><div class="entry entry-<?php echo $postCount ;?>"><br>
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
- <div class="meta">
- <ul>By <?php the_author_posts_link(); ?> | <?php the_time('F j, Y') ?> | <?php the_category(', ') ?> | <img src=http://lakernation.com/wp-content/uploads/2011/04/commentp.png> <?php comments_popup_link('0 comments', '1 comment', '% comments'); ?>
- <div id="facebook" align="right" style="margin-top: -15px; margin-left: 575px;"><?php if(function_exists('wp_fb_like')) { wp_fb_like(); } ?></div>
- <div style="margin-top: -27px; margin-right: 140px;"><?php echo tweetbutton(); ?></div>
- </ul>
- </div>
- <!--end meta-->
- <div class="the_content">
- <?php if(is_front_page()) { ?><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Post-Top-Right-Home') ) : ?><?php endif; ?><?php } ?>
- <?php if(is_single() || is_page()) { ?><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Post-Top-Right-Single') ) : ?><?php endif; ?><?php } ?>
- <?php the_content('<img src="http://lakernation.com/wp-content/uploads/2011/04/empty.png">'); ?><br><br>
- <img src="http://lakernation.com/wp-content/uploads/2011/06/lnpostsep.jpg">
- <?php if(is_front_page()) { ?><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Post-Bottom-Home') ) : ?><?php endif; ?> <?php } ?>
- <?php if(is_single() || is_page()) { ?><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Post-Bottom-Single') ) : ?><?php endif; ?> <?php } ?>
- <?php if(is_page()) { ?>
- <ul>
- <?php
- global $id;
- wp_list_pages("title_li=&child_of=$id"); ?>
- </ul>
- <?php } ?>
- </div><!--end the_content-->
- </div><!--end entry-->
- <?php endwhile; ?>
- <?php else : ?>
- <div class="entry">
- <h2>Not Found</h2>
- <div class="the_content">
- <p>Sorry we can't find what anything that matches your search.</p>
- <p>You could try another search or browse our categories.</p>
- <?php get_search_form(); ?>
- </div><!--end the_content-->
- <ul><?php wp_list_categories('title_li=<h2>Categories</h2>'); ?></ul>
- </div><!--end entry-->
- <?php endif; ?>
- </div>
- <?php wp_pagenavi(); ?>
- <br>
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement