Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="content"><!-- Aqui começa a div content-->
- <div id="content_ultimas_noticias"><!-- Aqui começa a div ultimas noticias-->
- <div id="content_ultimas_noticias_conteudo"><!-- Aqui começa a div ultimas noticias conteudo-->
- <ul>
- <li>
- <?php query_posts('showposts=1&category_name=ultimas noticias&offset=1');?>
- <?php if (have_posts()): while (have_posts()) : the_post();?>
- <h1><a href="<?php the_Permalink()?>"><?php the_title();?></a></h1>
- <?php endwhile; else:?>
- <?php endif;?>
- </li>
- <li>
- <ul>
- <li>
- <?php query_posts('showposts=2&category_name=ultimas noticias&offset=2');?>
- <?php if (have_posts()): while (have_posts()) : the_post();?>
- <a href="<?php the_Permalink()?>"><?php the_title();?></a></li>
- <?php endwhile; else:?>
- <?php endif;?>
- </ul>
- </li>
- <li>
- <?php query_posts('showposts=1&category_name=ultimas noticias&offset=4');?>
- <?php if (have_posts()): while (have_posts()) : the_post();?>
- <a href="<?php the_Permalink()?>">
- <img src="<?php echo get_settings('home'); ?>/<?php $key="img";echo get_post_meta($post->ID,$key,true);?>"
- alt="<?php the_title();?>" border="0" width="100" height="50" /></a>
- <p class="lista"><a href="<?php the_Permalink()?>"><?php the_title();?></a></p>
- <?php endwhile; else:?>
- <?php endif;?>
- </li>
- </ul>
- </div><!--Aqui fecha a div ultimas noticias conteudo-->
- <div id="content_ultimas_noticias_destaque"><!-- Aqui começa a div ultimas noticias destaque-->
- <?php query_posts('showposts=1&category_name=ultimas noticias'); ?>
- <?php if (have_posts()): while (have_posts()) : the_post(); ?>
- <span><a href="<?php the_Permalink()?>">Postado em <?php the_time('j M Y');?></a></span>
- <a href="<?php the_Permalink()?>">
- <img src="<?php echo get_settings('home'); ?>/<?php $key="img";echo get_post_meta($post->ID,$key,true);?>"
- alt="<?php the_title();?>" border="0" width="350" height="175" /></a>
- <p><a href="<?php the_Permalink()?>"><?php the_title();?></a></p>
- <?php endwhile; else:?>
- <?php endif;?>
- </div><!--Aqui fecha a div ultimas noticias destaque-->
- </div><!--Aqui fecha a div ultimas noticias-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement