<?php get_header(); ?>
<!-- start page -->
<div id="page">
<!-- start content -->
<div id="content">
<?php if (class_exists('breadcrumb_navigation_xt')) : ?>
<div id="breadcrumb">
<?php
// new breadcrumb object
$mybreadcrumb = new breadcrumb_navigation_xt;
// Apply options
$mybreadcrumb->opt['static_frontpage'] = false;
$mybreadcrumb->opt['title_blog'] = 'Capa';
$mybreadcrumb->opt['separator'] = ' » ';
$mybreadcrumb->opt['archive_category_prefix'] = '';
$mybreadcrumb->opt['archive_category_suffix'] = '';
// Display the breadcrumb
$mybreadcrumb->display();
?>
</div>
<?php endif; ?>
<div>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="post-head">
<h1><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
</div>
<div class="post-author">
Posted by <strong><?php the_author(); ?></strong>
</div>
<div class="post-content">
<?php the_excerpt(50); ?>
</div>
<div class="post-meta">
<span class="date"><?php the_time('d/m/Y') ?></span>
<span class="comments"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></span>
<span class="tags"><?php the_category(', ') ?></span>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
</div>
<?php else : ?>
<h2 class="center"><?php _e('Page not found!'); ?></h2>
<p class="center"><?php _e('Sorry! Try using the search form below.'); ?></p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
</div>
<!-- end content -->
<!-- start sidebar -->
<?php get_sidebar(); ?>
<!-- end sidebar -->
</div>
<!-- end page -->
<?php get_footer(); ?>