web/wp-content/themes/seoblogsystem/sidebar-1.php
author ymh <ymh.work@gmail.com>
Mon, 22 Mar 2010 16:36:28 +0100
changeset 5 ac511f1ccc8e
parent 1 0d28b7c10758
permissions -rw-r--r--
add hgignore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
0d28b7c10758 First commit
ymh
parents:
diff changeset
     1
<div class="column-left">
0d28b7c10758 First commit
ymh
parents:
diff changeset
     2
<?php include ('images/img.php'); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     3
						
0d28b7c10758 First commit
ymh
parents:
diff changeset
     4
		<?php 	/* Widgetized sidebar, if you have the plugin installed. */ ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     5
			<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
0d28b7c10758 First commit
ymh
parents:
diff changeset
     6
				<li><h2>Author</h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     7
				<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     8
			</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     9
			-->
0d28b7c10758 First commit
ymh
parents:
diff changeset
    10
			<?php if ( is_404() || is_category() || is_day() || is_month() ||
0d28b7c10758 First commit
ymh
parents:
diff changeset
    11
						is_year() || is_search() || is_paged() ) {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    12
			?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    13
		
0d28b7c10758 First commit
ymh
parents:
diff changeset
    14
			<?php /* If this is a 404 page */ if (is_404()) { ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    15
			<?php /* If this is a category archive */ } elseif (is_category()) { ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    16
			<p class="info-sidebar">You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    17
		
0d28b7c10758 First commit
ymh
parents:
diff changeset
    18
			<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    19
			<p class="info-sidebar">You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
0d28b7c10758 First commit
ymh
parents:
diff changeset
    20
			for the day <?php the_time('l, F jS, Y'); ?>.</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    21
		
0d28b7c10758 First commit
ymh
parents:
diff changeset
    22
			<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    23
			<p class="info-sidebar">You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
0d28b7c10758 First commit
ymh
parents:
diff changeset
    24
			for <?php the_time('F, Y'); ?>.</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    25
		
0d28b7c10758 First commit
ymh
parents:
diff changeset
    26
			<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    27
			<p class="info-sidebar">You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
0d28b7c10758 First commit
ymh
parents:
diff changeset
    28
			for the year <?php the_time('Y'); ?>.</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    29
		
0d28b7c10758 First commit
ymh
parents:
diff changeset
    30
			<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    31
			<p class="info-sidebar">You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives
0d28b7c10758 First commit
ymh
parents:
diff changeset
    32
			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>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    33
		
0d28b7c10758 First commit
ymh
parents:
diff changeset
    34
			<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    35
			<p class="info-sidebar">You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives.</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    36
		
0d28b7c10758 First commit
ymh
parents:
diff changeset
    37
			<?php } ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    38
	
0d28b7c10758 First commit
ymh
parents:
diff changeset
    39
		<?php }?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    40
		
0d28b7c10758 First commit
ymh
parents:
diff changeset
    41
			<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(__('Right Sidebar','theme857')) ) : else : ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    42
					
0d28b7c10758 First commit
ymh
parents:
diff changeset
    43
				<div class="widget widget_categories"><div class="widget-bg">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    44
					<div class="title">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    45
						<div><h2><?php _e('Categories','theme857'); ?></h2></div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    46
					</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    47
					<ul>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    48
						<?php wp_list_categories('show_count=1&title_li='); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    49
					</ul>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    50
				</div></div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    51
						
0d28b7c10758 First commit
ymh
parents:
diff changeset
    52
				<div class="widget widget_archive"><div class="widget-bg">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    53
					<div class="title">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    54
						<div><h2><?php _e('Archives','theme857'); ?></h2></div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    55
					</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    56
					<ul>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    57
						<?php wp_get_archives('type=monthly'); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    58
					</ul>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    59
				</div></div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    60
				
0d28b7c10758 First commit
ymh
parents:
diff changeset
    61
				<div class="widget widget_meta"><div class="widget-bg">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    62
					<div class="title">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    63
						<div><h2><?php _e('Meta','theme857'); ?></h2></div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    64
					</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    65
					<ul>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    66
						<?php wp_register(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    67
							<li><?php wp_loginout(); ?></li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    68
							
0d28b7c10758 First commit
ymh
parents:
diff changeset
    69
							<li><a href="http://www.w3.org/" title="This page The World Wide Web Consortium (W3C)"><abbr title="World Wide Web Consortium">W3C</abbr> Page</a></li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    70
							
0d28b7c10758 First commit
ymh
parents:
diff changeset
    71
							<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    72
							<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    73
						<?php wp_meta(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    74
					</ul>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    75
				</div></div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    76
						
0d28b7c10758 First commit
ymh
parents:
diff changeset
    77
			<?php endif; ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    78
	</div>