G2A Many GEOs
SHARE
TWEET

Post Últimas Notícias

a guest Oct 4th, 2011 130 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div id="content"><!-- Aqui começa a div content-->
  2.   <div id="content_ultimas_noticias"><!-- Aqui começa a div ultimas noticias-->
  3.     <div id="content_ultimas_noticias_conteudo"><!-- Aqui começa a div ultimas noticias conteudo-->
  4.  <ul>
  5.   <li>
  6.     <?php query_posts('showposts=1&category_name=ultimas noticias&offset=1');?>
  7.     <?php if (have_posts()): while (have_posts()) : the_post();?>
  8.            
  9.     <h1><a href="<?php the_Permalink()?>"><?php the_title();?></a></h1>
  10.                
  11.     <?php endwhile; else:?>
  12.     <?php endif;?>
  13.   </li>
  14.   <li>
  15.  <ul>
  16.   <li>
  17.     <?php query_posts('showposts=2&category_name=ultimas noticias&offset=2');?>
  18.     <?php if (have_posts()): while (have_posts()) : the_post();?>
  19.                    
  20.     <a href="<?php the_Permalink()?>"><?php the_title();?></a></li>
  21.                    
  22.         <?php endwhile; else:?>
  23.     <?php endif;?>
  24.                    
  25.  </ul>
  26.    </li>
  27.      <li>
  28.     <?php query_posts('showposts=1&category_name=ultimas noticias&offset=4');?>
  29.     <?php if (have_posts()): while (have_posts()) : the_post();?>
  30.                
  31.     <a href="<?php the_Permalink()?>">
  32.     <img src="<?php echo get_settings('home'); ?>/<?php $key="img";echo get_post_meta($post->ID,$key,true);?>"
  33.     alt="<?php the_title();?>" border="0" width="100" height="50" /></a>
  34.     <p class="lista"><a href="<?php the_Permalink()?>"><?php the_title();?></a></p>
  35.                
  36.     <?php endwhile; else:?>
  37.     <?php endif;?>                
  38.   </li>            
  39.  </ul>
  40.     </div><!--Aqui fecha a div ultimas noticias conteudo-->
  41.        <div id="content_ultimas_noticias_destaque"><!-- Aqui começa a div ultimas noticias destaque-->
  42.                  <?php query_posts('showposts=1&category_name=ultimas noticias'); ?>
  43.          <?php if (have_posts()): while (have_posts()) : the_post(); ?>
  44.                    
  45.          <span><a href="<?php the_Permalink()?>">Postado em <?php the_time('j M Y');?></a></span>
  46.          <a href="<?php the_Permalink()?>">
  47.          <img src="<?php echo get_settings('home'); ?>/<?php $key="img";echo get_post_meta($post->ID,$key,true);?>"
  48.          alt="<?php the_title();?>" border="0" width="350" height="175" /></a>
  49.          <p><a href="<?php the_Permalink()?>"><?php the_title();?></a></p>
  50.                  
  51.                  <?php endwhile; else:?>
  52.          <?php endif;?>
  53.     </div><!--Aqui fecha a div ultimas noticias destaque-->      
  54.        </div><!--Aqui fecha a div ultimas noticias-->
  55.  
RAW Paste Data
Ledger Nano X - The secure hardware wallet
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top