Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header();?>
- <div id="reklam_header_alti">
- <div style="float: left;">
- <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?><?php endif; ?>
- </div>
- <div id="haftanin_oyunu">
- <div class="baslik_h"></div>
- <?php $postslist = get_posts('category_name=haftanin-oyunu&numberposts=1');foreach ($postslist as $post) : setup_postdata($post); ?>
- <div class="h_ic">
- <div class="h_oyun">
- <?php $values = get_post_custom_values("resim");if ( $values[0]!='') { ?>
- <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><img class="h-resim" src="<?php echo $values[0]; ?>" alt="<?php the_title(); ?>" /></a>
- <?php } else { ?>
- <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"> <img class="h-resim" src="<?php bloginfo('template_url'); ?>/grafik/resimyok.jpg" alt=""/></a>
- <?php } ?>
- <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
- <span class="kucultt"><?php if(function_exists('the_views')) { the_views(); } ?> kez oynandı<br />
- <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
- </span>
- </div>
- </div>
- <?php endforeach; ?>
- </div>
- </div>
- <?php include("sidebar.php");?>
- <div id="loper">
- <div id="en_yeni_oyunlar">
- <div class="baslik_y"></div>
- <div class="ic">
- <?php $postslist = get_posts('numberposts=8');foreach ($postslist as $post) : setup_postdata($post); ?>
- <div class="yeni_oyun">
- <?php $values = get_post_custom_values("resim");if ( $values[0]!='') { ?>
- <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><img class="ressim" src="<?php echo $values[0]; ?>" alt="<?php the_title(); ?>" /></a>
- <?php } else { ?>
- <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><img class="ressim" src="<?php bloginfo('template_url'); ?>/grafik/resimyok.jpg" alt="" /></a>
- <?php } ?>
- <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
- <span class="toplam_oynanan">
- <div style="float:left"><?php if(function_exists('the_views')) { the_views(); } ?> kez oynandı<br /></div>
- <div style="float:left"><?php if(function_exists('the_ratings')) { the_ratings(); } ?></div>
- </span>
- </div>
- <?php endforeach; ?>
- </div>
- </div>
- <!-- en yeni oyunlar -->
- <!-- en cok oynananlar -->
- <div id="encokoynanan">
- <div style="float: left; margin-left:10px;">
- <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(3) ) : else : ?><?php endif; ?>
- </div>
- <div id="enOynanan">
- <div class="baslik_n"></div>
- <div class="enic">
- <?php if (function_exists('get_most_viewed')): ?>
- <?php get_most_viewed('', 6); ?>
- <?php endif; ?>
- </div>
- </div>
- <!-- en cok oynananlar -->
- <!-- rastgele oyunlar -->
- <div style="margin-top: 15px;" id="en_yeni_oyunlar">
- <div class="baslik_rastgele"></div>
- <div class="ic">
- <?php $postslist = get_posts('numberposts=8&orderby=rand');foreach ($postslist as $post) : setup_postdata($post); ?>
- <div class="yeni_oyun">
- <?php $values = get_post_custom_values("resim");if ( $values[0]!='') { ?>
- <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"> <img class="ressim" src="<?php echo $values[0]; ?>" alt="<?php the_title(); ?>" /></a>
- <?php } else { ?>
- <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><img class="ressim" src="<?php bloginfo('template_url'); ?>/grafik/resimyok.jpg" alt="" /></a>
- <?php } ?>
- <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
- <span class="toplam_oynanan">
- <div style="float:left"><?php if(function_exists('the_views')) { the_views(); } ?> kez oynandı<br /></div>
- <div style="float:left"><?php if(function_exists('the_ratings')) { the_ratings(); } ?></div>
- </span>
- </div>
- <?php endforeach; ?>
- </div>
- </div>
- <!-- rastgele oyunlar -->
- </div><!-- loper -->
- <?php get_footer();?>
Add Comment
Please, Sign In to add comment