Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="eventy-box">
- <h2 class="right">Następne:</h2>
- <h2 class="left">Poprzednie:</h2>
- <div class="clear"></div>
- <div id="eventy">
- <?php $my_query = new WP_Query('showposts=2 & cat="event" & post_status=future,publish');
- while ($my_query->have_posts('post_status=future,publish')) : $my_query->the_post();
- $do_not_duplicate = $post->ID; ?>
- <div class="event">
- <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a><h3>
- <span><?php the_time('l, j F Y') ?> o godzinie <?php the_time('H:i'); ?></span>
- </div>
- <?php endwhile; ?>
- </div>
- </div>
- <div id="left">
- <?php get_sidebar( 'left' ); ?>
- </div>
- <div id="content">
- <div id="slider"><?php if (function_exists('easing_slider')){ easing_slider(); }; ?></div>
- <?php if (have_posts('showposts=5 & cat="-event"')) : while (have_posts()) : the_post();
- if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
- <div class="post" id="post-<?php the_ID(); ?>" >
- <div class="entry">
- <?php if ( has_post_thumbnail()) : ?>
- <div class="postthumb">
- <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" ><?php the_post_thumbnail('thumbnail'); ?></a>
- </div>
- <?php endif; ?>
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a><small><?php edit_post_link('Edytuj'); ?></small></h2><p class="postinf">w <?php the_category(', '); ?> <span> / <?php the_time('j F Y') ?> / </span></p>
- <?php the_excerpt(); ?>
- <!-- <?php echo get_the_tag_list(' Tagi: ',', ','');?> -->
- <div class="clear"></div>
- </div>
- </div>
- <?php $count++; ?>
- <?php endwhile; ?>
- <div class="clear"></div>
- <?php getpagenavi(); ?>
- <?php else : ?>
- <h1 class="title">Not Found</h1>
- <p>Sorry, but you are looking for something that isn't here.</p>
- <?php endif; ?>
- </div>
- <div id="right">
- <?php dynamic_sidebar( 'right' ); ?>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement