author | hurons@caf4f556-3d62-0410-8435-a86758001935 |
Mon, 01 Feb 2010 15:57:02 +0000 | |
branch | wordpress |
changeset 125 | 6d47ba214f30 |
parent 123 | 561aa6d282f6 |
permissions | -rw-r--r-- |
109 | 1 |
<?php get_header(); ?> |
2 |
<div class="column span-17 colborder first" id="maincontent"> |
|
3 |
<div class="content"> |
|
4 |
|
|
5 |
<?php if (have_posts()) : ?> |
|
6 |
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> |
|
7 |
||
8 |
<?php /* If this is a category archive */ if (is_category()) { ?> |
|
9 |
|
|
10 |
<?php if( function_exists(page2cat_output)){ page2cat_output($cat);} ?> |
|
11 |
|
|
12 |
<?php /* If this is a daily archive */ } elseif (is_day()) { ?> |
|
13 |
<h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2> |
|
14 |
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?> |
|
15 |
<h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2> |
|
16 |
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?> |
|
17 |
<h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2> |
|
18 |
<?php /* If this is an author archive */ } elseif (is_author()) { ?> |
|
19 |
<h2 class="pagetitle">Author Archive</h2> |
|
20 |
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> |
|
21 |
<h2 class="pagetitle">Blog Archives</h2> |
|
22 |
<?php } ?> |
|
123
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
23 |
|
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
24 |
<?php /* If this is a tag archive */ if (is_tag()) { ?> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
25 |
<div id="p2c-header"> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
26 |
<h2 >Mot-clef : <?php single_tag_title(); ?></h2> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
27 |
</div> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
28 |
<?php echo(tag_description()); ?> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
29 |
<?php } ?> |
561aa6d282f6
pre production version :
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
109
diff
changeset
|
30 |
|
109 | 31 |
<div class="navigation"> |
32 |
<div class="alignleft"><?php next_posts_link('« Précédent') ?></div> |
|
33 |
<div class="alignright"><?php previous_posts_link('Suivant »') ?></div> |
|
34 |
</div> |
|
35 |
<div> </div |
|
36 |
|
|
37 |
<?php while (have_posts()) : the_post(); ?> |
|
38 |
<?php getPost(); ?> |
|
39 |
<?php endwhile; ?> |
|
40 |
|
|
41 |
<div class="navigation"> |
|
42 |
<div class="alignleft"><?php next_posts_link('« Précédent') ?></div> |
|
43 |
<div class="alignright"><?php previous_posts_link('Suivant »') ?></div> |
|
44 |
</div> |
|
45 |
<?php else : ?> |
|
46 |
<h2 class="center">Not Found</h2> |
|
47 |
<?php include (TEMPLATEPATH . '/searchform.php'); ?> |
|
48 |
<?php endif; ?> |
|
49 |
</div> |
|
50 |
</div> |
|
51 |
<div class="column span-5 last"> |
|
52 |
<?php include (TEMPLATEPATH . '/sidebar_single.php'); ?> |
|
53 |
</div> |
|
54 |
<hr></hr> |
|
55 |
<?php get_sidebar(); ?> |
|
56 |
<?php get_footer(); ?> |