[613] | 1 | <?php get_header(); ?>
|
---|
| 2 |
|
---|
| 3 | <div id="xpress_wrap">
|
---|
| 4 | <?php
|
---|
| 5 | if(xpress_is_theme_sidebar_disp()) {
|
---|
| 6 | echo '<div id="xpress_content" class="narrowcolumn">';
|
---|
| 7 | } else {
|
---|
| 8 | echo '<div id="xpress_content" class="narrowcolumn_nonside">';
|
---|
| 9 | }
|
---|
| 10 | ?>
|
---|
| 11 | <?php if (have_posts()) : ?>
|
---|
| 12 |
|
---|
| 13 | <?php while (have_posts()) : the_post(); ?>
|
---|
| 14 | <div class="xpress-navi-bar">
|
---|
| 15 | <div class="alignleft"><?php xpress_left_arrow_post_link('echo=1'); ?></div>
|
---|
| 16 | <div class="alignright"><?php xpress_right_arrow_post_link('echo=1'); ?></div>
|
---|
| 17 | </div>
|
---|
| 18 |
|
---|
| 19 | <div class="xpress-post" id="post-<?php the_ID(); ?>">
|
---|
| 20 | <div class ="xpress-post-header">
|
---|
| 21 | <?php if (function_exists('hotDates')) { hotDates(); }?>
|
---|
| 22 | <div class ="xpress-post-title">
|
---|
| 23 | <?php if(function_exists('the_title_attribute')) : ?>
|
---|
| 24 | <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>
|
---|
| 25 | <?php else : ?>
|
---|
| 26 | <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'xpress'), the_title('','',false)); ?>"><?php the_title(); ?></a></h2>
|
---|
| 27 | <?php endif; ?>
|
---|
| 28 | </div>
|
---|
| 29 | </div>
|
---|
| 30 |
|
---|
| 31 | <div class="xpress-post-entry">
|
---|
| 32 | <?php the_content('<p class="serif">' . __('Read the rest of this entry »', 'xpress') . '</p>'); ?>
|
---|
| 33 | </div>
|
---|
| 34 |
|
---|
| 35 | <div class="xpress-link-pages"><?php wp_link_pages() ?></div>
|
---|
| 36 |
|
---|
| 37 | <div class ="xpress-post-footer">
|
---|
| 38 | <?php
|
---|
| 39 | the_time('Y/m/d l');
|
---|
| 40 | echo ' - ';
|
---|
| 41 | the_author_posts_link();
|
---|
| 42 | echo ' (' . xpress_post_views_count('post_id=' . $post->ID . '&format=' . __('Views :%d', 'xpress'). '&echo=0') . ')';
|
---|
| 43 | echo ' | ';
|
---|
| 44 | // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
|
---|
| 45 | printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
|
---|
| 46 | echo ' | ';
|
---|
| 47 | edit_post_link(__('Edit', 'xpress'), '', ' | ');
|
---|
| 48 | comments_popup_link(__('No Comments »', 'xpress'), __('1 Comment »', 'xpress'), __('% Comments »', 'xpress'), '', __('Comments Closed', 'xpress') );
|
---|
| 49 | ?>
|
---|
| 50 | </div>
|
---|
| 51 |
|
---|
| 52 | <div id ="xpress-pings-block">
|
---|
| 53 | <h3><?php xpress_pings_number('zero=' . __('No Trackback/Pingback', 'xpress'). '&one='. __('One Trackback/Pingback', 'xpress'). '&more=' . __('% TrackBack/Pingback', 'xpress')) ?></h3>
|
---|
| 54 | <p class="xpress_pings_status"><small>
|
---|
| 55 | <?php
|
---|
| 56 | if ('open' == $post->ping_status) {
|
---|
| 57 | printf(__('You can <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false));
|
---|
| 58 | } else {
|
---|
| 59 | _e('Pinging is currently not allowed.', 'xpress');
|
---|
| 60 | }
|
---|
| 61 | ?>
|
---|
| 62 | </small></p>
|
---|
| 63 | <?php xpress_pings_list('echo=1') ?>
|
---|
| 64 | </div>
|
---|
| 65 |
|
---|
| 66 | <div id ="xpress-comments-block">
|
---|
| 67 | <?php
|
---|
| 68 | if ( xpress_is_wp_version('<','2.7') )
|
---|
| 69 | comments_template();
|
---|
| 70 | else
|
---|
| 71 | comments_template('',true);
|
---|
| 72 | ?>
|
---|
| 73 | </div>
|
---|
| 74 | </div>
|
---|
| 75 |
|
---|
| 76 | <div class="xpress-navi-bar">
|
---|
| 77 | <div class="alignleft"><?php xpress_left_arrow_post_link('echo=1') ?></div>
|
---|
| 78 | <div class="alignright"><?php xpress_right_arrow_post_link('echo=1') ?></div>
|
---|
| 79 | </div>
|
---|
| 80 |
|
---|
| 81 |
|
---|
| 82 | <?php endwhile; ?>
|
---|
| 83 |
|
---|
| 84 | <div class="xpress-navi-bar">
|
---|
| 85 | <?php if(function_exists('wp_pagenavi')) : ?>
|
---|
| 86 | <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
|
---|
| 87 | <?php else : ?>
|
---|
| 88 | <div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
|
---|
| 89 | <div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
|
---|
| 90 | <?php endif; ?>
|
---|
| 91 | </div>
|
---|
| 92 |
|
---|
| 93 | <?php else : ?>
|
---|
| 94 | <p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p>
|
---|
| 95 | <?php endif; ?>
|
---|
| 96 | </div>
|
---|
| 97 | </div>
|
---|
| 98 | <?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
|
---|
| 99 |
|
---|
| 100 | <?php get_footer(); ?>
|
---|
| 101 |
|
---|