All pastes #728938 Raw Edit

Stuff

public text v1 · immutable
·published 2007-10-07 14:46 UTC
rendered paste body
<? // LEFT SIDEBAR ?>



<div id="leftsidebar">

<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>

		<ul>

                       <ul>

                       <?php get_calendar(); ?>

                       </ul>

                       		

			

		       <li><h2><?php _e('Recent entries'); ?></h2>

		       <ul>

		       <?php get_archives('postbypost','8','html'); ?>  

		       </ul>

		       </li>

                       <li><h2><?php _e('Categories'); ?></h2>

		       <ul>

	<?php wp_list_cats('sort_column=name&hide_empty=0&optioncount=0&hierarchical=1'); ?>

		        </ul>

			</li>

                        <li><h2><?php _e('Search'); ?></h2>

				<?php include (TEMPLATEPATH . '/searchform.php'); ?>

			</li>

                        

			<li>

			<?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 } ?>

			</li>

<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>			

                <?php } ?>          

		</ul>

<?php endif; ?>

</div>

<? // END LEFT SIDEBAR ?>







<? // RIGHT SIDEBAR ?>	

	<div id="rightsidebar">

<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>

		<ul>

	

<li><a title="Subscribe to my RSS feed." href="feed:<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/rss2.gif" alt="" /></a></li>

	

			<li><h2><?php _e('Sidenotes'); ?></h2>

                    <ul>

<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque sollicitudin. Sed augue. Sed sagittis. Phasellus consequat venenatis lectus.</p>

	           </ul>

                       </li>

                        <li><h2><?php _e('Archives'); ?></h2>

				<ul>

				<?php wp_get_archives('type=monthly'); ?>

				</ul>

			</li>

<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>						

		

                        <li><h2><?php _e('links'); ?></h2>

				<ul>

<?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', FALSE, FALSE, -1, FALSE); ?>

				</ul>

<ol>
<?php wp_list_bookmarks('between=<br />&show_images=0&orderby=id&show_rating=1&show_updated=1'); ?>
</ol>


			</li>

			<li><h2><?php _e('Meta'); ?></h2>

				<ul>

					<?php wp_register(); ?>

					<li><?php wp_loginout(); ?></li>

					

					<li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>">WP</a></li>

					<?php wp_meta(); ?>

				</ul>

			</li>



<?php } ?>

</ul>

<?php endif; ?>

</div>

<? // END RIGHT SIDEBAR ?>