[ Index ]
 

Code source de WordPress 2.1.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/wp-content/themes/default/ -> index.php (source)

   1  <?php get_header(); ?>
   2  
   3      <div id="content" class="narrowcolumn">
   4  
   5      <?php if (have_posts()) : ?>
   6  
   7          <?php while (have_posts()) : the_post(); ?>
   8  
   9              <div class="post" id="post-<?php the_ID(); ?>">
  10                  <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
  11                  <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
  12  
  13                  <div class="entry">
  14                      <?php the_content('Read the rest of this entry &raquo;'); ?>
  15                  </div>
  16  
  17                  <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
  18              </div>
  19  
  20          <?php endwhile; ?>
  21  
  22          <div class="navigation">
  23              <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
  24              <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
  25          </div>
  26  
  27      <?php else : ?>
  28  
  29          <h2 class="center">Not Found</h2>
  30          <p class="center">Sorry, but you are looking for something that isn't here.</p>
  31          <?php include  (TEMPLATEPATH . "/searchform.php"); ?>
  32  
  33      <?php endif; ?>
  34  
  35      </div>
  36  
  37  <?php get_sidebar(); ?>
  38  
  39  <?php get_footer(); ?>


Généré le : Fri Mar 30 19:41:27 2007 par Balluche grâce à PHPXref 0.7