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-08-21 19:29:45 +00:00
|
|
|
|
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-28 21:49:51 +00:00
|
|
|
<?php if (is_cp_theme_layout('gn,rgn')) { ?>
|
2009-09-15 10:23:54 +00:00
|
|
|
<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">
|
2009-10-07 09:27:51 +00:00
|
|
|
<div class="column">
|
2009-09-15 10:23:54 +00:00
|
|
|
<?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-09-29 23:12:37 +00:00
|
|
|
<?php if (comicpress_check_themepack_file('displaycomic.php') == false) { ?>
|
|
|
|
<div id="comic-head"><?php get_sidebar('over'); ?></div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
<?php get_sidebar('comicleft'); ?>
|
|
|
|
<div id="comic"><?php display_comic(); ?></div>
|
|
|
|
<?php get_sidebar('comicright'); ?>
|
|
|
|
<div class="clear"></div>
|
|
|
|
<div id="comic-foot"><?php get_sidebar('under'); ?></div>
|
|
|
|
<?php } ?>
|
2009-08-30 09:42:24 +00:00
|
|
|
<?php endwhile; ?>
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
2009-10-06 01:18:30 +00:00
|
|
|
<?php } ?>
|
2009-09-17 22:45:30 +00:00
|
|
|
|
2009-10-06 01:18:30 +00:00
|
|
|
<?php if (is_cp_theme_layout('3c,standard,3c2r')) { ?>
|
2009-09-17 22:45:30 +00:00
|
|
|
<div id="subcontent-wrapper-head"></div>
|
|
|
|
<div id="subcontent-wrapper">
|
|
|
|
<?php } ?>
|
2009-10-02 01:30:23 +00:00
|
|
|
|
2009-08-21 19:29:45 +00:00
|
|
|
<?php get_sidebar('overblog'); ?>
|
2009-09-28 21:49:51 +00:00
|
|
|
<?php if (is_cp_theme_layout('3c,rgn')) get_sidebar('left'); ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-10-02 01:30:23 +00:00
|
|
|
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
|
2009-09-15 10:23:54 +00:00
|
|
|
<div id="content" class="narrowcolumn">
|
2009-10-07 09:27:51 +00:00
|
|
|
<div class="column">
|
2009-10-02 01:30:23 +00:00
|
|
|
<?php } ?>
|
2009-10-06 01:18:30 +00:00
|
|
|
|
2009-10-02 01:30:23 +00:00
|
|
|
<?php 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-10-07 09:27:51 +00:00
|
|
|
<?php }
|
|
|
|
|
|
|
|
if ($disable_comic_frontpage != 'yes' && $disable_comic_blog_frontpage != 'yes' && !is_paged() ) { ?>
|
|
|
|
<?php while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post();
|
2009-10-06 01:18:30 +00:00
|
|
|
display_comic_post();
|
|
|
|
endwhile; ?>
|
2009-10-07 09:27:51 +00:00
|
|
|
<?php } ?>
|
2009-10-06 01:18:30 +00:00
|
|
|
|
|
|
|
<div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div>
|
|
|
|
|
2009-10-07 09:27:51 +00:00
|
|
|
<?php get_sidebar('blog'); ?>
|
2009-08-30 09:42:24 +00:00
|
|
|
|
2009-10-07 09:27:51 +00:00
|
|
|
<?php if ($disable_blog_frontpage != 'yes') {
|
|
|
|
global $blog_postcount; ?>
|
|
|
|
<?php
|
|
|
|
if ($split_column_in_two != 'yes') {
|
|
|
|
$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);
|
2009-10-07 09:27:51 +00:00
|
|
|
if (have_posts()) {
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-10-07 09:27:51 +00:00
|
|
|
while (have_posts()) : the_post();
|
|
|
|
|
|
|
|
display_blog_post();
|
|
|
|
|
|
|
|
endwhile;
|
|
|
|
|
|
|
|
}
|
2009-08-28 09:24:22 +00:00
|
|
|
comicpress_pagination();
|
2009-10-07 09:27:51 +00:00
|
|
|
} else { ?>
|
|
|
|
<div class="column_one">
|
|
|
|
<?php $blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&author='.$author_column_one.'&paged='.$paged;
|
|
|
|
$posts = query_posts($blog_query);
|
|
|
|
if (have_posts()) {
|
|
|
|
while (have_posts()) : the_post();
|
|
|
|
display_blog_post();
|
|
|
|
endwhile;
|
|
|
|
} ?>
|
|
|
|
<span class="viewpostsbyone">View all posts by: <?php the_author_posts_link(); ?><span><br />
|
|
|
|
</div>
|
|
|
|
<div class="column_two">
|
|
|
|
<?php $blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&author='.$author_column_two;
|
|
|
|
$posts = query_posts($blog_query);
|
|
|
|
if (have_posts()) {
|
|
|
|
while (have_posts()) : the_post();
|
|
|
|
display_blog_post();
|
|
|
|
endwhile;
|
|
|
|
} ?>
|
|
|
|
<span class="viewpostsbytwo">View all posts by: <?php the_author_posts_link(); ?></span><br />
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
<?php }
|
2009-08-28 09:24:22 +00:00
|
|
|
} ?>
|
2009-10-07 09:27:51 +00:00
|
|
|
|
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-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() ?>
|