83 lines
2.2 KiB
PHP
83 lines
2.2 KiB
PHP
<?php get_header(); ?>
|
|
|
|
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
|
|
|
<?php if (is_cp_theme_style('v3c,v')) { ?>
|
|
<div id="content" class="narrowcolumn">
|
|
<div class="column">
|
|
<?php } ?>
|
|
|
|
<?php if (is_cp_theme_style('gn')) { ?>
|
|
<div id="pagewrap-right">
|
|
<?php } ?>
|
|
|
|
<?php while (have_posts()) : the_post(); if (in_comic_category()) { ?>
|
|
<div id="comic-head"><?php get_sidebar('over'); ?></div>
|
|
<div id="comic">
|
|
<div class="comic-left"><?php get_sidebar('comicleft'); ?></div>
|
|
<div class="comic-content">
|
|
<?php display_comic(); ?>
|
|
</div>
|
|
<div class="comic-right"><?php get_sidebar('comicright'); ?></div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<div id="comic-foot"><?php get_sidebar('under'); ?></div>
|
|
<?php } endwhile; ?>
|
|
|
|
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
|
<div id="content-wrapper">
|
|
<?php } ?>
|
|
<?php get_sidebar('overblog'); ?>
|
|
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?>
|
|
|
|
<?php if (is_cp_theme_style('gn,standard,3c')) { ?>
|
|
<div id="content" class="narrowcolumn">
|
|
<div class="column">
|
|
<?php } ?>
|
|
|
|
<?php if (function_exists('the_project_wonderful_ad')) { ?>
|
|
<div class="blogpwad">
|
|
<center>
|
|
<?php the_project_wonderful_ad('blog'); ?>
|
|
</center>
|
|
</div>
|
|
<?php } ?>
|
|
<?php get_sidebar('blog'); ?>
|
|
<?php if (have_posts()) : while (have_posts()) : the_post();
|
|
if (in_comic_category()) {
|
|
display_comic_post();
|
|
} else {
|
|
display_blog_post();
|
|
}
|
|
comments_template('', true); ?>
|
|
|
|
<center>
|
|
<?php get_sidebar('underblog'); ?>
|
|
</center>
|
|
<?php endwhile; else: ?>
|
|
|
|
<div class="post-head"></div>
|
|
<div class="post">
|
|
<p>Sorry, no posts matched your criteria.</p>
|
|
<br class="clear-margins" />
|
|
</div>
|
|
<div class="post-foot"></div>
|
|
<center>
|
|
<?php get_sidebar('underblog'); ?>
|
|
</center>
|
|
<?php endif; ?>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<?php
|
|
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
|
get_sidebar('right');
|
|
} ?>
|
|
|
|
<?php if (is_cp_theme_style('standard,gn,3c')) { ?>
|
|
<div class="clear"></div>
|
|
</div> <!-- end pageright-wrapper / content-wrapper -->
|
|
<?php } ?>
|
|
|
|
<?php get_footer() ?>
|