initial
[esmvvd.git] / blog / wp-content / themes / vvd / sidebar.php
1 <?php
2 /**
3  * @package WordPress
4  * @subpackage Default_Theme
5  */
6 ?>
7         <div id="sidebar" role="complementary">
8                 <ul>
9                         <?php   /* Widgetized sidebar, if you have the plugin installed. */
10                                         if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
11
12                         <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
13                         <li><h2>Author</h2>
14                         <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
15                         </li>
16                         -->
17
18                         <?php if ( is_404() || is_category() || is_day() || is_month() ||
19                                                 is_year() || is_search() || is_paged() ) {
20                         ?> <li>
21
22                         <?php /* If this is a 404 page */ if (is_404()) { ?>
23                         <?php /* If this is a category archive */ } elseif (is_category()) { ?>
24                         <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
25
26                         <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
27                         <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog archives
28                         for the day <?php the_time('l, F jS, Y'); ?>.</p>
29
30                         <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
31                         <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog archives
32                         for <?php the_time('F, Y'); ?>.</p>
33
34                         <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
35                         <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog archives
36                         for the year <?php the_time('Y'); ?>.</p>
37
38                         <?php /* If this is a search result */ } elseif (is_search()) { ?>
39                         <p>You have searched the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog archives
40                         for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
41
42                         <?php /* If this set is paginated */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
43                         <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a> blog archives.</p>
44
45                         <?php } ?>
46
47                         </li>
48                 <?php }?>
49                 </ul>
50                 <ul role="navigation">
51
52 <li><a href='/blog'>Actualites</a></li>
53
54                         <?php wp_list_pages('title_li=' ); ?>
55
56
57                 </ul>
58                 <ul>
59                         <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
60
61                                 <li>
62                                 <ul>
63                                         <?php wp_register(); ?>
64                                         <li><?php wp_loginout(); ?></li>
65                                         <?php wp_meta(); ?>
66                                 </ul>
67                                 </li>
68                         <?php } ?>
69
70                         <?php endif; ?>
71                 </ul>
72                 <div id='sidebar-bottom'></div>
73         </div>
74