Advertisement
Guest User

Untitled

a guest
Jan 20th, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.60 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <div id="content" class="clearfix">
  3.         <div class="content_left">
  4.             <?php if (have_posts()) : ?>
  5.  
  6.          <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
  7. <?php /* If this is a category archive */ if (is_category()) { ?>
  8.        
  9.       <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
  10.        
  11.      <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
  12.  
  13.         <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
  14.                
  15.       <?php /* If this is an author archive */ } elseif (is_author()) { ?>
  16.  
  17.         <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
  18.  
  19.         <?php } ?>
  20. <?php $w_h = $w_d = $last = 0; ?>
  21. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  22.  
  23.                
  24.  
  25.    <div id="post">     
  26.             <span class="blockimg"> <?php the_post_thumbnail(); ?></span><h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
  27.    
  28.             <span class="container"><span class="container"><?php
  29.                 /* translators: used between list items, there is a space after the comma */
  30.                 $categories_list = get_the_category_list( ' ' );
  31.                 if ( $categories_list ) :
  32.             ?>
  33.             <span class="cat-links">
  34.                 <?php echo $categories_list; ?>
  35.             </span>
  36.             <?php endif; // End if $categories_list ?>
  37.  
  38.             <?php
  39.                 /* translators: used between list items, there is a space after the comma */
  40.                 $tags_list = get_the_tag_list( '',' ','' );
  41.                 if ( $tags_list ) :
  42.             ?>
  43.             <span class="tags-links">
  44.                 <?php echo $tags_list; ?>
  45.             </span>
  46.             <?php endif; // End if $tags_list ?></span>
  47.  
  48. <?php $excerptt = get_the_excerpt();
  49.                 if ( $excerptt ) :
  50.             ?>
  51.             <span class="container"><?php echo $excerptt; ?>
  52.             <?php endif; // End if $excerptt ?></span></span>
  53. </div>
  54.  
  55.  
  56.  
  57.     <?php endwhile; ?>
  58. <?php endif; ?>
  59.                  <?php else : ?>  
  60.  
  61. <div class="entry">
  62.                 <h1>404</h1>
  63.  
  64.                
  65.  
  66.                 <p>You step in the stream,</p>
  67. <p>but the water has moved on.</p>
  68. <p>This page is not here.</p>
  69.                 </div>
  70.             <div class="clear"></div>
  71.             <?php endif; ?>
  72.             <br />
  73.                         <div id="postnavi_index">
  74.                         <div class="right"><?php next_posts_link('Older &raquo;') ?></div>
  75.                         <div class="left"><?php previous_posts_link('&laquo; Newer') ?></div>
  76.                         </div>
  77.             <div class="clear"></div>
  78.         </div>
  79.         <div class="sidebar">
  80.             <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
  81.         </div>
  82.         <div class="clear"></div>  
  83. </div><!-- ### ende content ### -->
  84.  
  85. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement