File: /var/www/ilya/data/www/rudomilov.ru/wp-content/themes/boldy/index.php
<?php get_header(); ?>
<?php if (is_category(get_option('boldy_portfolio')) || post_is_in_descendant_category( get_option('boldy_portfolio'))){?>
<?php include (TEMPLATEPATH . '/portfolio.php'); ?>
<?php } else {?>
<!-- Begin #colLeft -->
<div id="colLeft">
<!-- archive-title -->
<?php if(is_month()) { ?>
<div id="archive-title">
Browsing articles from "<strong><?php the_time('F, Y') ?></strong>"
</div>
<?php } ?>
<?php if(is_category()) { ?>
<div id="archive-title">
Browsing articles in "<strong><?php $current_category = single_cat_title("", true); ?></strong>"
</div>
<?php } ?>
<?php if(is_tag()) { ?>
<div id="archive-title">
Browsing articles tagged with "<strong><?php wp_title('',true,''); ?></strong>"
</div>
<?php } ?>
<?php if(is_author()) { ?>
<div id="archive-title">
Browsing articles by "<strong><?php wp_title('',true,''); ?></strong>"
</div>
<?php } ?>
<!-- /archive-title -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<!-- Begin .postBox -->
<div class="postItem">
<h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
<div class="meta">
<?php the_time('M j, Y') ?> // by <span class="author"><?php the_author_link(); ?></span> // <?php the_category(', ') ?> // <?php comments_popup_link('No Comments', '1 Comment ', '% Comments'); ?>
</div>
<?php the_content(__('Read more >>')); ?>
</div>
<!-- End .postBox -->
<?php endwhile; ?>
<?php else : ?>
<p>Увы и ах, запрошенная страница не найдена. Ибо 404.</p>
<?php endif; ?>
<!--<div class="navigation">
<div class="alignleft"><?php next_posts_link() ?></div>
<div class="alignright"><?php previous_posts_link() ?></div>
</div>-->
<?php if (function_exists("emm_paginate")) {
emm_paginate();
} ?>
</div>
<!-- End #colLeft -->
<?php get_sidebar(); ?>
<?php }?>
<?php get_footer(); ?>