1 | <?php get_header(); ?>
|
---|
2 | <div id="xpress_wrap">
|
---|
3 | <?php
|
---|
4 | if(xpress_is_theme_sidebar_disp()) {
|
---|
5 | echo '<div id="xpress_content" class="narrowcolumn">';
|
---|
6 | } else {
|
---|
7 | echo '<div id="xpress_content" class="narrowcolumn_nonside">';
|
---|
8 | }
|
---|
9 | ?>
|
---|
10 |
|
---|
11 | <div id="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">
|
---|
27 | <?php if (have_posts()) : ?>
|
---|
28 | <div class="xpress-navi-bar">
|
---|
29 | <?php if(function_exists('wp_pagenavi')) : ?>
|
---|
30 | <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
|
---|
31 | <?php else : ?>
|
---|
32 | <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div>
|
---|
33 | <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div>
|
---|
34 | <?php endif; ?>
|
---|
35 | </div>
|
---|
36 |
|
---|
37 | <?php while (have_posts()) : the_post(); ?>
|
---|
38 |
|
---|
39 | <div class="xpress-post" id="post-<?php the_ID(); ?>">
|
---|
40 | <div class ="xpress-post-header">
|
---|
41 | <?php if (function_exists('hotDates')) { hotDates(); }?>
|
---|
42 | <div class ="xpress-post-title">
|
---|
43 | <h3><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>
|
---|
44 | </div>
|
---|
45 | </div>
|
---|
46 | <div class="xpress-post-entry">
|
---|
47 | <?php xpress_the_content(__('Read the rest of this entry »') ); ?>
|
---|
48 | </div>
|
---|
49 | <?php wp_link_pages() ?>
|
---|
50 | <div class ="xpress-post-footer">
|
---|
51 | <?php
|
---|
52 | the_time('Y/m/d l');
|
---|
53 | echo ' - ';
|
---|
54 | the_author_posts_link();
|
---|
55 | echo ' (' . xpress_post_views_count($post->ID,__('Views :%d', 'xpress'),false) . ')';
|
---|
56 | echo ' | ';
|
---|
57 | // echo the_tags(__('Tags:', 'xpress') . ' ', ', ', ' | ');
|
---|
58 | printf(__('Posted in %s', 'xpress'), get_the_category_list(', '));
|
---|
59 | echo ' | ';
|
---|
60 | edit_post_link(__('Edit', 'xpress'), '', ' | ');
|
---|
61 | comments_popup_link(__('No Comments »', 'xpress'), __('1 Comment »', 'xpress'), __('% Comments »', 'xpress'), '', __('Comments Closed', 'xpress') );
|
---|
62 | ?>
|
---|
63 | </div>
|
---|
64 | </div>
|
---|
65 |
|
---|
66 | <?php endwhile; ?>
|
---|
67 |
|
---|
68 | <div class="xpress-navi-bar">
|
---|
69 | <?php if(function_exists('wp_pagenavi')) : ?>
|
---|
70 | <div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
|
---|
71 | <?php else : ?>
|
---|
72 | <div class="alignleft"><?php xpress_left_arrow_posts_link(true); ?></div>
|
---|
73 | <div class="alignright"><?php xpress_right_arrow_posts_link(true); ?></div>
|
---|
74 | <?php endif; ?>
|
---|
75 | </div>
|
---|
76 |
|
---|
77 | <?php else : ?>
|
---|
78 |
|
---|
79 | <h2 class="center"><?php _e('Not Found', 'xpress'); ?></h2>
|
---|
80 | <p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'xpress'); ?></p>
|
---|
81 | <?php include (get_template_directory() . "/searchform.php"); ?>
|
---|
82 |
|
---|
83 | <?php endif; ?>
|
---|
84 | </div>
|
---|
85 | </div>
|
---|
86 | <?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>
|
---|
87 | <hr class="xpress-border">
|
---|
88 | <?php get_footer(); ?>
|
---|