2009-08-21 19:29:45 +00:00
|
|
|
<?php get_header(); ?>
|
|
|
|
|
2009-09-03 01:12:30 +00:00
|
|
|
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
|
|
|
<div id="content-wrapper">
|
|
|
|
<?php } ?>
|
|
|
|
|
2009-08-21 19:29:45 +00:00
|
|
|
<?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 } ?>
|
|
|
|
|
2009-09-03 01:12:30 +00:00
|
|
|
<?php if (is_cp_theme_style('gn')) { ?>
|
|
|
|
<div id="pagewrap-right">
|
|
|
|
<?php } ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
|
|
|
<?php if (!(is_paged())) { ?>
|
|
|
|
|
2009-08-30 09:42:24 +00:00
|
|
|
<?php if ($disable_comic_frontpage != 'yes') { ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-08-30 09:42:24 +00:00
|
|
|
<?php $wp_query ->in_the_loop = true; $comicFrontpage = new WP_Query(); $comicFrontpage->query('showposts=1&cat='.get_all_comic_categories_as_cat_string());
|
2009-09-03 01:12:30 +00:00
|
|
|
while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-08-30 09:42:24 +00:00
|
|
|
<div id="comic-head"><?php get_sidebar('over'); ?></div>
|
|
|
|
<div id="comic">
|
2009-09-03 04:39:23 +00:00
|
|
|
<?php get_sidebar('comicleft'); ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
<?php display_comic(); ?>
|
2009-09-03 04:39:23 +00:00
|
|
|
<?php get_sidebar('comicright'); ?>
|
|
|
|
<div class="clear"></div>
|
2009-08-21 19:29:45 +00:00
|
|
|
</div>
|
2009-08-30 09:42:24 +00:00
|
|
|
<div id="comic-foot"><?php get_sidebar('under'); ?></div>
|
|
|
|
|
|
|
|
<?php endwhile; ?>
|
|
|
|
|
|
|
|
<?php } ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
|
|
|
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
2009-08-30 09:42:24 +00:00
|
|
|
<div id="content-wrapper">
|
2009-08-21 19:29:45 +00:00
|
|
|
<?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 ($disable_comic_frontpage != 'yes' && $disable_comic_blog_frontpage != 'yes') {
|
|
|
|
while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post();
|
|
|
|
|
|
|
|
display_comic_post();
|
|
|
|
|
|
|
|
endwhile; ?>
|
|
|
|
|
|
|
|
<div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div>
|
|
|
|
|
|
|
|
<?php }
|
2009-08-30 09:42:24 +00:00
|
|
|
|
|
|
|
} else { ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
|
|
|
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
2009-09-03 01:12:30 +00:00
|
|
|
<div id="content-wrapper">
|
2009-08-21 19:29:45 +00:00
|
|
|
<?php } ?>
|
2009-09-03 01:12:30 +00:00
|
|
|
|
2009-08-21 19:29:45 +00:00
|
|
|
<?php get_sidebar('overblog'); ?>
|
2009-09-03 01:12:30 +00:00
|
|
|
|
2009-08-21 19:29:45 +00:00
|
|
|
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?>
|
|
|
|
|
|
|
|
<?php if (is_cp_theme_style('gn,standard,3c')) { ?>
|
2009-09-03 01:12:30 +00:00
|
|
|
<div id="content" class="narrowcolumn">
|
|
|
|
<div class="column">
|
2009-08-21 19:29:45 +00:00
|
|
|
<?php }
|
|
|
|
}
|
2009-08-29 01:22:32 +00:00
|
|
|
|
2009-08-30 09:42:24 +00:00
|
|
|
if (function_exists('the_project_wonderful_ad')) { ?>
|
2009-09-03 01:12:30 +00:00
|
|
|
<div class="blogpwad">
|
|
|
|
<center>
|
|
|
|
<?php the_project_wonderful_ad('blog'); ?>
|
|
|
|
</center>
|
|
|
|
</div>
|
2009-08-30 09:42:24 +00:00
|
|
|
<?php }
|
|
|
|
|
|
|
|
get_sidebar('blog');
|
|
|
|
|
2009-08-29 01:22:32 +00:00
|
|
|
if ($disable_blog_frontpage != 'yes') {
|
2009-08-23 06:31:26 +00:00
|
|
|
if (have_posts()) {
|
|
|
|
global $blog_postcount;
|
2009-08-22 23:22:40 +00:00
|
|
|
$blog_query = 'showposts='.$blog_postcount.'&cat=-"'.exclude_comic_categories().'"&paged='.$paged;
|
2009-08-23 06:31:26 +00:00
|
|
|
|
2009-08-21 19:29:45 +00:00
|
|
|
$posts = query_posts($blog_query);
|
|
|
|
while (have_posts()) : the_post();
|
|
|
|
|
2009-08-23 06:31:26 +00:00
|
|
|
display_blog_post();
|
|
|
|
|
2009-08-28 09:24:22 +00:00
|
|
|
endwhile;
|
|
|
|
|
|
|
|
comicpress_pagination();
|
|
|
|
}
|
|
|
|
} ?>
|
2009-09-03 01:12:30 +00:00
|
|
|
<?php get_sidebar('underblog'); ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
</div>
|
2009-09-03 01:12:30 +00:00
|
|
|
</div>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
|
|
|
<?php
|
|
|
|
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
|
|
|
get_sidebar('right'); ?>
|
|
|
|
<?php } ?>
|
|
|
|
|
2009-09-03 01:12:30 +00:00
|
|
|
<?php if (is_cp_theme_style('gn')) { ?>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
|
2009-08-21 19:29:45 +00:00
|
|
|
<div class="clear"></div>
|
2009-09-03 04:39:23 +00:00
|
|
|
|
2009-08-21 19:29:45 +00:00
|
|
|
</div> <!-- end pageright-wrapper / content-wrapper -->
|
2009-09-03 01:12:30 +00:00
|
|
|
|
2009-08-21 17:45:23 +00:00
|
|
|
<?php get_footer() ?>
|