Advertisement
Guest User

Untitled

a guest
Oct 29th, 2011
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.33 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <div id="destaque">
  4.   <?php if(function_exists("insert_post_highlights")) insert_post_highlights(); ?>
  5. </div>
  6. <div id="content">
  7.   <div id="Bannerbox"> <a href="https://www.facebook.com/pages/Game-Help-Brasil/219912251402961"><img src="images/banners/bannerface.jpg" width="650" height="80" align="absmiddle" /></a> </div>
  8.  
  9.   <!-- Tabs -->
  10.  
  11.   <div id="tabs">
  12.  
  13. <ul>
  14. <li><a href="#tabs-1">GH News</a></li>
  15. <li><a href="#tabs-2">+ Todas as Matérias</a></li>
  16. <li><a href="#tabs-3">+ Vistas</a></li>
  17. </ul>
  18.     <div id="tabs-1">
  19.     <?php query_posts('tag=materia'); ?>
  20.     <?php if (have_posts()) : ?>
  21.     <?php while (have_posts()) : the_post(); ?>
  22.     <div class="post" id="post-<?php the_ID(); ?>">
  23.         <div id="PostImage"><?php the_post_thumbnail('thumbnail'); ?></div>
  24.           <div id="PostCont">
  25.          <h2><a>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
  26.           <?php the_title(); ?>
  27.           </a></h2>
  28.         <div class="postmetadata">
  29.           <?php the_category(', ') ?>
  30.           :
  31.           <?php the_time(get_option('date_format')) ?>
  32.           às
  33.           <?php the_time(get_option('time_format')) ?>
  34.           </div>
  35.          <?php echo excerpt(20); ?>
  36.  
  37.         <div class="postmetadata">
  38.           <?php if( function_exists('the_tags') )
  39.                         the_tags(__('Tags: '), ', ', '');
  40.                 ?>
  41.           <?php edit_post_link('Edit', '', ' | '); ?>
  42.           <img src="images/ico_comment.png" width="24" height="14" /><?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
  43.         </div>
  44.       </div>
  45.     </div>
  46.       <?php endwhile; ?>
  47.       <div class="navigation">
  48.         <div style="text-align:left">
  49.           <?php next_posts_link('« Older Entries') ?>
  50.         </div>
  51.         <div style="text-align:right">
  52.           <?php previous_posts_link('Newer Entries »') ?>
  53.         </div>
  54.       </div>
  55.       <?php else : ?>
  56.       <h2 class="center">Nenhuma matéria encontrada</h2>
  57.       <p class="center">Desculpe-nos, fizemos alguma coisa errada por aqui.</p>
  58.       <?php endif; ?>
  59.  
  60.     </div>
  61.     <div id="tabs-2">
  62.     <?php query_posts(''); ?>
  63.          <?php if (have_posts()) : ?>
  64.       <?php while (have_posts()) : the_post(); ?>
  65.       <div class="post" id="post-<?php the_ID(); ?>">
  66.  
  67.       <h2><a>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
  68.           <?php the_title(); ?>
  69.           </a></h2>
  70.         <div class="postmetadata">
  71.           <?php the_category(', ') ?>
  72.           :
  73.           Publicado em
  74.           <?php the_time(get_option('date_format')) ?>
  75.           ,às
  76.           <?php the_time(get_option('time_format')) ?>
  77.           .</div>
  78.         <?php echo excerpt(15); ?>
  79.  
  80.       </div>
  81.       <?php endwhile; ?>
  82.       <div class="navigation">
  83.         <div style="text-align:left">
  84.           <?php next_posts_link('« Older Entries') ?>
  85.         </div>
  86.         <div style="text-align:right">
  87.           <?php previous_posts_link('Newer Entries »') ?>
  88.         </div>
  89.       </div>
  90.       <?php else : ?>
  91.       <h2 class="center">Nenhuma matéria encontrada</h2>
  92.       <p class="center">Desculpe-nos, fizemos alguma coisa errada por aqui.</p>
  93.       <?php endif; ?>
  94.     </div>
  95.     <div id="tabs-3">
  96.  
  97.  </div>
  98.   </div>
  99.  
  100.   <!-- Tabs -->
  101.  
  102. </div>
  103. <?php get_sidebar(); ?>
  104. <?php get_footer(); ?>
  105.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement