Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php get_sidebar('leftsidebar'); ?>
- <div id="content-obal">
- <?php get_sidebar('rightsidebar'); ?>
- <div id="content" class="indexcontent">
- <h1 class="h1-index"><a href="http://pokerak.cz/category/aktuality/">Aktuality</a> </h1>
- <?php $my_query = new WP_Query('category_name=aktuality,turnajove-zpravodajstvi&posts_per_page=1');
- while ($my_query->have_posts()) : $my_query->the_post();
- $do_not_duplicate = $post->ID;?>
- <div class="post-index" id="post-<?php the_ID(); ?>">
- <h2><a href="<?php the_permalink() ?>" title="Trvalý odkaz k <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
- <div class="entry">
- <?php the_content(' Číst celý příspěvek'); ?>
- </div>
- </div>
- <?php endwhile; ?>
- <ul class="post-index-seznam"> <!-- Do other stuff... -->
- <?php query_posts('category_name=aktuality,turnajove-zpravodajstvi&posts_per_page=12');
- if (have_posts()) : while (have_posts()) : the_post();
- if( $post->ID == $do_not_duplicate ) continue; ?>
- <li class="post-index-li" id="post-<?php the_ID(); ?>">
- <h3><a href="<?php the_permalink() ?>" title="Trvalý odkaz k <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
- </li>
- <?php endwhile; endif; ?>
- </ul>
- <?php wp_reset_query();
- ?>
- <h1 class="h1-index"><a href="http://pokerak.cz/category/pokerove-strategie/">Strategie</a> </h1>
- <?php $my_query = new WP_Query('cat=-7340,-161&posts_per_page=4');
- while ($my_query->have_posts()) : $my_query->the_post();
- $do_not_duplicate[] = $post->ID;?>
- <div class="post-index" id="post-<?php the_ID(); ?>">
- <h2><a href="<?php the_permalink() ?>" title="Trvalý odkaz k <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
- <div class="entry">
- <?php the_content(' Číst celý příspěvek'); ?>
- </div>
- </div>
- <?php endwhile; ?>
- <ul class="post-index-seznam"> <!-- Do other stuff... -->
- <?php if (have_posts()) : while (have_posts()) : the_post();
- if (in_array($post->ID, $do_not_duplicate)) continue;
- ?>
- <li class="post-index-li" id="post-<?php the_ID(); ?>">
- <h3><a href="<?php the_permalink() ?>" title="Trvalý odkaz k <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
- </li>
- <?php endwhile; endif; ?>
- </ul>
- <div class="post">
- <h2><a href="http://pokerak.cz/poker-kalkulator/" alt="Rozšířený a detailnější kalkulátor">ODDS kalkulátor</a></h2>
- <!-- Tool Start -->
- <div style="width:383px;">
- <iframe src="http://www.pokerlistings.com/odds-calculator-383x160" width="383" height="170" frameborder=0 scrolling="no" marginwidth="0"></iframe>
- </div>
- <!-- Tool End -->
- </div>
- </div>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement