</div>

<div id="sidebar">

<ul>

<?php if (is_single() or is_author() ) { ?>
	<li>
	<h2>Post Author</h2>
	<ul>
		<li><?php the_author_posts_link(); ?><br /><a href="<?php the_author_url() ?>"><img src="/images/<?php the_author_lastname(); ?>.png" alt="<?php the_author(); ?>" title="<?php the_author(); ?>" /></a><?php if (is_author()) {?><br /><?php the_author_description();} ?><br /><a href="/irc-channel/" title="Enter IRC channels">Contact us</a> (<a href="http://schestowitz.com/PGP/" title="PGP Key">encrypted/PGP</a>)<br /><a href="http://schestowitz.com" title="Homepage"><img src="/images/buttons/homepage.png" alt="Homepage" /></a> <a href="http://identi.ca/schestowitz" title="Follow me on Identica"><img src="/images/buttons/identica.png" alt="Identica" /></a>  <a href="http://joindiaspora.com/u/schestowitz" title="Follow me on Diaspora"><img src="/images/buttons/diaspora.png" alt="Diaspora" /></a> <a href="http://www.youtube.com/schestowitz" title="Follow me on YouTube"><img src="/images/buttons/youtube.png" alt="YouTube" /></a> <a href="http://www.linkedin.com/pub/dr-roy-schestowitz/2/b41/720" title="LinkedIn"><img src="/images/buttons/linkedin.png" alt="LinkedIn" /></a></li>
	</ul>
	</li>
<iframe style="width:415px; height:722px; border:4px double gray; box-shadow: 5px 5px 5px #222;"  src="https://widget.mibbit.com/?settings=22041f31cac0adf2d1959cdc21aed853&customprompt=Welcome%20to%20Techrights%20IRC%20Network&customloading=Loading%20Techrights%20Chat&server=irc.techrights.org&nick=techrights_guest_%3F%3F%3F&channel=%23techrights" > </iframe>
<!-- iframe src="https://kiwiirc.com/nextclient/irc.techrights.org/?nick=techrights|?#techrights" style="width:225px; height:760px; border:4px double gray; box-shadow: 5px 5px 5px #222;" ></iframe -->    
<?php } else { ?>
	<li id="about">
		<h2>Editors</h2>
		<p>		
	<a href="/author/schestowitz/">Dr. Roy Schestowitz</a><br />
	<a href="/author/guest/">Guest Editorial Team</a><br />
<b>Community</b>: <a href="/irc-channel/">Get involved</a>
                </p>

	</li> 
<?php }?>

<li id="new">
                <h2>Supporting the Efforts</h2>
                <ul><li>
<a href="http://techrights.org/donate/">Support Techrights</a><br />
<a href="http://techrights.org/donate/"><img src="http://techrights.org/wp-content/uploads/2011/06/techrights-donate.jpg" alt="Techrights button" title="Donate to Techrights" /></a>
                </li>
<li>
<a href="http://bytesmedia.co.uk">Spread TechBytes</a><br />
<a href="http://bytesmedia.co.uk"><img src="http://techrights.org/wp-content/uploads/2011/06/techbytes-banner.jpg" alt="TechBytes" title="TechBytes" /></a>
                </li>



</ul>
        </li>


<?php if (is_home()) { 
if(function_exists('fp_get_recent_comments')) {
?>
<li id="recent_comments">
<h2>Recent Comments</h2>

<?php echo fp_get_recent_comments(7, 7, 5, 0); ?>

</li>
<?php } //end if func_exists ?>
<?php } //end if is_home ?>

	
	<?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
	<li id="search">

	<div style="text-align: center;">
		<?php include (TEMPLATEPATH . '/searchform.php'); ?>
	</div>

   <form method="get" action="http://www.google.com/custom">
	<br/>
	<div style="text-align: center;">
	<input type="text" name="q" size="20" maxlength="255" value="" /><br/>
	<input type="submit" name="sa" value="Google &rsaquo;" />
	<input type="hidden" name="sitesearch" value="techrights.org" />
	<input type="hidden" name="client" value="pub-2479740519054892"></input>

	<input type="hidden" name="forid" value="1"></input>
	<input type="hidden" name="ie" value="ISO-8859-1"></input>
	<input type="hidden" name="oe" value="ISO-8859-1"></input>
	<input type="hidden" name="cof" value="GALT:#999999;GL:1;DIV:#336699;VLC:999999;AH:center;BGC:FFFFFF;LBGC:999999;ALC:666666;LC:666666;T:000000;GFNT:333333;GIMP:333333;LH:50;LW:50;L:http://techrights.org/techrights-search.png;S:http://schestowitz.com;FORID:1;"></input>
	<input type="hidden" name="hl" value="en"></input>
	</div>
   </form>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Google search produces more<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;relevant results, whereas<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;normal search places recent<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ones first. <a href="http://techrights.org/search/">Advanced search</a>


	</li> 


	<?php if (function_exists('vote_poll') && !$in_pollsarchive): ?>
	<li id="polls">
   		<h2>Polls</h2>
   		<ul>
      		<li><?php get_poll();?></li>
   		</ul>
   		<?php// display_polls_archive_link(); ?>
	</li>
	<?php endif; ?>

<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
	<li id="archives">
		<h2><?php _e('Archives'); ?></h2>
		<ul>
		<?php wp_get_archives('type=monthly'); ?>
		</ul>
	</li>
	<li id="calendar"><div>
		<?php get_calendar(); ?>
	</div></li>
	
	<?php if (function_exists('wp_theme_switcher')) { ?>
	<li>
		<h2><?php _e('Themes'); ?></h2>
		<?php wp_theme_switcher(); ?>
	</li>
	<?php } ?>
		
	<?php if (is_home()) { get_links_list(); } ?>
				
			<li><h2>Categories</h2>
				<ul>
				<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
				</ul>
			</li>


	<li id="meta">

		<h2><?php _e('Meta'); ?></h2>
		<ul>
		<?php wp_register(); ?>
		<li><?php wp_loginout(); ?></li>
		<li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
		<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
		<li><a href="http://wordpress.org" title="<?php _e('Powered by Wordpress, state-of-the-art semantic personal publishing platform.'); ?>">Wordpress</a></li>
		<?php wp_meta(); ?>
		</ul>
	</li>

	
<?php endif; ?>
</ul>
</div>
