Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content" class="clearfix">
- <div class="content_left">
- <?php if (have_posts()) : ?>
- <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
- <?php /* If this is a category archive */ if (is_category()) { ?>
- <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
- <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
- <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
- <?php /* If this is an author archive */ } elseif (is_author()) { ?>
- <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
- <?php } ?>
- <?php $w_h = $w_d = $last = 0; ?>
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <div id="post">
- <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>
- <span class="container"><span class="container"><?php
- /* translators: used between list items, there is a space after the comma */
- $categories_list = get_the_category_list( ' ' );
- if ( $categories_list ) :
- ?>
- <span class="cat-links">
- <?php echo $categories_list; ?>
- </span>
- <?php endif; // End if $categories_list ?>
- <?php
- /* translators: used between list items, there is a space after the comma */
- $tags_list = get_the_tag_list( '',' ','' );
- if ( $tags_list ) :
- ?>
- <span class="tags-links">
- <?php echo $tags_list; ?>
- </span>
- <?php endif; // End if $tags_list ?></span>
- <?php $excerptt = get_the_excerpt();
- if ( $excerptt ) :
- ?>
- <span class="container"><?php echo $excerptt; ?>
- <?php endif; // End if $excerptt ?></span></span>
- </div>
- <?php endwhile; ?>
- <?php endif; ?>
- <?php else : ?>
- <div class="entry">
- <h1>404</h1>
- <p>You step in the stream,</p>
- <p>but the water has moved on.</p>
- <p>This page is not here.</p>
- </div>
- <div class="clear"></div>
- <?php endif; ?>
- <br />
- <div id="postnavi_index">
- <div class="right"><?php next_posts_link('Older »') ?></div>
- <div class="left"><?php previous_posts_link('« Newer') ?></div>
- </div>
- <div class="clear"></div>
- </div>
- <div class="sidebar">
- <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
- </div>
- <div class="clear"></div>
- </div><!-- ### ende content ### -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement