[613] | 1 | <?php get_header(); ?>
|
---|
| 2 |
|
---|
| 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 | ?>
|
---|
| 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 : ?>
|
---|
| 17 | <div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
|
---|
| 18 | <div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
|
---|
| 19 | <?php endif; ?>
|
---|
| 20 | </div>
|
---|
| 21 |
|
---|
| 22 | <?php while (have_posts()) : the_post(); ?>
|
---|
| 23 |
|
---|
| 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">
|
---|
| 28 | <?php if(function_exists('the_title_attribute')) : ?>
|
---|
| 29 | <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>
|
---|
| 30 | <?php else : ?>
|
---|
| 31 | <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title('','',false)); ?>"><?php the_title(); ?></a></h2>
|
---|
| 32 | <?php endif; ?>
|
---|
| 33 | </div>
|
---|
| 34 | </div>
|
---|
| 35 | <div class="xpress-post-entry">
|
---|
| 36 | <?php xpress_the_content(); ?>
|
---|
| 37 | </div>
|
---|
| 38 | <div class="xpress-link-pages"><?php wp_link_pages() ?></div>
|
---|
| 39 | <div class ="xpress-post-footer">
|
---|
| 40 | <?php
|
---|
| 41 | the_time('Y/m/d l');
|
---|
| 42 | echo ' - ';
|
---|
| 43 | the_author_posts_link();
|
---|
| 44 | echo ' (' . xpress_post_views_count('post_id=' . $post->ID . '&format=' . __('Views :%d', 'xpress'). '&echo=0') . ')';
|
---|
| 45 | echo ' | ';
|
---|
| 46 | // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
|
---|
| 47 | printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
|
---|
| 48 | echo ' | ';
|
---|
| 49 | edit_post_link(__('Edit', 'xpress'), '', ' | ');
|
---|
| 50 | comments_popup_link(__('No Comments »', 'xpress'), __('1 Comment »', 'xpress'), __('% Comments »', 'xpress'), '', __('Comments Closed', 'xpress') );
|
---|
| 51 | ?>
|
---|
| 52 | </div>
|
---|
| 53 | </div>
|
---|
| 54 |
|
---|
| 55 | <?php endwhile; ?>
|
---|
| 56 |
|
---|
| 57 | <div class="xpress-navi-bar">
|
---|
| 58 | <?php if(function_exists('wp_pagenavi')) : ?>
|
---|
| 59 | <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
|
---|
| 60 | <?php else : ?>
|
---|
| 61 | <div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
|
---|
| 62 | <div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
|
---|
| 63 | <?php endif; ?>
|
---|
| 64 | </div>
|
---|
| 65 |
|
---|
| 66 | <?php else : ?>
|
---|
| 67 |
|
---|
| 68 | <h2 class="center"><?php _e('Not Found', 'xpress'); ?></h2>
|
---|
| 69 | <p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'xpress'); ?></p>
|
---|
| 70 | <?php include (get_template_directory() . "/searchform.php"); ?>
|
---|
| 71 |
|
---|
| 72 | <?php endif; ?>
|
---|
| 73 | </div>
|
---|
| 74 | </div>
|
---|
| 75 | <?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
|
---|
| 76 |
|
---|
| 77 | <?php get_footer(); ?>
|
---|