[1] | 1 | <?php get_header(); ?>
|
---|
[141] | 2 |
|
---|
[150] | 3 |
|
---|
| 4 | <div id="xpress_wrap">
|
---|
| 5 | <?php
|
---|
| 6 | if(xpress_is_theme_sidebar_disp()) {
|
---|
| 7 | echo '<div id="xpress_content" class="narrowcolumn">';
|
---|
| 8 | } else {
|
---|
| 9 | echo '<div id="xpress_content" class="narrowcolumn_nonside">';
|
---|
| 10 | }
|
---|
| 11 | ?>
|
---|
[140] | 12 | <?php if (have_posts()) : ?>
|
---|
| 13 | <div class="xpress-navi-bar">
|
---|
| 14 | <?php if(function_exists('wp_pagenavi')) : ?>
|
---|
| 15 | <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
|
---|
| 16 | <?php else : ?>
|
---|
[143] | 17 | <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div>
|
---|
| 18 | <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div>
|
---|
[140] | 19 | <?php endif; ?>
|
---|
| 20 | </div>
|
---|
| 21 |
|
---|
| 22 | <?php while (have_posts()) : the_post(); ?>
|
---|
[1] | 23 |
|
---|
[140] | 24 | <div class="xpress-post" id="post-<?php the_ID(); ?>">
|
---|
| 25 | <div class ="xpress-post-header">
|
---|
| 26 | <?php if (function_exists('hotDates')) { hotDates(); }?>
|
---|
| 27 | <div class ="xpress-post-title">
|
---|
[150] | 28 | <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
|
---|
[140] | 29 | </div>
|
---|
| 30 | </div>
|
---|
| 31 | <div class="xpress-post-entry">
|
---|
| 32 | <?php xpress_the_content(__('Read the rest of this entry »') ); ?>
|
---|
| 33 | </div>
|
---|
[147] | 34 | <div class="xpress-link-pages"><?php wp_link_pages() ?></div>
|
---|
[140] | 35 | <div class ="xpress-post-footer">
|
---|
| 36 | <?php
|
---|
| 37 | the_time('Y/m/d l');
|
---|
| 38 | echo ' - ';
|
---|
| 39 | the_author_posts_link();
|
---|
| 40 | echo ' (' . xpress_post_views_count($post->ID,__('Views :%d', 'xpress'),false) . ')';
|
---|
| 41 | echo ' | ';
|
---|
| 42 | // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
|
---|
| 43 | printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
|
---|
| 44 | echo ' | ';
|
---|
| 45 | edit_post_link(__('Edit', 'xpress'), '', ' | ');
|
---|
| 46 | comments_popup_link(__('No Comments »', 'xpress'), __('1 Comment »', 'xpress'), __('% Comments »', 'xpress'), '', __('Comments Closed', 'xpress') );
|
---|
| 47 | ?>
|
---|
| 48 | </div>
|
---|
[1] | 49 | </div>
|
---|
| 50 |
|
---|
[140] | 51 | <?php endwhile; ?>
|
---|
| 52 |
|
---|
| 53 | <div class="xpress-navi-bar">
|
---|
| 54 | <?php if(function_exists('wp_pagenavi')) : ?>
|
---|
| 55 | <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
|
---|
| 56 | <?php else : ?>
|
---|
[143] | 57 | <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div>
|
---|
| 58 | <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div>
|
---|
[140] | 59 | <?php endif; ?>
|
---|
[1] | 60 | </div>
|
---|
[140] | 61 |
|
---|
[1] | 62 | <?php else : ?>
|
---|
| 63 |
|
---|
[140] | 64 | <h2 class="center"><?php _e('Not Found', 'xpress'); ?></h2>
|
---|
| 65 | <p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'xpress'); ?></p>
|
---|
| 66 | <?php include (get_template_directory() . "/searchform.php"); ?>
|
---|
[1] | 67 |
|
---|
[140] | 68 | <?php endif; ?>
|
---|
[1] | 69 | </div>
|
---|
[140] | 70 | </div>
|
---|
| 71 | <?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
|
---|
[163] | 72 |
|
---|
[1] | 73 | <?php get_footer(); ?>
|
---|