All pastes #174668 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-09-18 03:26 UTC
rendered paste body
	<div id="sidebar">
					
			<?php include (TEMPLATEPATH . '/searchform.php'); ?>
			
			<?php /* If this is a category archive */ if (is_category()) { ?>
			<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
			
			<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
			<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
			for the day <?php the_time('l, F jS, Y'); ?>.</p>
			
			<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
			<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
			for <?php the_time('F, Y'); ?>.</p>

      <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
			<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
			for the year <?php the_time('Y'); ?>.</p>
			
		 <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
			<p>You have searched the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
			for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>

			<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
			<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives.</p>

			<?php } ?>
		
		<ul>
			<li class="page_item"><a href="<?php bloginfo('url'); ?>">Home</a></li>
			<?php wp_list_pages('title_li=&depth=2'); ?>
			<li class="page_item"><a href="<?php bloginfo('url'); ?>/lazy-index.php">Illustration Gallery</a></li>
		</ul>
<br />


	<h2>Subscribe</h2>
		<form name="subscribe">
<p>Subscribe to this blog via <img align="absmiddle" src="<?php bloginfo("url") ?>/wp-content/themes/mm3/images/rss2.png" alt="RSS subscribe" /></p> <select name="feeds">
<option value="http://add.my.yahoo.com/rss?url=<?php bloginfo('url'); ?>/feed/">My Yahoo!</option>
<option value="http://my.msn.com/addtomymsn.armx?id=rss&amp;ut=<?php bloginfo('url'); ?>/feed/&ru=<?php bloginfo('url'); ?>">My MSN</option>
<option value="http://bloglines.com/sub/<?php bloginfo('url'); ?>/feed/">Bloglines</option>
<option value="http://newsgator.com/ngs/subscriber/subext.aspx?url=<?php bloginfo('url'); ?>/feed/">Newsgator</option>
<option value="http://client.pluck.com/pluckit/prompt.aspx?a=<?php bloginfo('url'); ?>/feed/">Pluck</option>
<option value="http://rojo.com/add-subscription?resource=<?php bloginfo('url'); ?>/feed/">Rojo</option>
</select><br /><p></p>
<input type="button" onclick="location=document.subscribe.feeds.options[document.subscribe.feeds.selectedIndex].value;" value="Subscribe">

</form>
			
		
		<br />
	
	
			<h2>Categories</h2>
						<ul>
						<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
						</ul>
			
		<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>				
				<ul>
				<?php get_links_list(); ?>
				</ul>
				
		<h2><?php _e('Admin'); ?></h2>
				<ul>
					<?php wp_register(); ?>
					<li><?php wp_loginout(); ?></li>					

		
			<?php } ?>
				
	</div>