Advertisement
Guest User

Untitled

a guest
Jul 19th, 2011
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <div id='jump' style='margin-bottom: 13px; margin-top: -5px;'>
  4. <img src='http://lakernation.com/wp-content/uploads/2011/06/topstory3.png' border='0' style='padding-top: 5px;'>
  5. <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>
  6. </div>
  7.  
  8. <div id='news'>
  9.  
  10. <div style="width: 650px; margin-top: -10px;">
  11.  
  12. <?php
  13. if( get_query_var('paged') <= 1){
  14. echo "";if (class_exists('Gallery')) { $Gallery = new Gallery(); $Gallery -> slideshow($output = true, $post_id = null); };
  15. echo "</div>
  16.  
  17. <br>
  18. <div id='latest'>
  19. <img src='http://lakernation.com/wp-content/uploads/2011/06/thelakernews.png' border='0'>
  20. </div>";
  21. }
  22. ?>
  23.  
  24. <?php
  25. if( get_query_var('paged') >= 2){
  26. echo "<div id='news'>";
  27. }
  28. ?>
  29.  
  30. <?php if (have_posts()) :?>
  31. <?php $postCount=8; ?>
  32. <?php while (have_posts()) : the_post();?>
  33. <?php $postCount++;?>
  34.  
  35. <div id="jumpto"></div><div class="entry entry-<?php echo $postCount ;?>"><br>
  36.  
  37. <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
  38. <div class="meta">
  39. <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'); ?>
  40. <div id="facebook" align="right" style="margin-top: -15px; margin-left: 575px;"><?php if(function_exists('wp_fb_like')) { wp_fb_like(); } ?></div>
  41. <div style="margin-top: -27px; margin-right: 140px;"><?php echo tweetbutton(); ?></div>
  42. </ul>
  43. </div>
  44.  
  45. <!--end meta-->
  46. <div class="the_content">
  47. <?php if(is_front_page()) { ?><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Post-Top-Right-Home') ) : ?><?php endif; ?><?php } ?>
  48. <?php if(is_single() || is_page()) { ?><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Post-Top-Right-Single') ) : ?><?php endif; ?><?php } ?>
  49. <?php the_content('<img src="http://lakernation.com/wp-content/uploads/2011/04/empty.png">'); ?><br><br>
  50. <img src="http://lakernation.com/wp-content/uploads/2011/06/lnpostsep.jpg">
  51. <?php if(is_front_page()) { ?><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Post-Bottom-Home') ) : ?><?php endif; ?> <?php } ?>
  52. <?php if(is_single() || is_page()) { ?><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Post-Bottom-Single') ) : ?><?php endif; ?> <?php } ?>
  53. <?php if(is_page()) { ?>
  54. <ul>
  55. <?php
  56. global $id;
  57. wp_list_pages("title_li=&child_of=$id"); ?>
  58. </ul>
  59. <?php } ?>
  60. </div><!--end the_content-->
  61. </div><!--end entry-->
  62.  
  63. <?php endwhile; ?>
  64.  
  65. <?php else : ?>
  66.  
  67. <div class="entry">
  68. <h2>Not Found</h2>
  69. <div class="the_content">
  70. <p>Sorry we can't find what anything that matches your search.</p>
  71. <p>You could try another search or browse our categories.</p>
  72. <?php get_search_form(); ?>
  73. </div><!--end the_content-->
  74. <ul><?php wp_list_categories('title_li=<h2>Categories</h2>'); ?></ul>
  75. </div><!--end entry-->
  76.  
  77. <?php endif; ?>
  78. </div>
  79.  
  80. <?php wp_pagenavi(); ?>
  81.  
  82. <br>
  83.  
  84. <?php get_sidebar(); ?>
  85. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement