Compare commits

...

22 Commits

Author SHA1 Message Date
John Bintz f6f459ed85 functions.php and other code-related changes 2009-07-17 16:34:22 -04:00
John Bintz cac287bc5d sidebar call fixes 2009-07-17 16:33:29 -04:00
John Bintz 605f5e9386 buy this strip functionality 2009-07-17 16:31:54 -04:00
John Bintz 44bc1e7ce8 add a bunch of files to the repo 2009-07-16 21:57:17 -04:00
John Bintz 877f588c07 style and functions updates 2009-07-16 21:54:55 -04:00
John Bintz c4fc0e08bf spampoison and rss link 2009-07-16 21:52:49 -04:00
John Bintz 16f5dda86f plugin wonderful header and footer ads 2009-07-16 21:52:23 -04:00
John Bintz 90aa7c111a tempate nav code changes and cleanups 2009-07-16 21:51:52 -04:00
John Bintz ba387cd1c2 add simple options page 2009-07-16 19:42:34 -04:00
John Bintz 83a5955ff0 FS#85 2009-07-15 16:58:19 -04:00
John Bintz 96e19df82a FS#88 2009-07-15 16:57:06 -04:00
John Bintz 4a5fe829a2 rework archive titles, backport from 2.8 2009-07-15 16:54:12 -04:00
John Bintz c313dc14ae update stylesheet 2009-07-14 12:34:56 -04:00
John Bintz c4b913b45b make config reflect descriptive text 2009-07-14 12:34:44 -04:00
John Bintz 2a330b6fcf add sidebar-single class 2009-07-14 12:33:53 -04:00
John Bintz 0885249d44 add class to mark current page 2009-07-14 12:33:31 -04:00
John Bintz db2b452119 move javascript to separate folder 2009-07-14 12:33:04 -04:00
John Bintz a41dd3ccf0 change bookmark js to reflect new images directory 2009-07-14 12:31:33 -04:00
John Bintz 21d163cf9e add return to top 2009-07-14 12:30:35 -04:00
John Bintz f4ab1c5821 add javascript folder 2009-07-14 12:29:00 -04:00
John Bintz 71c643fd2c delete image files 2009-07-14 12:28:38 -04:00
John Bintz 99331e439d move bookmark images into separate directory 2009-07-14 12:26:28 -04:00
59 changed files with 2791 additions and 2042 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
*~ *~
.directory

View File

@ -11,6 +11,6 @@
<div class="post-page-foot"></div> <div class="post-page-foot"></div>
</div> </div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

View File

@ -120,12 +120,12 @@ $month['12'] = array('month' => 'December', 'days' => '31');
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <div class="post-page">
<?php while (have_posts()) : the_post() ?>
<h2 class="pagetitle"><span class="archive-year"><?php echo $archive_year ?></span> <?php the_title() ?></h2> <div class="entry">
<h2 class="pagetitle"><span class="archive-year"><?php echo $archive_year; ?></span> <?php the_title() ?></h2>
<div class="entry"> <?php the_content(); ?>
<?php while (have_posts()) : the_post(); the_content(); endwhile; ?> </div>
</div> <?php endwhile; ?>
<div class="archive-yearlist">| <div class="archive-yearlist">|
<?php $years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC"); <?php $years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC");
@ -166,6 +166,6 @@ $month['12'] = array('month' => 'December', 'days' => '31');
</div> </div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

View File

@ -65,10 +65,12 @@ Template Name: Comic Storyline with Thumbs
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <div class="post-page">
<h2 class="pagetitle"><?php the_title() ?></h2> <?php while (have_posts()) : the_post(); ?>
<div class="entry"> <div class="entry">
<?php while (have_posts()) : the_post(); the_content(); endwhile; ?> <h2 class="pagetitle"><?php the_title() ?></h2>
</div> <?php the_content(); ?>
</div>
<?php endwhile; ?>
<ul id="storyline" class="level-0"> <ul id="storyline" class="level-0">
<?php if (get_option('comicpress-enable-storyline-support') == 1) { <?php if (get_option('comicpress-enable-storyline-support') == 1) {
if (($result = get_option("comicpress-storyline-category-order")) !== false) { if (($result = get_option("comicpress-storyline-category-order")) !== false) {
@ -126,6 +128,6 @@ Template Name: Comic Storyline with Thumbs
</div> </div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

View File

@ -64,11 +64,12 @@ Template Name: Comic Storyline Archive
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <?php while (have_posts()) : the_post() ?>
<h2 class="pagetitle"><?php the_title() ?></h2> <div class="entry">
<div class="entry"> <h2 class="pagetitle"><?php the_title() ?></h2>
<?php while (have_posts()) : the_post(); the_content(); endwhile; ?> <?php the_content(); ?>
</div> </div>
<?php endwhile; ?>
<ul id="storyline" class="level-0"> <ul id="storyline" class="level-0">
<?php if (get_option('comicpress-enable-storyline-support') == 1) { <?php if (get_option('comicpress-enable-storyline-support') == 1) {
if (($result = get_option("comicpress-storyline-category-order")) !== false) { if (($result = get_option("comicpress-storyline-category-order")) !== false) {
@ -128,6 +129,6 @@ Template Name: Comic Storyline Archive
</div> </div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

View File

@ -37,12 +37,12 @@ Template Name: Comic Year Archive
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <div class="post-page">
<?php while (have_posts()) : the_post() ?>
<h2 class="pagetitle"><span class="archive-year"><?php echo $archive_year; ?></span> <?php the_title() ?></h2> <div class="entry">
<h2 class="pagetitle"><span class="archive-year"><?php echo $archive_year; ?></span> <?php the_title() ?></h2>
<div class="entry"> <?php the_content(); ?>
<?php while (have_posts()) : the_post(); the_content(); endwhile; ?> </div>
</div> <?php endwhile; ?>
<div class="archive-yearlist">| <div class="archive-yearlist">|
<?php $years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC"); <?php $years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC");
@ -66,6 +66,6 @@ Template Name: Comic Year Archive
</div> </div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

View File

@ -52,6 +52,6 @@ Template Name: Comic Archive
</div> </div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

View File

@ -1,90 +1,98 @@
<?php get_header() ?> <?php get_header() ?>
<div id="content" class="archive"> <div id="content" class="narrowcolumn">
<?php if (have_posts()) : ?> <?php if (have_posts()) : ?>
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <div class="post-page">
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* Category Archive */ if (is_category()) { ?> <?php /* Category Archive */ if (is_category()) { ?>
<div class="content"><h2 class="pagetitle">Archive for &#8216;<?php single_cat_title() ?>&#8217;</h2></div> <div class="content"><h2 class="pagetitle">Archive for &#8216;<?php single_cat_title() ?>&#8217;</h2></div>
<?php /* Tag Archive */ } elseif( is_tag() ) { ?> <?php /* Tag Archive */ } elseif( is_tag() ) { ?>
<div class="content"><h2 class="pagetitle">Posts Tagged &#8216;<?php single_tag_title() ?>&#8217;</h2></div> <div class="content"><h2 class="pagetitle">Posts Tagged &#8216;<?php single_tag_title() ?>&#8217;</h2></div>
<?php /* Daily Archive */ } elseif (is_day()) { ?> <?php /* Daily Archive */ } elseif (is_day()) { ?>
<div class="content"><h2 class="pagetitle">Archive for <?php the_time('F jS, Y') ?></h2></div> <div class="content"><h2 class="pagetitle">Archive for <?php the_time('F jS, Y') ?></h2></div>
<?php /* Monthly Archive */ } elseif (is_month()) { ?> <?php /* Monthly Archive */ } elseif (is_month()) { ?>
<div class="content"><h2 class="pagetitle">Archive for <?php the_time('F, Y') ?></h2></div> <div class="content"><h2 class="pagetitle">Archive for <?php the_time('F, Y') ?></h2></div>
<?php /* Yearly Archive */ } elseif (is_year()) { ?> <?php /* Yearly Archive */ } elseif (is_year()) { ?>
<div class="content"><h2 class="pagetitle">Archive for <?php the_time('Y') ?></h2></div> <div class="content"><h2 class="pagetitle">Archive for <?php the_time('Y') ?></h2></div>
<?php /* Author Archive */ } elseif (is_author()) { ?> <?php /* Author Archive */ } elseif (is_author()) { ?>
<div class="content"><h2 class="pagetitle">Author Archive</h2></div> <div class="content"><h2 class="pagetitle">Author Archive</h2></div>
<?php /* Paged Archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <?php /* Paged Archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<div class="content"><h2 class="pagetitle">Archives</h2></div> <div class="content"><h2 class="pagetitle">Archives</h2></div>
<?php } ?> <?php } ?>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-page-foot"></div>
<?php $posts = query_posts($query_string.'&order=asc'); <?php $posts = query_posts($query_string.'&order=asc');
while (have_posts()) : the_post() ?> while (have_posts()) : the_post() ?>
<?php global $archive_comic_width; if (in_comic_category()) { ?> <?php global $archive_comic_width; if (in_comic_category()) { ?>
<div class="post-comic-head"></div> <div class="post-comic-head"></div>
<div class="post-comic"> <div class="post-comic">
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width; ?>px;"> <div class="comicarchiveframe" style="width:<?php echo $archive_comic_width; ?>px;">
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="Click for full size." width="<?php echo $archive_comic_width ?>" /><br /> <div class="comicdate">
<h3><?php the_title() ?></h3> <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
<small><?php the_time('F jS, Y') ?></small></a> </div>
</div> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<br class="clear-margins" /> By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('[edit this]'); ?> <br />
</div> Posted in: <?php the_category(','); ?>
<div class="post-comic-foot"></div> <a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="Click for full size." width="<?php echo $archive_comic_width ?>" /><br />
<h3><?php the_title() ?></h3>
<?php } else { ?> <small><?php the_time('F jS, Y') ?></small></a>
</div>
<div class="post-head"></div> <br class="clear-margins" />
<div class="post archive"> </div>
<h3 id="post-<?php the_ID() ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute() ?>"><?php the_title() ?></a></h3> <div class="post-comic-foot"></div>
<div class="postdate"><?php the_time('F jS, Y') ?></div>
<div class="entry"><?php the_content() ?></div> <?php } else { ?>
<div class="tags">
<?php the_tags('&#9492; Tags: ', ', ', ''); edit_post_link('Edit Post', ' [ ', ' ] ') ?> <div class="post-head"></div>
</div> <div class="post archive">
<div class="comment-link"> <h3 id="post-<?php the_ID() ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute() ?>"><?php the_title() ?></a></h3>
<?php if ('open' == $post->comment_status) { comments_popup_link('&ldquo;Comment&rdquo;', '&ldquo;1 Comment&rdquo;', '&ldquo;% Comments&rdquo;'); } ?> <div class="postdate"><?php the_time('F jS, Y') ?></div>
</div> <div class="entry"><?php the_content() ?></div>
<br class="clear-margins" /> <div class="tags">
</div> <?php the_tags('&#9492; Tags: ', ', ', ''); edit_post_link('Edit Post', ' [ ', ' ] ') ?>
<div class="post-foot"></div> </div>
<div class="comment-link">
<?php } ?> <?php if ('open' == $post->comment_status) { comments_popup_link('&ldquo;Comment&rdquo;', '&ldquo;1 Comment&rdquo;', '&ldquo;% Comments&rdquo;'); } ?>
</div>
<?php endwhile; ?> <br class="clear-margins" />
</div>
<div class="pagenav"> <div class="post-foot"></div>
<div class="pagenav-right"><?php next_posts_link('Next Page &rsaquo;') ?></div>
<div class="pagenav-left"><?php previous_posts_link('&lsaquo; Previous Page') ?></div> <?php } ?>
<div class="clear"></div>
</div> <?php endwhile; ?>
<?php else : ?> <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } else { ?>
<div class="pagenav">
<div class="post-head"></div> <div class="pagenav-right"><?php next_posts_link('Next Page &rsaquo;') ?></div>
<div class="post"> <div class="pagenav-left"><?php previous_posts_link('&lsaquo; Previous Page') ?></div>
<h3>No entries found.</h3> <div class="clear"></div>
<p>Try another search?</p> </div>
<p><?php include (TEMPLATEPATH . '/searchform.php') ?></p> <?php } ?>
<br class="clear-margins" />
</div> <?php else : ?>
<div class="post-foot"></div>
<div class="post-head"></div>
<?php endif; ?> <div class="post">
<h3>No entries found.</h3>
</div> <p>Try another search?</p>
<p><?php include (TEMPLATEPATH . '/searchform.php') ?></p>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <br class="clear-margins" />
</div>
<div class="post-foot"></div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

View File

@ -18,6 +18,6 @@ Template Name: Archives
<div class="post-page-foot"></div> <div class="post-page-foot"></div>
</div> </div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

13
buystrip-functions.php Normal file
View File

@ -0,0 +1,13 @@
<?php
function buy_this_comic() {
$buythiscomic = get_post_meta( get_the_ID(), "buythiscomic", true );
if ( $buythiscomic !== 'sold' ) {
echo '<div class="buythis"><form method="post" action="/shop/">';
echo '<input type="hidden" name="comic" value="'.get_the_ID().'" />';
echo '<button class="buythisbutton" type="submit" value="submit" name="submit"></button></form></div>';
echo '<div class="clear"></div>';
}
}
?>

106
buystrip-template.php Normal file
View File

@ -0,0 +1,106 @@
<?php
/*
Template Name: Buy Print
Template Author: Philip M. Hofer (Frumph)
Template URL: http://webcomicplanet.com/forum/
Template Author Email: philip@frumph.net
*/
get_header();
if (isset($_REQUEST['comic'])) $comicnum = $_REQUEST['comic'];
?>
<?php get_header() ?>
<div id="content" class="narrowcolumn">
<?php if (!empty($comicnum)): ?>
<?php $temppost = $post; ?>
<?php $post = & get_post( $comicnum ); ?>
<div class="post-page-head"></div>
<div class="post-page">
<div style="float:right;">
<br />
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/paypal.png" alt="Powered by Paypal" /><br />
</div>
<div style="float:left;">
<h2 class="pagetitle">Buy Print!</h2>
</div>
<div class="clear"></div>
Comic ID - #<?php echo $comicnum; ?><br />
Title: <?php echo the_title(); ?><br />
<br />
<?php $post = & get_post( $comicnum ); ?>
<center>
<img src="<?php echo the_comic_archive(); ?>" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" width="<?php echo $archive_comic_width; ?>" /><br />
<br />
<table>
<tr>
<td align="left" valign="center">
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="shipping2" value="5.75">
<input type="hidden" name="cn" value="Special Instructions (optional)">
<input type="hidden" name="cancel_return" value="http://comic.frumph.net/shop/">
<input type="hidden" name="item_name" value="Comic Strip">
<input type="hidden" name="notify_url" value="http://comic.frumph.net/shop/">
<input type="hidden" name="page_style" value="Frumph Agencies">
<input type="hidden" name="return" value="http://comic.frumph.net/shop/">
<input type="hidden" name="amount" value="23.00">
<input type="hidden" name="item_number" value="Comic ID (<?php echo $comicnum; ?>) - <?php echo the_title(); ?>">
<input type="hidden" name="business" value="frumph_dragon@yahoo.com">
<input type="hidden" name="shipping" value="4.75">
US/Canada<br>
$23 + $4.75 shipping<br />
<input type="image" src="<?php bloginfo('stylesheet_directory'); ?>/images/buynow_paypal.png" name="submit32" alt="Make payments with PayPal - it's fast, free and secure!" />
</form>
</td>
<td align="left" valign="center">
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="shipping2" value="20.00">
<input type="hidden" name="cn" value="Special Instructions (optional)">
<input type="hidden" name="cancel_return" value="http://comic.frumph.net/shop/">
<input type="hidden" name="item_name" value="Comic Strip">
<input type="hidden" name="notify_url" value="http://comic.frumph.net/shop/">
<input type="hidden" name="page_style" value="Frumph Agencies">
<input type="hidden" name="return" value="http://comic.frumph.net/shop/">
<input type="hidden" name="amount" value="23.00">
<input type="hidden" name="item_number" value="Comic ID (<?php echo $comicnum; ?>) - <?php echo the_title(); ?>">
<input type="hidden" name="business" value="frumph_dragon@yahoo.com">
<input type="hidden" name="shipping" value="12.00">
International<br>
$23 + $12.00 shipping<br />
<input type="image" src="<?php bloginfo('stylesheet_directory'); ?>/images/buynow_paypal.png" name="submit32" alt="Make payments with PayPal - it's fast, free and secure!" />
</form>
</td>
</tr>
</table>
<br />
</center>
The purchase of this strip is based on availability. A Print of this strip is what you are purchasing.<br />
<br />
<?php $post = $temppost; ?>
<div class="clear"></div>
</div>
<?php else: ?>
<?php if (have_posts()) : while (have_posts()) : the_post() ?>
<div class="post-page-head"></div>
<div class="post-page" id="post-<?php the_ID() ?>">
<h2 class="pagetitle"><?php the_title() ?></h2>
<div class="entry">
<?php the_content() ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')) ?>
</div>
<?php edit_post_link('Edit this page.', '<p>', '</p>') ?>
<br class="clear-margins" />
</div>
<div class="post-page-foot"></div>
<?php endwhile; endif; ?>
<?php comments_template(); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View File

@ -0,0 +1,49 @@
<?php
function comic_navigation() {
global $post, $wp_query;
$temppost = $post;
$temp_query = $wp_query;
$temp_single = $wp_query->is_single;
echo '<div id="comic_navi_wrapper">';
echo ' <div id="comic_navi_prev">';
$first_comic = get_first_comic_permalink();
if ($first_comic != get_permalink()) {
echo ' <a href="'.$first_comic.'" class="rollfirst" title="First">&nbsp;</a>';
} else {
echo ' <img src="'.get_bloginfo('stylesheet_directory').'/images/disabled_firstroll.png" alt="At First" style="float:left;" class="disabled_navi" />';
}
$wp_query->is_single = true;
$prev_comic = get_permalink(get_adjacent_post(true, '', true));
if (!empty($prev_comic) && (get_permalink() != $first_comic)) {
echo ' <a href="'.$prev_comic.'" class="rollprev" title="Previous">&nbsp;</a>';
} else {
echo ' <img src="'.get_bloginfo('stylesheet_directory').'/images/disabled_prevroll.png" alt="No Previous" style="float:left;" class="disabled_navi" />';
}
$wp_query->is_single = $temp_single;
echo ' </div>';
echo ' <div id="comic_navi_next">';
$last_comic = get_last_comic_permalink();
if ($last_comic != get_permalink()) {
echo ' <a href="/" class="rolllast" title="Last">&nbsp;</a>';
} else {
echo ' <img src="'.get_bloginfo('stylesheet_directory').'/images/disabled_lastroll.png" alt="No Last" style="float: right;" class="disabled_navi" />';
}
$next_comic = get_permalink(get_adjacent_post(true, '', false));
if (!empty($next_comic) && (get_permalink() != $last_comic)) {
echo ' <a href="'.$next_comic.'" class="rollnext" title="Next">&nbsp;</a>';
} else {
echo ' <img src="'.get_bloginfo('stylesheet_directory').'/images/disabled_nextroll.png" alt="No Next" style="float: right;" class="disabled_navi" />';
}
echo ' </div>';
echo ' <div class="clear"></div>';
echo '</div>';
$wp_query = $temp_query;
$wp_query->is_single = $temp_single;
$post = $temp_post;
$temp_post = null;
$temp_query = null;
$temp_single = null;
}
?>

View File

@ -1,10 +1,10 @@
<?php <?php
//COMIC CATEGORY -the WordPress ID of your comic category (default "3"). //COMIC CATEGORY -the WordPress ID of your comic category (default "3").
$comiccat = "3"; $comiccat = "4";
//BLOG CATEGORY - the WordPress ID of your blog category (default "1"). //BLOG CATEGORY - the WordPress ID of your blog category (default "1").
$blogcat = "4"; $blogcat = "3";
//COMIC FOLDER - the folder your comics files are located in (default "comics") //COMIC FOLDER - the folder your comics files are located in (default "comics")
$comic_folder = "comics"; $comic_folder = "comics";

232
comment-functions.php Normal file
View File

@ -0,0 +1,232 @@
<?php
/**
* Better display of avatars in comments
* Should only be used in comment sections (may update in future)
* Checks for false empty commenter URLs 'http://' w/registered users
* Adds the class 'photo' to the image
* Adds a call to 'images/trackback.jpg' for trackbacks
* Adds a call to 'images/pingback.jpg' for pingbacks
*
* Filters should only return a string for an image URL for the avatar with class $avatar
* They should not get the avatar as this is done after the filter
*
* @since 0.2
* @filter
*/
function comicpress_avatar() {
global $comment;
$url = get_comment_author_url();
$comment_type = get_comment_type();
if($comment_type == 'trackback') :
$avatar = '/images/trackback.png';
elseif($comment_type == 'pingback') :
$avatar = '/images/pingback.png';
elseif(get_settings('avatar_default')):
$avatar = get_settings('avatar_default');
endif;
// $avatar = apply_filters('comicpress_avatar', $avatar);
if($url == true && $url != 'http://')
echo '<a href="' . $url . '" rel="external nofollow" title="' . wp_specialchars(get_comment_author(), 1) . '">';
if(function_exists('get_avatar') && $comment_type != 'pingback' && $comment_type != 'trackback' ) {
echo str_replace("alt='", "alt='".wp_specialchars(get_comment_author(), 1)."' title='".wp_specialchars(get_comment_author(), 1), get_avatar(get_comment_author_email(), 64));
} else {
echo '<img src="'.get_bloginfo('stylesheet_directory').$avatar.'" class="avatar photo" />';
}
if($url == true && $url != 'http://')
echo '</a>';
}
/**
* Displays individual comments
* Uses the callback parameter for wp_list_comments
* Overwrites the default display of comments
*
* @since 0.2.3
*
* @param $comment The comment variable
* @param $args Array of arguments passed from wp_list_comments
* @param $depth What level the particular comment is
*/
function comicpress_comments_callback($comment, $args, $depth) {
$GLOBALS['comment'] = $comment;
$GLOBALS['comment_depth'] = $depth;
?>
<li id="comment-<?php comment_ID(); ?>" class="<?php comicpress_comment_class(); ?>">
<?php comicpress_avatar(); // Avatar filter ?>
<div class="comment-meta-data">
<div class="comment-author vcard">
<?php comicpress_comment_author(); ?><br />
</div>
<abbr class="comment-time" title="<?php comment_date(__('l, F jS, Y, g:i a','comicpress')); ?>">
<?php printf(__('%1$s at %2$s','comicpress'), get_comment_date(), get_comment_time()); ?>
</abbr>
<span class="separator">|</span> <a class="permalink" href="#comment-<?php echo str_replace('&', '&amp;', get_comment_ID()); ?>" title="<?php _e('Permalink to comment','comicpress'); ?>"><?php _e('Permalink','comicpress'); ?></a>
<?php
if((get_option('thread_comments')) && ($args['type'] == 'all' || get_comment_type() == 'comment')) :
$max_depth = get_option('thread_comments_depth');
echo comment_reply_link(array(
'reply_text' => __('Reply','comicpress'),
'login_text' => __('Log in to reply.','comicpress'),
'depth' => $depth,
'max_depth' => $max_depth,
'before' => '<span class="separator">|</span> <span class="comment-reply-link">',
'after' => '</span>'
));
endif;
?>
<?php edit_comment_link('<span class="edit">'.__('Edit','comicpress').'</span>',' <span class="separator">|</span> ',''); ?>
<?php if($comment->comment_approved == '0') : ?>
<em><?php _e('<span style=\"color:#ff0000;\">Your comment is awaiting moderation.</span>','comicpress'); ?></em>
<?php endif; ?>
</div>
<br class="clearfloat" />
<div class="comment-text">
<?php comment_text(); ?>
</div>
<?php
}
/**
* Ends the display of individual comments
* Uses the callback parameter for wp_list_comments
* Needs to be used in conjunction with comicpress_comments_callback
* Not needed but used just in case something is changed
*
* @since 0.2.3
*/
function comicpress_comments_end_callback() {
echo '</li>';
}
/**
* Sets a class for each comment
* Sets alt, odd/even, and author/user classes
* Adds author, user, and reader classes
*
* @since 0.2
*/
function comicpress_comment_class() {
global $comment;
static $comment_alt;
$classes = array();
if(function_exists('get_comment_class'))
$classes = get_comment_class();
$classes[] = get_comment_type();;
/*
* User classes
*/
if($comment->user_id > 0 && $user = get_userdata($comment->user_id)) :
$classes[] = 'user user-' . $user->user_nicename;
if($post = get_post($post_id)) :
if($comment->user_id === $post->post_author)
$classes[] = 'author author-' . $user->user_nicename;
endif;
else :
$classes[] = 'reader';
endif;
/*
* Alt classes
*/
if($comment_alt++ % 2) :
$classes[] = 'even';
$classes[] = 'alt';
else :
$classes[] = 'odd';
endif;
/*
* http://microid.org
*/
$email = get_comment_author_email();
$url = get_comment_author_url();
if(!empty($email) && !empty($url)) {
$microid = 'microid-mailto+http:sha1:' . sha1(sha1('mailto:'.$email).sha1($url));
$classes[] = $microid;
}
$classes = join(' ', $classes);
echo $classes;
}
/**
* Properly displays comment author name/link
* bbPress and other external systems sometimes don't set a display name for registrations
* WP has problems if no display name is set
* WP gives registered users URL of 'http://' if none is set
*
* @since 0.2.2
*/
function comicpress_comment_author() {
global $comment;
$author = get_comment_author();
$url = get_comment_author_url();
/*
* Registered members w/o URL defaults to 'http://'
*/
if($url == 'http://')
$url = false;
/*
* Registered through bbPress sometimes leaves no display name
* Bug with bbPress 0.9 series and WP 2.5 (no later testing)
* 'Anonymous' should be localized according to WP, not the theme
*/
if($comment->user_id > 0) :
$user = get_userdata($comment->user_id);
if($user->display_name)
$author = $user->display_name;
elseif($user->user_nickname)
$author = $user->nickname;
elseif($user->user_nicename)
$author = $user->user_nicename;
else
$author = $user->user_login;
endif;
/*
* Display link and cite if URL is set
* Also properly cites trackbacks/pingbacks
*/
if($url) :
$output = '<cite title="' . $url . '">';
$output .= '<a href="' . $url . '" title="' . wp_specialchars($author, 1) . '" class="external nofollow">' . $author . '</a>';
$output .= '</cite>';
else :
$output = '<cite>';
$output .= $author;
$output .= '</cite>';
endif;
echo $output;
}
?>

View File

@ -1,93 +1,97 @@
<div id="content" class="narrowcolumn"> <div class="comment-wrap">
<div class="comment-wrap">
<?php <?php
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!'); die ('Please do not load this page directly. Thanks!');
if ( post_password_required() ) { ?> if ( post_password_required() ) { ?>
<p class="nocomments">This post is password protected. Enter the password to view comments.</p> <p class="nocomments">This post is password protected. Enter the password to view comments.</p>
<?php <?php
return; return;
} }
if ( have_comments() ) : ?> if ( have_comments() ) : ?>
<h3 id="comments"><?php comments_number('Discussion&not;', 'Discussion&not;', 'Discussion (%)&not;' );?></h3> <h3 id="comments"><?php comments_number('Discussion&not;', 'Discussion&not;', 'Discussion (%)&not;' );?></h3>
<ol class="commentlist"> <ol class="commentlist">
<?php wp_list_comments(array('avatar_size'=>64)); ?> <?php wp_list_comments(array(
</ol> 'type' => 'all',
<div class="pagenav"> 'callback' => 'comicpress_comments_callback',
<div class="pagenav-right"><?php next_comments_link('Newer Comments &uarr;') ?></div> 'end-callback' => 'comicpress_comments_end_callback',
<div class="pagenav-left"><?php previous_comments_link('&darr; Previous Comments') ?></div> 'avatar_size'=>64
<div class="clear"></div> )
</div> ); ?>
<?php else : // this is displayed if there are no comments so far ?> </ol>
<div class="pagenav">
<div class="pagenav-right"><?php next_comments_link('Newer Comments &uarr;') ?></div>
<div class="pagenav-left"><?php previous_comments_link('&darr; Previous Comments') ?></div>
<div class="clear"></div>
</div>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ('open' == $post->comment_status) : ?> <?php if ('open' == $post->comment_status) : ?>
<!-- If comments are open, but there are no comments. --> <!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?> <?php else : // comments are closed ?>
<!-- If comments are closed. --> <!-- If comments are closed. -->
<p class="nocomments">Comments are closed.</p> <p class="nocomments">Comments are closed.</p>
<?php endif; ?> <?php endif; ?>
<?php endif; ?> <?php endif; ?>
<?php if ('open' == $post->comment_status) : ?> <?php if ('open' == $post->comment_status) : ?>
<div id="respond"> <div id="respond">
<h3><?php comment_form_title( 'Comment&not;', 'Reply to %s&not;' ); ?></h3> <h3><?php comment_form_title( 'Comment&not;', 'Reply to %s&not;' ); ?></h3>
<div class="cancel-comment-reply"> <div class="cancel-comment-reply">
<small><?php cancel_comment_reply_link(); ?></small> <small><?php cancel_comment_reply_link(); ?></small>
</div> </div>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?> <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p> <p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
<?php else : ?> <?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( $user_ID ) : ?> <?php if ( $user_ID ) : ?>
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out &raquo;</a></p> <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out &raquo;</a></p>
<?php else : ?> <?php else : ?>
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
<label for="author"><small>NAME &mdash; <a href="http://gravatar.com">Get an avatar</a></small></label></p> <label for="author"><small>NAME &mdash; <a href="http://gravatar.com">Get an avatar</a></small></label></p>
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
<label for="email"><small>EMAIL <?php if ($req) echo "&mdash; Required / not published"; ?> </small></label></p> <label for="email"><small>EMAIL <?php if ($req) echo "&mdash; Required / not published"; ?> </small></label></p>
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
<label for="url"><small>WEBSITE</small></label></p> <label for="url"><small>WEBSITE</small></label></p>
<?php endif; ?> <?php endif; ?>
<!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>--> <!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->
<p><textarea name="comment" id="comment" cols="50" rows="5" tabindex="4"></textarea></p> <p><textarea name="comment" id="comment" cols="50" rows="5" tabindex="4"></textarea></p>
<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /> <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
<?php comment_id_fields(); ?> <?php comment_id_fields(); ?>
</p> </p>
<div class="clear"></div> <div class="clear"></div>
<?php do_action('comment_form', $post->ID); ?> <?php do_action('comment_form', $post->ID); ?>
</form> </form>
<?php endif; // If registration required and not logged in ?> <?php endif; // If registration required and not logged in ?>
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div>

67
custom-image-header.php Normal file
View File

@ -0,0 +1,67 @@
<?php
// Custom Image Header
define('HEADER_TEXTCOLOR', '000');
define('HEADER_IMAGE', '%s/images/header-blank.png'); // %s is theme dir uri
define('HEADER_IMAGE_WIDTH', 760);
define('HEADER_IMAGE_HEIGHT', 140);
function theme_admin_header_style() {
?>
<style type="text/css">
#headimg {
width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
background: url(<?php header_image(); ?>) no-repeat center;
}
#headimg h1, #headimg .description
{
text-decoration: none;
<?php
if ( 'blank' == get_header_textcolor() ) { ?>
display: none;
<?php } else {
// Otherwise, set the color to be the user selected one
?>
color: #<?php header_textcolor();?>;
<?php } ?>
}
</style>
<?php
}
function theme_header_style() {
?>
<style type="text/css">
#header
{
width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
background: url(<?php header_image(); ?>) no-repeat center;
}
<?php
// Has the text been hidden?
// If so, set display to equal none
if ( 'blank' == get_header_textcolor() ) { ?>
#header h1, #header .description {
display: none;
}
<?php } else {
// Otherwise, set the color to be the user selected one
?>
#header *
{
color: #<?php header_textcolor();?>;
}
}
<?php } ?>
</style>
<?php
}
if ( function_exists('add_custom_image_header') ) {
add_custom_image_header('theme_header_style', 'theme_admin_header_style');
}
?>

View File

@ -1,9 +1,13 @@
<div class="clear"></div><!-- Clears floated columns and sidebars --> <div class="clear"></div><!-- Clears floated columns and sidebars -->
<div id="footer"> <div id="footer">
<center>
<?php if (function_exists('the_project_wonderful_ad')) { the_project_wonderful_ad('footer'); } ?>
</center>
<p> <p>
<?php bloginfo('name') ?> is powered by <a href="http://wordpress.org/">WordPress</a> with <a href="http://comicpress.org/">ComicPress</a> <?php bloginfo('name') ?> is powered by <a href="http://wordpress.org/">WordPress</a> with <a href="http://comicpress.org/">ComicPress</a>
| Subscribe: <a href="<?php bloginfo('rss2_url') ?>">RSS Feed</a> | Subscribe: <a href="<?php bloginfo('rss2_url') ?>">RSS Feed</a> | <a href="#outside" onclick="scrollup(); return false;">Return to Top &nbsp;</a><br />
<a href="http://english-156752579142.spampoison.com"><img src="http://pics4.inxhost.com/images/sticker.gif" border="0" width="80" height="15"/></a>
<!-- <?php echo get_num_queries() ?> queries. <?php timer_stop(1) ?> seconds. --> <!-- <?php echo get_num_queries() ?> queries. <?php timer_stop(1) ?> seconds. -->
</p> </p>
</div> </div>

File diff suppressed because it is too large Load Diff

View File

@ -21,15 +21,20 @@
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name') ?> RSS Feed" href="<?php bloginfo('rss2_url') ?>" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name') ?> RSS Feed" href="<?php bloginfo('rss2_url') ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name') ?> Atom Feed" href="<?php bloginfo('atom_url') ?>" /> <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name') ?> Atom Feed" href="<?php bloginfo('atom_url') ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/scroll.js"></script>
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head() ?> <?php wp_head() ?>
<!--[if lt IE 7]><script type="text/javascript" src="<?php bloginfo('template_directory') ?>/ie6submenus.js"></script><![endif]--> <!--[if lt IE 7]><script type="text/javascript" src="<?php bloginfo('template_directory') ?>/js/ie6submenus.js"></script><![endif]-->
</head> </head>
<body> <body <?php if (function_exists('body_class')) { body_class(); } ?>>
<div id="page"><!-- Defines entire site width - Ends in Footer --> <div id="page"><!-- Defines entire site width - Ends in Footer -->
<div id="header"> <div id="header">
<div class="headerad">
<?php if (function_exists('the_project_wonderful_ad')) { the_project_wonderful_ad('header'); } ?>
</div>
<h1><a href="<?php echo get_settings('home') ?>"><?php bloginfo('name') ?></a></h1> <h1><a href="<?php echo get_settings('home') ?>"><?php bloginfo('name') ?></a></h1>
<div class="description"><?php bloginfo('description') ?></div> <div class="description"><?php bloginfo('description') ?></div>
</div> </div>
@ -51,9 +56,9 @@
</div> </div>
<ul id="menu"> <ul id="menu">
<li><a href="<?php bloginfo('url') ?>">Home</a></li> <li <?php if (is_home()) { ?> class="current_page_item"<?php } ?>><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_list_pages('sort_column=menu_order&depth=4&title_li=') ?> <?php wp_list_pages('sort_column=menu_order&depth=4&title_li=') ?>
<li><a href="<?php bloginfo('rss2_url') ?>">Subscribe</a></li> <li><a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/data_rss.gif" class="rss" alt="RSS" /></a></li>
</ul> </ul>
<div class="clear"></div> <div class="clear"></div>

View File

@ -64,6 +64,6 @@
</div> </div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

View File

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 329 B

View File

Before

Width:  |  Height:  |  Size: 321 B

After

Width:  |  Height:  |  Size: 321 B

View File

Before

Width:  |  Height:  |  Size: 345 B

After

Width:  |  Height:  |  Size: 345 B

View File

Before

Width:  |  Height:  |  Size: 288 B

After

Width:  |  Height:  |  Size: 288 B

View File

Before

Width:  |  Height:  |  Size: 300 B

After

Width:  |  Height:  |  Size: 300 B

View File

Before

Width:  |  Height:  |  Size: 270 B

After

Width:  |  Height:  |  Size: 270 B

BIN
images/buynow_paypal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
images/buythis.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
images/calendar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
images/data_rss.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

BIN
images/disabled_first.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
images/disabled_latest.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

BIN
images/disabled_next.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
images/firstroll.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

BIN
images/header-blank.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 B

BIN
images/lastroll.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

BIN
images/menubarbgdark.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

BIN
images/nextroll.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
images/paypal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
images/pingback.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

BIN
images/previous.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

BIN
images/prevroll.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
images/trackback.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 B

185
index.php
View File

@ -1,90 +1,97 @@
<?php get_header(); global $blog_postcount, $blogcat; $first_comic = get_first_comic_permalink() ?> <?php get_header(); global $blog_postcount, $blogcat; $first_comic = get_first_comic_permalink() ?>
<?php if (!(is_paged())) { ?> <?php if (!(is_paged())) { ?>
<?php $wp_query->in_the_loop = true; $comicFrontpage = new WP_Query(); $comicFrontpage->query('showposts=1&cat='.get_all_comic_categories_as_cat_string()); <?php $wp_query->in_the_loop = true; $comicFrontpage = new WP_Query(); $comicFrontpage->query('showposts=1&cat='.get_all_comic_categories_as_cat_string());
while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?> while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?>
<div id="comic-head"></div> <div id="comic-head"></div>
<div id="comic"> <div id="comic">
<img src="<?php the_comic() ?>" alt="<?php the_title() ?>" title="<?php the_hovertext() ?>" /> <img src="<?php the_comic() ?>" alt="<?php the_title() ?>" title="<?php the_hovertext() ?>" />
</div> </div>
<div id="comic-foot"></div> <div id="comic-foot"></div>
<?php endwhile; ?> <?php // if (function_exists('buy_this_comic')) { buy_this_comic(); } ?>
<?php // if (function_exists('comic_navigation')) { comic_navigation(); } ?>
<div id="content" class="narrowcolumn"> <?php endwhile; ?>
<?php while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?> <div id="content" class="narrowcolumn">
<div class="post-comic-head"></div>
<div class="post-comic"> <?php while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?>
<div class="nav"> <div class="post-comic-head"></div>
<div class="nav-first"><a href="<?php echo $first_comic ?>" title="Go to the First Comic">&lsaquo;&lsaquo; First</a></div> <div class="post-comic">
<div class="nav-previous"><?php global $wp_query; $wp_query->is_single = true; previous_comic_link('%link', '&lsaquo; Previous'); $wp_query->is_single = false ?></div> <div class="nav">
</div> <div class="nav-first"><a href="<?php echo $first_comic ?>" title="Go to the First Comic">&lsaquo;&lsaquo; First</a></div>
<div class="comicdate"> <div class="nav-previous"><?php global $wp_query; $wp_query->is_single = true; previous_comic_link('%link', '&lsaquo; Previous'); $wp_query->is_single = false ?></div>
<?php the_time('F jS, Y') ?> </div>
</div> <div class="clear"></div>
<div class="clear"></div> <?php if (get_option('comicpress-enable-storyline-support') == 1) { ?>
<?php if (get_option('comicpress-enable-storyline-support') == 1) { ?> <ul class="storyline-cats"><li class="storyline-root"><?php the_category(' &raquo; </li><li>', multiple) ?></li></ul>
<ul class="storyline-cats"><li class="storyline-root"><?php the_category(' &raquo; </li><li>', multiple) ?></li></ul> <?php } ?>
<?php } ?> <div class="comicdate">
<h2> <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title() ?>"><?php the_title() ?></a> </div>
</h2> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="entry"> By <?php the_author(); ?> on <?php the_time('F jS, Y'); ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?> <br />
<?php the_content('&darr; Read the rest of this entry...') ?> Posted in: <?php the_category(','); ?>
</div> <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
<?php the_transcript('styled') ?> <div class="entry">
<div class="tags"> <?php the_content('&darr; Read the rest of this entry...') ?>
<?php the_tags('&#9492; Tags: ', ', ', ''); edit_post_link('Edit Post', ' [ ', ' ] ') ?> </div>
</div> <?php the_transcript('styled') ?>
<div class="comment-link"> <div class="tags">
<?php if ('open' == $post->comment_status) { comments_popup_link('&ldquo;Comment&rdquo;', '&ldquo;1 Comment&rdquo;', '&ldquo;% Comments&rdquo;'); } ?> <?php the_tags('&#9492; Tags: ', ', ', ''); ?>
</div> </div>
<br class="clear-margins" /> <div class="comment-link">
</div> <?php if ('open' == $post->comment_status) { comments_popup_link('&ldquo;Comment&rdquo;', '&ldquo;1 Comment&rdquo;', '&ldquo;% Comments&rdquo;'); } ?>
<div class="post-comic-foot"></div> </div>
<?php endwhile; ?> <br class="clear-margins" />
</div>
<div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div> <div class="post-comic-foot"></div>
<?php endwhile; ?>
<?php } else { ?>
<div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div>
<div id="content" class="narrowcolumn">
<?php } else { ?>
<?php } ?>
<div id="content" class="narrowcolumn">
<?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $wp_query->query('showposts='.$blog_postcount.'&cat=-'.$comiccat.'&paged='.$paged);
while ($wp_query->have_posts()) : $wp_query->the_post() ?> <?php } ?>
<div class="post-head"></div>
<div class="post" id="post-<?php the_ID() ?>"> <?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $wp_query->query('showposts='.$blog_postcount.'&cat=-'.$comiccat.'&paged='.$paged);
<h3> while ($wp_query->have_posts()) : $wp_query->the_post() ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title() ?>"><?php the_title() ?></a> <div class="post-head"></div>
</h3> <div class="post" id="post-<?php the_ID() ?>">
<div class="postdate"> <div class="comicdate">
<?php the_time('F jS, Y') ?> <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
</div> </div>
<div class="entry"> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<?php the_content('&darr; Read the rest of this entry...') ?> By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?> <br />
</div> Posted in: <?php the_category(','); ?>
<div class="tags"> <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
<?php the_tags('&#9492; Tags: ', ', ', ''); edit_post_link('Edit Post', ' [ ', ' ] ') ?> <div class="entry">
</div> <?php the_content('&darr; Read the rest of this entry...') ?>
<div class="comment-link"> </div>
<?php if ('open' == $post->comment_status) { comments_popup_link('&ldquo;Comment&rdquo;', '&ldquo;1 Comment&rdquo;', '&ldquo;% Comments&rdquo;'); } ?> <div class="tags">
</div> <?php the_tags('&#9492; Tags: ', ', ', ''); ?>
<div class="clear-margins"><br /></div> </div>
</div> <div class="comment-link">
<div class="post-foot"></div> <?php if ('open' == $post->comment_status) { comments_popup_link('&ldquo;Comment&rdquo;', '&ldquo;1 Comment&rdquo;', '&ldquo;% Comments&rdquo;'); } ?>
<?php endwhile; ?> </div>
<div class="pagenav"> <div class="clear-margins"><br /></div>
<div class="pagenav-right"><?php previous_posts_link('Newer Entries &uarr;') ?></div> </div>
<div class="pagenav-left"><?php next_posts_link('&darr; Previous Entries') ?></div> <div class="post-foot"></div>
<div class="clear"></div> <?php endwhile; ?>
</div>
<?php $wp_query = null; $wp_query = $temp ?> <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } else { ?>
<div class="pagenav">
</div> <div class="pagenav-right"><?php previous_posts_link('Newer Entries &uarr;') ?></div>
<div class="pagenav-left"><?php next_posts_link('&darr; Previous Entries') ?></div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <div class="clear"></div>
</div>
<?php } ?>
<?php $wp_query = null; $wp_query = $temp ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

14
js/ie6submenus.js Normal file
View File

@ -0,0 +1,14 @@
//Suckerfish Dropdown for IE6
sfHover = function() {
var sfEls = document.getElementById("menu").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

28
js/scroll.js Normal file
View File

@ -0,0 +1,28 @@
// JavaScript Document
var up_timer
function getPosition(){
yoko = document.body.scrollLeft || document.documentElement.scrollLeft;
tate = document.body.scrollTop || document.documentElement.scrollTop;
}
function pageup(x,y){
if(up_timer) clearTimeout(up_timer);
if(y >= 1){
getPosition();
var divisionY = (tate-(tate/5));
var Y = Math.floor(divisionY);
window.scrollTo(yoko,Y);
up_timer = setTimeout("pageup("+yoko+","+Y+")",2);
}else{
window.scrollTo(yoko,0);
clearTimeout(up_timer);
}
}
function scrollup(){
getPosition();
pageup(yoko,tate)
}

View File

@ -20,6 +20,6 @@ Template Name: Links
</div> </div>
</div> </div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

View File

@ -17,6 +17,6 @@
<?php comments_template(); ?> <?php comments_template(); ?>
</div> </div>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

View File

@ -1,72 +1,82 @@
<?php get_header() ?> <?php get_header() ?>
<div id="content" class="archive"> <div id="content" class="narrowcolumn">
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <div class="post-page">
<?php <?php
$tmp_search = new WP_Query('s=' . wp_specialchars($_GET['s']) . '&show_posts=-1&posts_per_page=-1'); $tmp_search = new WP_Query('s=' . wp_specialchars($_GET['s']) . '&show_posts=-1&posts_per_page=-1');
$count = $tmp_search->post_count; $count = $tmp_search->post_count;
?> ?>
<h2 class="pagetitle">Transcript search for &lsquo;<?php the_search_query() ?>&rsquo;</h2> <h2 class="pagetitle">Transcript search for &lsquo;<?php the_search_query() ?>&rsquo;</h2>
Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>. Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>.
</div> </div>
<div class="post-page-foot"></div> <div class="post-page-foot"></div>
<?php if (have_posts()) : ?> <?php if (have_posts()) : ?>
<?php $posts = query_posts($query_string.'&order=asc'); <?php $posts = query_posts($query_string.'&order=asc');
while (have_posts()) : the_post() ?> while (have_posts()) : the_post() ?>
<?php if (in_comic_category()) { ?> <?php if (in_comic_category()) { ?>
<div class="post-comic-head"></div> <div class="post-comic-head"></div>
<div class="post-comic"> <div class="post-comic">
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width ?>px;"> <div class="comicdate">
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="<?php the_transcript() ?>" width="<?php echo $archive_comic_width ?>" /><br /> <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
<h3><?php the_title() ?></h3> </div>
<small><?php the_time('F jS, Y') ?></small></a> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
</div> By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('[edit this]'); ?> <br />
<br class="clear-margins" /> Posted in: <?php the_category(','); ?>
</div> <div class="comicarchiveframe" style="width:<?php echo $archive_comic_width ?>px;">
<div class="post-comic-foot"></div> <a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="<?php the_transcript() ?>" width="<?php echo $archive_comic_width ?>" /><br />
</div>
<?php } else { ?> <br class="clear-margins" />
</div>
<div class="post-head"></div> <div class="post-comic-foot"></div>
<div class="post">
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title() ?>"><?php the_title() ?></a></h3> <?php } else { ?>
<div class="postdate"><?php the_time('F jS, Y') ?></div>
<?php the_excerpt() ?> <div class="post-head"></div>
<br class="clear-margins" /> <div class="post">
</div> <div class="comicdate">
<div class="post-foot"></div> <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
</div>
<?php } ?> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('[edit this]'); ?> <br />
<?php endwhile; ?> Posted in: <?php the_category(','); ?>
<?php the_excerpt() ?>
<div class="pagenav"> <br class="clear-margins" />
<div class="pagenav-right"><?php next_posts_link('Next Page &rsaquo;') ?></div> </div>
<div class="pagenav-left"><?php previous_posts_link('&lsaquo; Previous Page') ?></div> <div class="post-foot"></div>
<div class="clear"></div>
</div> <?php } ?>
<?php else : ?> <?php endwhile; ?>
<div class="post-page-head"></div> <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } else { ?>
<div class="post-page"> <div class="pagenav">
<h3>No transcripts found.</h3> <div class="pagenav-right"><?php next_posts_link('Next Page &rsaquo;') ?></div>
<p>Try another search?</p> <div class="pagenav-left"><?php previous_posts_link('&lsaquo; Previous Page') ?></div>
<p><?php include (TEMPLATEPATH . '/searchform-transcript.php') ?></p> <div class="clear"></div>
<br class="clear-margins" /> </div>
</div> <?php } ?>
<div class="post-page-foot"></div>
<?php else : ?>
<?php endif; ?>
<div class="post-page-head"></div>
</div> <div class="post-page">
<h3>No transcripts found.</h3>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <p>Try another search?</p>
<p><?php include (TEMPLATEPATH . '/searchform-transcript.php') ?></p>
<br class="clear-margins" />
</div>
<div class="post-page-foot"></div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

View File

@ -1,72 +1,82 @@
<?php get_header() ?> <?php get_header() ?>
<div id="content" class="archive"> <div id="content" class="narrowcolumn">
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <div class="post-page">
<?php <?php
$tmp_search = new WP_Query('s=' . wp_specialchars($_GET['s']) . '&show_posts=-1&posts_per_page=-1'); $tmp_search = new WP_Query('s=' . wp_specialchars($_GET['s']) . '&show_posts=-1&posts_per_page=-1');
$count = $tmp_search->post_count; $count = $tmp_search->post_count;
?> ?>
<h2 class="pagetitle">Search for &lsquo;<?php the_search_query() ?>&rsquo;</h2> <h2 class="pagetitle">Search for &lsquo;<?php the_search_query() ?>&rsquo;</h2>
Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>. Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>.
</div> </div>
<div class="post-page-foot"></div> <div class="post-page-foot"></div>
<?php if (have_posts()) : ?> <?php if (have_posts()) : ?>
<?php $posts = query_posts($query_string.'&order=asc'); <?php $posts = query_posts($query_string.'&order=asc');
while (have_posts()) : the_post() ?> while (have_posts()) : the_post() ?>
<?php global $archive_comic_width; if (in_comic_category()) { ?> <?php global $archive_comic_width; if (in_comic_category()) { ?>
<div class="post-comic-head"></div> <div class="post-comic-head"></div>
<div class="post-comic"> <div class="post-comic">
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width ?>px;"> <div class="comicdate">
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="Click for full size." title="Click for full size" width="<?php echo $archive_comic_width ?>" /><br /> <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
<h3><?php the_title() ?></h3> </div>
<small><?php the_time('F jS, Y') ?></small></a> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
</div> By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('[edit this]'); ?> <br />
<br class="clear-margins" /> Posted in: <?php the_category(','); ?>
</div> <div class="comicarchiveframe" style="width:<?php echo $archive_comic_width ?>px;">
<div class="post-comic-foot"></div> <a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="Click for full size." title="Click for full size" width="<?php echo $archive_comic_width ?>" /><br />
</div>
<?php } else { ?> <br class="clear-margins" />
</div>
<div class="post-head"></div> <div class="post-comic-foot"></div>
<div class="post">
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title() ?>"><?php the_title() ?></a></h3> <?php } else { ?>
<div class="postdate"><?php the_time('F jS, Y') ?></div>
<?php the_excerpt() ?> <div class="post-head"></div>
<br class="clear-margins" /> <div class="post">
</div> <div class="comicdate">
<div class="post-foot"></div> <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
</div>
<?php } ?> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('[edit this]'); ?> <br />
<?php endwhile ?> Posted in: <?php the_category(','); ?>
<?php the_excerpt() ?>
<div class="pagenav"> <br class="clear-margins" />
<div class="pagenav-right"><?php next_posts_link('Next Page &rsaquo;') ?></div> </div>
<div class="pagenav-left"><?php previous_posts_link('&lsaquo; Previous Page') ?></div> <div class="post-foot"></div>
<div class="clear"></div>
</div> <?php } ?>
<?php else : ?> <?php endwhile; ?>
<div class="post-page-head"></div> <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } else { ?>
<div class="post-page"> <div class="pagenav">
<h3>No entries found.</h3> <div class="pagenav-right"><?php next_posts_link('Next Page &rsaquo;') ?></div>
<p>Try another search?</p> <div class="pagenav-left"><?php previous_posts_link('&lsaquo; Previous Page') ?></div>
<p><?php include (TEMPLATEPATH . '/searchform.php') ?></p> <div class="clear"></div>
<br class="clear-margins" /> </div>
</div> <?php } ?>
<div class="post-page-foot"></div>
<?php else : ?>
<?php endif ?>
<div class="post-page-head"></div>
</div> <div class="post-page">
<h3>No entries found.</h3>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <p>Try another search?</p>
<p><?php include (TEMPLATEPATH . '/searchform.php') ?></p>
<br class="clear-margins" />
</div>
<div class="post-page-foot"></div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

View File

@ -1,6 +1,6 @@
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/"> <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
<div> <div>
<input type="text" value="Search Site..." name="s" id="s" onfocus="this.value=(this.value=='Search Site...') ? '' : this.value;" onblur="this.value=(this.value=='') ? 'Search Site...' : this.value;" /> <input type="text" value="Search Site..." name="s" id="s" onfocus="this.value=(this.value=='Search Site...') ? '' : this.value;" onblur="this.value=(this.value=='') ? 'Search Site...' : this.value;" />
<input type="submit" id="searchsubmit" value="&raquo;" /> <button type="submit" class="button">&#9658;</button>
</div> </div>
</form> </form>

View File

@ -1,4 +1,4 @@
<div id="sidebar"> <div id="sidebar" class="sidebar-single">
<ul> <ul>

View File

@ -1,85 +1,96 @@
<?php get_header(); $first_comic = get_first_comic_permalink(); $last_comic = get_last_comic_permalink() ?> <?php get_header(); $first_comic = get_first_comic_permalink(); $last_comic = get_last_comic_permalink() ?>
<?php while (have_posts()) : the_post(); if (in_comic_category()) { ?> <?php while (have_posts()) : the_post(); if (in_comic_category()) { ?>
<div id="comic-head"></div> <div id="comic-head"></div>
<div id="comic"> <div id="comic">
<img src="<?php the_comic() ?>" alt="<?php the_title() ?>" title="<?php the_hovertext() ?>" /> <img src="<?php the_comic() ?>" alt="<?php the_title() ?>" title="<?php the_hovertext() ?>" />
</div> </div>
<div id="comic-foot"></div> <div id="comic-foot"></div>
<?php } endwhile; ?> <?php // if (function_exists('buy_this_comic')) { buy_this_comic(); } ?>
<?php // if (function_exists('comic_navigation')) { comic_navigation(); } ?>
<div id="content" class="narrowcolumn"> <?php } endwhile; ?>
<?php if (have_posts()) : while (have_posts()) : the_post() ?> <div id="content" class="narrowcolumn">
<?php if (in_comic_category()) { ?> <?php if (have_posts()) : while (have_posts()) : the_post() ?>
<div class="post-comic-head"></div>
<div class="post-comic" id="post-<?php the_ID() ?>"> <?php if (in_comic_category()) { ?>
<div class="comicdate"> <div class="post-comic-head"></div>
<div class="nav"> <div class="post-comic" id="post-<?php the_ID() ?>">
<?php if ( get_permalink() != $first_comic ) { ?><div class="nav-first"><a href="<?php echo $first_comic ?>">&lsaquo;&lsaquo; First</a></div><?php } ?> <div class="nav">
<div class="nav-previous"><?php previous_comic_link('%link', '&lsaquo; Previous') ?></div> <?php if ( get_permalink() != $first_comic ) { ?><div class="nav-first"><a href="<?php echo $first_comic ?>">&lsaquo;&lsaquo; First</a></div><?php } ?>
<div class="nav-next"><?php next_comic_link('%link', 'Next &rsaquo;') ?></div> <div class="nav-previous"><?php previous_comic_link('%link', '&lsaquo; Previous') ?></div>
<?php if ( get_permalink() != $last_comic ) { ?><div class="nav-last"><a href="<?php echo $last_comic ?>">Last &rsaquo;&rsaquo;</a></div><?php } ?> <div class="nav-next"><?php next_comic_link('%link', 'Next &rsaquo;') ?></div>
</div> <?php if ( get_permalink() != $last_comic ) { ?><div class="nav-last"><a href="<?php echo $last_comic ?>">Last &rsaquo;&rsaquo;</a></div><?php } ?>
<?php the_time('F jS, Y') ?> </div>
</div> <div class="clear"></div>
<?php if (get_option('comicpress-enable-storyline-support') == 1) { ?> <?php if (get_option('comicpress-enable-storyline-support') == 1) { ?>
<ul class="storyline-cats"><li class="storyline-root"><?php the_category(' &raquo; </li><li>', 'multiple') ?></li></ul> <ul class="storyline-cats"><li class="storyline-root"><?php the_category(' &raquo; </li><li>', 'multiple') ?></li></ul>
<?php } ?> <?php } ?>
<h2><?php the_title() ?></h2> <div class="comicdate">
<div class="entry"> <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
<?php the_content() ?> </div>
<?php the_transcript('styled') ?> <h2><?php the_title(); ?></h2>
<div class="tags"> By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('Edit Post', ' [ ', ' ] ') ?> <br />
<?php the_tags('&#9492; Tags: ', ', ', ''); edit_post_link('Edit Post', ' [ ', ' ] ') ?> Posted in: <?php the_category(','); ?>
</div> <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')) ?> <div class="entry">
</div> <?php the_content() ?>
<br class="clear-margins" /> <?php the_transcript('styled') ?>
</div> <div class="tags">
<div class="post-comic-foot"></div> <?php the_tags('&#9492; Tags: ', ', ', ''); ?>
</div>
<?php } else { ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')) ?>
</div>
<div class="post-head"></div> <br class="clear-margins" />
<div class="post" id="post-<?php the_ID() ?>"> </div>
<div class="nav-blog"> <div class="post-comic-foot"></div>
<div class="nav-blog-previous"><?php previous_post_link('%link','&lsaquo; Previous', TRUE) ?></div>
<div class="nav-blog-next"><?php next_post_link('%link','Next &rsaquo;', TRUE) ?></div> <?php } else { ?>
</div>
<div class="clear"></div> <div class="post-head"></div>
<h2><?php the_title() ?></h2> <div class="post" id="post-<?php the_ID() ?>">
<div class="postdate"><?php the_time('F jS, Y') ?></div> <div class="nav-blog">
<div class="entry"> <div class="nav-blog-previous"><?php previous_post_link('%link','&lsaquo; Previous', TRUE) ?></div>
<?php the_content() ?> <div class="nav-blog-next"><?php next_post_link('%link','Next &rsaquo;', TRUE) ?></div>
<?php the_transcript('styled') ?> </div>
<div class="tags"> <div class="clear"></div>
<?php the_tags('&#9492; Tags: ', ', ', ''); edit_post_link('Edit Post', ' [ ', ' ] ') ?> <div class="comicdate">
</div> <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')) ?> </div>
</div> <h2><?php the_title(); ?></h2>
<br class="clear-margins" /> By <?php the_author(); ?> on <?php the_time('F jS, Y') ?> <?php edit_post_link('Edit Post', ' [ ', ' ] '); ?> <br />
</div> Posted in: <?php the_category(','); ?>
<div class="post-foot"></div> <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
<div class="entry">
<?php } ?> <?php the_content() ?>
<?php the_transcript('styled') ?>
<?php comments_template() ?> <div class="tags">
<?php the_tags('&#9492; Tags: ', ', ', ''); ?>
<?php endwhile; else: ?> </div>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')) ?>
<div class="post-head"></div> </div>
<div class="post"> <br class="clear-margins" />
<p>Sorry, no posts matched your criteria.</p> </div>
<br class="clear-margins" /> <div class="post-foot"></div>
</div>
<div class="post-foot"></div> <?php } ?>
<?php endif; ?> <?php comments_template() ?>
</div> <?php endwhile; else: ?>
<?php include(TEMPLATEPATH . '/sidebar.php') ?> <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>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer() ?> <?php get_footer() ?>

1966
style.css

File diff suppressed because it is too large Load Diff