All pastes #385363 Raw Edit

Mine

public text v1 · immutable
·published 2007-03-07 20:40 UTC
rendered paste body
	<div id="sidebar">

		<ul>





			

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

			

			<h2>Shows</h2>

			<? if (function_exists('do_calendar')) { do_calendar(); }; ?>
			<br><br>
			<h2><a href="javascript:abrePlayer('home')">Ouça Agora</a></h2><br><br>

			<h2>Discos</h2>

			<ul>
			
				<li>
					<a href="javascript:abre_disco('seychas')">Seychelles</a>	
					<div id="disco_seychas" style="display: none;">					
					<br> 
					<br>
					<a style="text-decoration:none;" href="<?php bloginfo('url'); ?>?page_id=4"><img src="<?php bloginfo('url'); ?>/imagens/ninfa.jpg" ></a>
					
					<a href="<?php bloginfo('url'); ?>?page_id=3"><img src="<?php bloginfo('url'); ?>/imagens/ep.jpg" ></a>
					</div>					
					
								
				</li>
				<li>
					<a href="javascript:abre_disco('gustavo')">Gustavo Garde	</a>			
				</li>
				<div id="disco_gustavo" style="display: none;">					
					<br> 
					<br>
					<a style="text-decoration:none;" href="<?php bloginfo('url'); ?>?page_id=6"><img src="<?php bloginfo('url'); ?>/imagens/carruagem.jpg" ></a>
					
					<a href="<?php bloginfo('url'); ?>?page_id=7"><img src="<?php bloginfo('url'); ?>/imagens/sangra.jpg" ></a>
					<a href="<?php bloginfo('url'); ?>?page_id=10"><img src="<?php bloginfo('url'); ?>/imagens/ancestral.jpg" ></a>
				</div>	
				
			
			</ul>

<br>
			<h2><a href="<?php bloginfo('url'); ?>?cat=3">Vídeos</a></h2>
			<ul>			
			<?php
				$postslist = get_posts('numberposts=50&category=3');
				foreach ($postslist as $post) : start_wp(); ?>
				<li>
				<a href="<?php the_permalink(); ?>">
				<?php the_title(); ?>
				</a>    
				</li> 
				<?php endforeach; ?>
			
						
			</ul>


			
			
			
			<br><br>

			<li><h2><?php _e('Arquivos do Blog'); ?></h2>

				<ul>

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

				</ul>

			</li>

			

			

			

			

		</ul>

	</div>
	


	<script >

	
	
	
	
	function abre_disco(qual){
	
		
		d = document.getElementById("disco_"+qual).style.display;
			
		if(d=="none") {
			document.getElementById("disco_"+qual).style.display="";
					
		} else document.getElementById("disco_"+qual).style.display="none";

				
			
	
	
	}
	</script>