query('&showposts=1000&cat=' . $comicpress->get_all_comic_categories_as_cat_string() . '&year='.$archive_year); while ($comic_archive_query->have_posts()) { $comic_archive_query->the_post(); $comic_archive_posts[get_the_time('d-m')] = array( 'link' => get_permalink(), 'title' => get_the_title() ); } $post = $temp_post; $days_of_week = array(); for ($i = 0; $i < 7; ++$i) { $days_of_week[] = substr(date("l", gmmktime(0, 0, 0, 7, 13 + $i, 2009)), 0, 1); } ?>

| get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC"); foreach ( $years as $year ) { if ($year != 0 ) { ?> |
">