Listing 2664
Submitted by anonymous user, 2 February 2010
get_header(); <div id="content"> if (have_posts()) : if (is_home()) { query_posts("cat=15&showposts=1"); } while (have_posts()) : the_post(); <div class="post" id="post- the_ID(); "> <h2><a href=" the_permalink() " rel="bookmark" title="Permanent Link to the_title(); "> the_title(); </a></h2> <div class="info"> </div> <div class="entry"> the_content('Read the rest of this entry »'); </div> <div class="tags"> the_tags(' ', ', ', ''); </div> </div> <!--/post --> endwhile; if (is_home()) { query_posts('cat=1&showposts=3'); } $posts=get_posts(’category=1&numberposts=3&offset=0′); foreach ($posts as $post) : start_wp(); <a href=" the_permalink() " title="Dettagli"><img src=" $key="immagine_post"; echo get_post_meta($post->ID, $key, true); "/></a> the_content('Read the rest of this entry »'); endforeach; <div class="navigation"> <span class="previous-entries"> next_posts_link('Previous Entries') </span> <span class="next-entries"> previous_posts_link('Next Entries') </span> </div> else : <h2>Not Found</h2> <p>Sorry, but you are looking for something that isn't here.</p> endif; </div> <!--/content --> get_sidebar(); get_footer();

