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