Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 84c4f7832a
Fetching contributors…

Cannot retrieve contributors at this time

56 lines (42 sloc) 2.262 kB
<?php get_header(); ?>
<ul class="mcol">
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<li class="article">
<?php
if ( has_post_thumbnail() ) { ?>
<?php
$imgsrcparam = array(
'alt' => trim(strip_tags( $post->post_excerpt )),
'title' => trim(strip_tags( $post->post_title )),
);
$thumbID = get_the_post_thumbnail( $post->ID, 'background', $imgsrcparam ); ?>
<div><a href="<?php the_permalink() ?>" class="preview"><?php echo "$thumbID"; ?></a></div>
<?php } ?>
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<?php the_excerpt(); ?>
<div class="postmetadata">
Posted: <?php the_time(__('F jS, Y', 'kubrick')) ?>&nbsp;&#721;&nbsp;
<?php comments_popup_link(__('No Comments'), __('1 Comment'), __('% Comments'), '', __('Comments Closed') ); ?><br />
<?php printf(__('Filled under: %s'), get_the_category_list(', ')); ?>
</div>
</li>
<?php endwhile; ?>
<?php else : ?>
<?php endif; ?>
</ul>
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<?php endwhile; ?>
<?php else : ?>
<div id="main">
<h1><?php _e("Sorry, but you are looking for something that isn&#8217;t here."); ?></h1>
</div>
<?php endif; ?>
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<?php endwhile; ?>
<div id="nav">
<div id="navleft"><?php next_posts_link(__('Previous page&nbsp;')) ?></div>
<div id="navright"><?php previous_posts_link(__('Next page&nbsp;')) ?></div>
</div>
<?php else : ?>
<?php endif; ?>
<?php get_footer(); ?>
Jump to Line
Something went wrong with that request. Please try again.