Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 20th, 2011  |  syntax: None  |  size: 2.69 KB  |  views: 32  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php get_header();
  2.  
  3. remove_action( 'parse_query', 'category_posts_per_page', 10, 1 );
  4.  
  5. ?>
  6.  
  7. <div id="main-content" class="main-content-slider">
  8.  
  9.         <?php if($theme_slider == "1") {} else { require('slider.php'); } ?>
  10. <style type="text/css">
  11. .auto-style1 {
  12.         text-align: center;
  13. }
  14. </style>
  15. <style type="text/css">
  16. .auto-style2 {
  17.         text-align: center;
  18. }
  19. </style>
  20. </head>
  21.  
  22. <body>
  23. <center>
  24. <script type="text/javascript"><!--
  25. google_ad_client = "ca-pub-7117280558028348";
  26. /* mmoskop orta yatay */
  27. google_ad_slot = "3713184454";
  28. google_ad_width = 468;
  29. google_ad_height = 60;
  30. //-->
  31. </script>
  32. <script type="text/javascript"
  33. src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  34. </script>
  35. </center>
  36.  
  37. <div class="auto-style1">
  38.  
  39. <p class="auto-style1">
  40. <img alt="navkategori" height="30" src="/wp-content/uploads/navkategori.png" width="603" /></p>
  41.  
  42.  
  43. <a href="http://www.mmoskop.com/mmoskop/sporoyunlari"><img alt="Spor Oyunları" height="80" src="/wp-content/uploads/sporoyunlari.jpg" width="195" /></a>
  44. <a href="http://www.mmoskop.com/mmoskop/boyun"><img alt="Tarayıcı Oyunları" height="80" src="/wp-content/uploads/browsertabanli.jpg" width="195" /></a>
  45. <a href="http://www.mmoskop.com/mmoskop/fantazi"><img alt="Fantazi" height="80" src="/wp-content/uploads/fantazi.jpg" width="195" /></a>
  46. <a href="http://www.mmoskop.com/mmoskop/3dmmo"><img alt="3d mmo" height="80" src="/wp-content/uploads/3dmmo.jpg" width="195" /></a>
  47. <a href="http://www.mmoskop.com/mmoskop/2dmmo"><img alt="2d mmo" height="80" src="/wp-content/uploads/2dmmo.jpg" width="195" /></a>
  48. <a href="http://www.mmoskop.com/mmoskop/savasaksiyon"><img alt="Savaş Aksiyon" height="80" src="/wp-content/uploads/savasaksiyon.jpg" width="195" /></a>
  49. <a href="http://www.mmoskop.com/mmoskop/sosyalmmorpg"><img alt="Sosyal Mmorpg" height="80" src="/wp-content/uploads/sosyalmmorpg.jpg" width="195" /></a>
  50. <a href="http://www.mmoskop.com/mmoskop/facebookoyunlari"><img alt="Facebook Oyunları" height="80" src="/wp-content/uploads/facebookoyunlari.jpg" width="195" /></a>
  51. <a href="http://www.mmoskop.com/mmoskop/mmorts"><img alt="Mmorts" height="80" src="/wp-content/uploads/mmorts.jpg" width="195" /></a>
  52.  
  53. </div>
  54. <div class="auto-style2">
  55. <p class="auto-style2">
  56. <img alt="navkategori2" height="30" src="/wp-content/uploads/navkategori2.png" width="603" /></p>
  57.  
  58. </div>
  59.  
  60. </body>
  61.  
  62.        
  63.         <div id="main-content" class="rounded">
  64.        
  65.                 <?php query_posts('paged='.$paged.'&cat='.$theme_home_cats); if (have_posts()) : while (have_posts()) : the_post(); ?>
  66.                
  67.                         <?php require('post.php'); ?>
  68.                
  69.                 <?php endwhile; ?>
  70.                
  71.                         <?php gp_pagination(); ?>
  72.                
  73.                 <?php endif; wp_reset_query(); ?>
  74.        
  75.         </div>
  76.  
  77. </div>
  78.  
  79. <?php get_footer(); ?>
  80.  
clone this paste RAW Paste Data