[1] | 1 | <?php get_header(); ?>
|
---|
| 2 |
|
---|
[141] | 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 | <div class="xpress-header-bar">
|
---|
| 12 | <div class="xpress-header-title">
|
---|
| 13 | <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
|
---|
| 14 | </div>
|
---|
| 15 | <div class="xpress-conditional-title">
|
---|
| 16 | ( <?php xpress_conditional_title();?> )
|
---|
| 17 | </div>
|
---|
| 18 | <div class="xpress-description">
|
---|
| 19 | <?php bloginfo('description'); ?>
|
---|
| 20 | </div>
|
---|
| 21 | <div class="xpress-operation-link">
|
---|
| 22 | <a href="<?php echo get_option('home'); ?>/"><?php _e('Mein Page','xpress')?></a>
|
---|
| 23 | <?php if(is_xpress_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?>
|
---|
| 24 | </div>
|
---|
| 25 | </div>
|
---|
| 26 | <hr class="xpress-border">
|
---|
[1] | 27 |
|
---|
| 28 | <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
---|
| 29 |
|
---|
[141] | 30 | <div class="xpress-navi-bar">
|
---|
[32] | 31 | <div class="alignleft"><?php xpress_left_arrow_post_link(true) ?></div>
|
---|
| 32 | <div class="alignright"><?php xpress_right_arrow_post_link(true) ?></div>
|
---|
[1] | 33 | </div>
|
---|
| 34 |
|
---|
[141] | 35 | <div class="xpress-post" id="post-<?php the_ID(); ?>">
|
---|
| 36 | <div class ="xpress-post-header">
|
---|
| 37 | <?php if (function_exists('hotDates')) { hotDates(); }?>
|
---|
| 38 | <div class ="xpress-post-title">
|
---|
| 39 | <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>
|
---|
| 40 | </div>
|
---|
| 41 | </div>
|
---|
[1] | 42 |
|
---|
[141] | 43 | <div class="xpress-post-entry">
|
---|
[64] | 44 | <?php the_content('<p class="serif">' . __('Read the rest of this entry »', 'xpress') . '</p>'); ?>
|
---|
[1] | 45 |
|
---|
[64] | 46 | <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'xpress') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
|
---|
| 47 | <?php echo '<p class="postmeta">' ;/* _e('Posted:', 'xpress'); echo ' '; the_author_posts_link(); echo '<br />' ; */?><?php if(function_exists('the_tags')) : ?><?php the_tags(__('Tags:', 'xpress') . ' ', ', ', '<br />'); ?><?php endif; ?><?php printf(__('Posted in %s', 'xpress'), get_the_category_list(' • ') . '</p>'); ?>
|
---|
[1] | 48 |
|
---|
| 49 | <p class="postmetadata alt">
|
---|
| 50 | <small>
|
---|
| 51 | <?php /* This is commented, because it requires a little adjusting sometimes.
|
---|
| 52 | You'll need to download this plugin, and follow the instructions:
|
---|
| 53 | http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
|
---|
[64] | 54 | /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); $time_since = sprintf(__('%s ago', 'xpress'), time_since($entry_datetime)); */ ?>
|
---|
| 55 | <?php printf(__('This entry was posted %1$s on %2$s at %3$s and is filed under %4$s.', 'xpress'), $time_since, get_the_time(__('l, F jS, Y', 'xpress')), get_the_time(), get_the_category_list(' • ')); ?>
|
---|
[1] | 56 | <?php if (function_exists('get_post_comments_feed_link')) : ?>
|
---|
[64] | 57 | <?php printf(__("You can follow any responses to this entry through the <a href='%s'>RSS 2.0</a> feed.", "xpress"), get_post_comments_feed_link()); ?>
|
---|
[1] | 58 | <?php else : ?>
|
---|
[64] | 59 | <?php _e('You can follow any responses to this entry through the', 'xpress'); ?><?php comments_rss_link('RSS 2.0'); ?><?php _e('feed.', 'xpress'); ?>
|
---|
[1] | 60 | <?php endif; ?>
|
---|
| 61 |
|
---|
| 62 | <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
---|
| 63 | // Both Comments and Pings are open ?>
|
---|
[64] | 64 | <?php printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?>
|
---|
[1] | 65 |
|
---|
| 66 | <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
|
---|
| 67 | // Only Pings are Open ?>
|
---|
[64] | 68 | <?php printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'xpress'), trackback_url(false)); ?>
|
---|
[1] | 69 |
|
---|
| 70 | <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
---|
| 71 | // Comments are open, Pings are not ?>
|
---|
[64] | 72 | <?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'xpress'); ?>
|
---|
[1] | 73 |
|
---|
| 74 | <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
|
---|
| 75 | // Neither Comments, nor Pings are open ?>
|
---|
[64] | 76 | <?php _e('Both comments and pings are currently closed.', 'xpress'); ?>
|
---|
[1] | 77 |
|
---|
[64] | 78 | <?php } edit_post_link(__('Edit this entry', 'xpress'),'','.'); ?>
|
---|
[1] | 79 |
|
---|
| 80 | </small>
|
---|
| 81 | </p>
|
---|
| 82 |
|
---|
| 83 | </div>
|
---|
| 84 | </div>
|
---|
| 85 |
|
---|
| 86 | <?php comments_template(); ?>
|
---|
| 87 |
|
---|
| 88 | <?php endwhile; else: ?>
|
---|
| 89 |
|
---|
[64] | 90 | <p><?php _e('Sorry, no posts matched your criteria.', 'xpress'); ?></p>
|
---|
[1] | 91 |
|
---|
| 92 | <?php endif; ?>
|
---|
[141] | 93 | <div class="xpress-navi-bar">
|
---|
| 94 | <div class="alignleft"><?php xpress_left_arrow_post_link(true) ?></div>
|
---|
| 95 | <div class="alignright"><?php xpress_right_arrow_post_link(true) ?></div>
|
---|
| 96 | </div>
|
---|
[1] | 97 |
|
---|
| 98 | </div>
|
---|
[141] | 99 | </div>
|
---|
| 100 | <?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
|
---|
| 101 | <hr class="xpress-border">
|
---|
[1] | 102 | <?php get_footer(); ?>
|
---|