[1] | 1 | <?php get_header(); ?>
|
---|
| 2 |
|
---|
[168] | 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()) : ?>
|
---|
[150] | 12 |
|
---|
[168] | 13 | <?php while (have_posts()) : the_post(); ?>
|
---|
| 14 | <div class="xpress-navi-bar">
|
---|
| 15 | <div class="alignleft"><?php xpress_left_arrow_post_link(true); ?></div>
|
---|
| 16 | <div class="alignright"><?php xpress_right_arrow_post_link(true); ?></div>
|
---|
[143] | 17 | </div>
|
---|
[1] | 18 |
|
---|
[168] | 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 | <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>
|
---|
| 24 | </div>
|
---|
| 25 | </div>
|
---|
| 26 |
|
---|
| 27 | <div class="xpress-post-entry">
|
---|
| 28 | <?php the_content('<p class="serif">' . __('Read the rest of this entry »', 'xpress') . '</p>'); ?>
|
---|
| 29 | </div>
|
---|
| 30 |
|
---|
| 31 | <div class="xpress-link-pages"><?php wp_link_pages() ?></div>
|
---|
| 32 |
|
---|
| 33 | <div class ="xpress-post-footer">
|
---|
| 34 | <?php
|
---|
| 35 | the_time('Y/m/d l');
|
---|
| 36 | echo ' - ';
|
---|
| 37 | the_author_posts_link();
|
---|
| 38 | echo ' (' . xpress_post_views_count($post->ID,__('Views :%d', 'xpress'),false) . ')';
|
---|
| 39 | echo ' | ';
|
---|
| 40 | // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
|
---|
| 41 | printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
|
---|
| 42 | echo ' | ';
|
---|
| 43 | edit_post_link(__('Edit', 'xpress'), '', ' | ');
|
---|
| 44 | comments_popup_link(__('No Comments »', 'xpress'), __('1 Comment »', 'xpress'), __('% Comments »', 'xpress'), '', __('Comments Closed', 'xpress') );
|
---|
| 45 | ?>
|
---|
| 46 | </div>
|
---|
| 47 |
|
---|
| 48 | <div id ="xpress-pings-block">
|
---|
| 49 | <h3><?php xpress_pings_number(__('No Trackback/Pingback', 'xpress'),__('One Trackback/Pingback', 'xpress'),__('% TrackBack/Pingback', 'xpress')) ?></h3>
|
---|
[176] | 50 | <p class="xpress_pings_status"><small>
|
---|
| 51 | <?php
|
---|
| 52 | if ('open' == $post->ping_status) {
|
---|
| 53 | printf(__('You can <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false));
|
---|
| 54 | } else {
|
---|
| 55 | _e('Pinging is currently not allowed.', 'xpress');
|
---|
| 56 | }
|
---|
| 57 | ?>
|
---|
| 58 | </small></p>
|
---|
| 59 | <?php xpress_pings_list(true) ?>
|
---|
[168] | 60 | </div>
|
---|
| 61 |
|
---|
| 62 | <div id ="xpress-comments-block">
|
---|
| 63 | <?php comments_template('', true); ?>
|
---|
| 64 | </div>
|
---|
| 65 | </div>
|
---|
| 66 |
|
---|
| 67 | <div class="xpress-navi-bar">
|
---|
| 68 | <div class="alignleft"><?php xpress_left_arrow_post_link(true) ?></div>
|
---|
| 69 | <div class="alignright"><?php xpress_right_arrow_post_link(true) ?></div>
|
---|
| 70 | </div>
|
---|
[150] | 71 |
|
---|
| 72 |
|
---|
[168] | 73 | <?php endwhile; ?>
|
---|
| 74 |
|
---|
| 75 | <div class="xpress-navi-bar">
|
---|
| 76 | <?php if(function_exists('wp_pagenavi')) : ?>
|
---|
| 77 | <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
|
---|
| 78 | <?php else : ?>
|
---|
| 79 | <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div>
|
---|
| 80 | <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div>
|
---|
| 81 | <?php endif; ?>
|
---|
[143] | 82 | </div>
|
---|
[168] | 83 |
|
---|
| 84 | <?php else : ?>
|
---|
| 85 | <p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p>
|
---|
| 86 | <?php endif; ?>
|
---|
[1] | 87 | </div>
|
---|
[168] | 88 | </div>
|
---|
[141] | 89 | <?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
|
---|
[168] | 90 |
|
---|
[1] | 91 | <?php get_footer(); ?>
|
---|
[168] | 92 |
|
---|