Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content">
- <div class="postsbody">
- <?
- global $options;
- foreach ($options as $value) {
- if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
- }
- ?>
- <div class="ads1">
- <?php include (TEMPLATEPATH . '/adsense/adsense468-15.php'); ?>
- </div>
- <object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,1,1,0" width="640" height="256">
- <param name="src" value="http://skutocnepreklady.com/wp-content/uploads/social%20media%20banner/social%20media%20banner.swf" />
- <embed src="http://skutocnepreklady.com/wp-content/uploads/social%20media%20banner/social%20media%20banner.swf" pluginspage="http://www.adobe.com/shockwave/download/" width="640" height="256"></embed>
- </object>
- <div class="featured">
- <h2>Čo sa práve hrá v hitparádach </h2>
- <div style="padding:15px 0 15px 20px;">
- <?php $do_not_duplicate = array();
- $recent = new WP_Query("cat=-67&showposts=4"); while($recent->have_posts()) : $recent->the_post();
- $do_not_duplicate[] = $post->ID; ?>
- <div class="videopart">
- <div class="thumbnail">
- <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="<?php echo get_post_meta($post->ID, "thumb", true); ?>" width="120" height="90" alt="<?php the_title(); ?>" /></a>
- </div>
- <div class="fpost">
- <h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
- <p><?php if(function_exists('the_views')) { the_views(); } ?></p>
- <p><?php if(function_exists('the_ratings')) { the_ratings(); } ?></p>
- </div>
- </div>
- <?php endwhile; ?>
- </div>
- </div>
- <div class="ads2">
- <?php include (TEMPLATEPATH . '/adsense/adsense468-60.php'); ?>
- </div>
- <div class="featured">
- <h2>Všetko</h2>
- <div style="padding:15px 0 15px 20px;">
- <?php $args = array(
- 'post__not_in' => $do_not_duplicate,
- 'showposts' => 12,
- 'cat' => -67,
- 'orderby' => 'rand'
- );
- $recent = new WP_Query( $args ); while($recent->have_posts()) : $recent->the_post();?>
- <div class="videopart">
- <div class="thumbnail">
- <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="<?php echo get_post_meta($post->ID, "thumb", true); ?>" width="120" height="90" alt="<?php the_title(); ?>" /></a>
- </div>
- <div class="fpost">
- <h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
- <p><?php if(function_exists('the_views')) { the_views(); } ?></p>
- <p><?php if(function_exists('the_ratings')) { the_ratings(); } ?></p>
- </div>
- </div>
- <?php endwhile; ?>
- </div>
- </div>
- </div>
- <?php include (TEMPLATEPATH . '/sidebar_right.php'); ?>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement