2009-08-21 19:29:45 +00:00
|
|
|
<?php get_header(); ?>
|
|
|
|
|
2009-09-15 10:23:54 +00:00
|
|
|
<div id="content-wrapper-top"></div>
|
2009-09-03 01:12:30 +00:00
|
|
|
<div id="content-wrapper">
|
|
|
|
|
2009-09-15 10:23:54 +00:00
|
|
|
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-09-15 10:23:54 +00:00
|
|
|
<?php if (is_cp_theme_layout('gn')) { ?>
|
|
|
|
<div id="pagewrap-right">
|
|
|
|
<?php } ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-09-15 10:23:54 +00:00
|
|
|
<?php if (is_cp_theme_layout('v3c,v')) { ?>
|
|
|
|
<div id="content" class="narrowcolumn">
|
|
|
|
<div class="column">
|
|
|
|
<?php } ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-09-03 01:12:30 +00:00
|
|
|
<?php while (have_posts()) : the_post();
|
|
|
|
if (in_comic_category()) { ?>
|
2009-08-30 09:42:24 +00:00
|
|
|
|
2009-09-04 15:39:27 +00:00
|
|
|
<div id="comic-head"><?php get_sidebar('over'); ?></div>
|
|
|
|
<div class="clear"></div>
|
2009-09-04 16:34:20 +00:00
|
|
|
<?php get_sidebar('comicleft'); ?>
|
2009-09-04 15:39:27 +00:00
|
|
|
<div id="comic"><?php display_comic(); ?></div>
|
2009-09-04 16:34:20 +00:00
|
|
|
<?php get_sidebar('comicright'); ?>
|
2009-09-04 15:39:27 +00:00
|
|
|
<div class="clear"></div>
|
|
|
|
<div id="comic-foot"><?php get_sidebar('under'); ?></div>
|
2009-08-30 09:42:24 +00:00
|
|
|
|
2009-08-21 19:29:45 +00:00
|
|
|
<?php } endwhile; ?>
|
2009-09-17 18:13:28 +00:00
|
|
|
|
|
|
|
<?php if (is_cp_theme_layout('3c,v')) { ?>
|
2009-09-17 22:45:30 +00:00
|
|
|
<div id="subcontent-wrapper-top"></div>
|
|
|
|
<div id="subcontent-wrapper">
|
2009-09-17 18:13:28 +00:00
|
|
|
<?php } ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
|
|
|
<?php get_sidebar('overblog'); ?>
|
2009-09-07 13:37:15 +00:00
|
|
|
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-09-15 10:23:54 +00:00
|
|
|
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
|
|
|
|
<div id="content" class="narrowcolumn">
|
|
|
|
<div class="column">
|
2009-08-21 19:29:45 +00:00
|
|
|
<?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()) {
|
2009-08-29 21:36:45 +00:00
|
|
|
global $disable_comic_blog_frontpage;
|
|
|
|
if ($disable_comic_blog_frontpage != 'yes') {
|
|
|
|
display_comic_post();
|
|
|
|
}
|
2009-08-21 19:29:45 +00:00
|
|
|
} else {
|
|
|
|
display_blog_post();
|
|
|
|
}
|
|
|
|
comments_template('', true); ?>
|
|
|
|
|
|
|
|
<center>
|
|
|
|
<?php get_sidebar('underblog'); ?>
|
|
|
|
</center>
|
|
|
|
<?php endwhile; else: ?>
|
2009-09-19 10:11:37 +00:00
|
|
|
<div class="<?php comicpress_post_class(); ?>">
|
2009-08-21 19:29:45 +00:00
|
|
|
<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>
|
2009-09-12 15:28:32 +00:00
|
|
|
</div>
|
2009-08-21 19:29:45 +00:00
|
|
|
<?php endif; ?>
|
2009-09-03 01:12:30 +00:00
|
|
|
|
|
|
|
<?php get_sidebar('underblog'); ?>
|
|
|
|
</div>
|
2009-08-21 19:29:45 +00:00
|
|
|
</div>
|
|
|
|
|
2009-09-17 22:45:30 +00:00
|
|
|
<?php include(get_template_directory() . '/layout-foot.php'); ?>
|
2009-08-21 17:45:23 +00:00
|
|
|
<?php get_footer() ?>
|