2009-06-13 11:58:02 +00:00
|
|
|
<?php get_header() ?>
|
|
|
|
|
2009-07-01 00:02:33 +00:00
|
|
|
<div id="content" class="archive">
|
2009-07-13 09:18:25 +00:00
|
|
|
<?php if (have_posts()) {
|
|
|
|
include(dirname(__FILE__) . '/partials/archive-header.inc');
|
|
|
|
|
|
|
|
// why can't wordpress allow for post date asc sorting out of the box...
|
|
|
|
|
2009-07-13 23:06:32 +00:00
|
|
|
$posts = query_posts($query_string . '&order=asc');
|
2009-07-13 09:18:25 +00:00
|
|
|
while (have_posts()) {
|
|
|
|
the_post();
|
|
|
|
|
|
|
|
if (in_comic_category()) {
|
|
|
|
include(dirname(__FILE__) . '/partials/archive-comic-post.inc');
|
|
|
|
} else {
|
|
|
|
include(dirname(__FILE__) . '/partials/archive-blog-post.inc');
|
|
|
|
}
|
2009-07-13 23:06:32 +00:00
|
|
|
}
|
2009-06-13 11:58:02 +00:00
|
|
|
|
2009-07-13 23:06:32 +00:00
|
|
|
include(dirname(__FILE__) . '/partials/archive-page-nav.inc');
|
2009-06-13 11:58:02 +00:00
|
|
|
|
2009-07-13 09:18:25 +00:00
|
|
|
<?php } else { ?>
|
2009-06-13 11:58:02 +00:00
|
|
|
|
|
|
|
<div class="post-head"></div>
|
|
|
|
<div class="post">
|
|
|
|
<h3>No entries found.</h3>
|
|
|
|
<p>Try another search?</p>
|
|
|
|
<p><?php include (TEMPLATEPATH . '/searchform.php') ?></p>
|
|
|
|
<br class="clear-margins" />
|
|
|
|
</div>
|
|
|
|
<div class="post-foot"></div>
|
|
|
|
|
2009-07-13 09:18:25 +00:00
|
|
|
<?php } ?>
|
2009-06-13 11:58:02 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php include(TEMPLATEPATH . '/sidebar.php') ?>
|
|
|
|
|
|
|
|
<?php get_footer() ?>
|