2009-12-22 22:20:11 +00:00
|
|
|
<?php global $comicpress_options; ?>
|
2009-11-06 02:56:36 +00:00
|
|
|
<?php if (comicpress_check_child_file('layout-head') == false) { ?>
|
2009-11-06 17:31:08 +00:00
|
|
|
|
2009-11-02 12:23:41 +00:00
|
|
|
<div id="content-wrapper-head"></div>
|
2009-09-17 22:45:30 +00:00
|
|
|
<div id="content-wrapper">
|
|
|
|
|
|
|
|
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
|
|
|
|
|
2009-09-28 21:49:51 +00:00
|
|
|
<?php if (is_cp_theme_layout('gn,rgn')) { ?>
|
2009-09-17 22:45:30 +00:00
|
|
|
<div id="pagewrap-right">
|
|
|
|
<?php } ?>
|
|
|
|
|
2009-12-06 00:22:08 +00:00
|
|
|
<?php if (is_cp_theme_layout('v3cr')) { ?>
|
|
|
|
<div id="pagewrap-left">
|
|
|
|
<?php } ?>
|
|
|
|
|
2009-12-25 06:06:20 +00:00
|
|
|
<?php if (!is_cp_theme_layout('gn,rgn,v3cr')) { ?>
|
|
|
|
<div id="content" class="narrowcolumn">
|
|
|
|
<div class="column">
|
|
|
|
<?php } ?>
|
|
|
|
|
2009-12-22 22:20:11 +00:00
|
|
|
<?php
|
|
|
|
Protect();
|
|
|
|
if (!$comicpress_options['disable_comic_frontpage'] && is_home()) {
|
|
|
|
$comic_query = 'showposts=1&cat='.get_all_comic_categories_as_cat_string();
|
|
|
|
$posts = query_posts($comic_query);
|
|
|
|
if (have_posts()) {
|
|
|
|
while (have_posts()) : the_post();
|
|
|
|
$wp_query->is_single = true;
|
|
|
|
display_comic_area();
|
|
|
|
endwhile;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Restore();
|
|
|
|
UnProtect();
|
|
|
|
if (is_single() & in_comic_category()) {
|
|
|
|
display_comic_area();
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
2009-12-06 00:22:08 +00:00
|
|
|
<?php if (is_cp_theme_layout('3c,standard,3c2r')) { ?>
|
|
|
|
<div id="subcontent-wrapper-head"></div>
|
|
|
|
<div id="subcontent-wrapper">
|
|
|
|
<?php } ?>
|
|
|
|
|
2009-09-17 22:45:30 +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-09-17 22:45:30 +00:00
|
|
|
|
2009-12-06 00:22:08 +00:00
|
|
|
<?php if (is_cp_theme_layout('v3cr')) { ?>
|
|
|
|
<div id="subcontent-wrapper-head"></div>
|
|
|
|
<div id="subcontent-wrapper">
|
|
|
|
<?php } ?>
|
|
|
|
|
2009-09-17 22:45:30 +00:00
|
|
|
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
|
|
|
|
<div id="content" class="narrowcolumn">
|
2009-12-06 00:22:08 +00:00
|
|
|
<div class="column">
|
2009-10-06 01:18:30 +00:00
|
|
|
<?php } ?>
|
2009-11-06 02:56:36 +00:00
|
|
|
<?php } ?>
|
2009-10-06 01:18:30 +00:00
|
|
|
|