    
    <!-- Content Starts -->
    <div id="content" class="wrap archive-audio">
		<div class="col-left">
			<div id="main">
            
            <h2 class="arh"><?php single_cat_title() ?></h2>
            <?php
			
			$fetured_audio = get_option('woo_featured_audio');
			
			if($fetured_audio != ''){
			?>
            <div class="featured-tracks-holder">
            <h3><?php echo get_option('woo_featured_audio_heading'); ?></h3>
            <?php
			
			$fetured_audio = explode(',',$fetured_audio);
			
				foreach($fetured_audio as $id){
				
					global $wpdb;
					
					$parent_id = $wpdb->get_var("SELECT post_parent FROM $wpdb->posts WHERE ID = $id");

					?>
					<div class="featured-track">
                    <div class="featured-track-left">
                    <span class="styled-heading"><?php echo get_the_title($id); ?></span>
                    <?php _e('From the album','woothemes'); ?> <a href="<?php echo get_permalink($parent_id); ?>"><?php echo get_the_title($parent_id); ?></a>
                    </div>
					<?php echo woo_insert_player($id,310); ?>
                    
                    <div class="fix"></div>
                    </div>
                    
                   
				<?php
				}
				?>
				   
			</div>
               
            <?php
			}
			?>
			
           <?php if( get_option('woo_featured_audio_writeup') != '' ){ ?>
            
			<div class="info-text">
            
				<p><?php echo stripslashes(get_option('woo_featured_audio_writeup')); ?></p>
				
			</div>
			<div class="fix"></div>
            
            <?php } ?>
			
			<div class="col2">
            
            <h3><?php _e('Discography','woothemes'); ?></h3>  
              
            <?php if (have_posts()) : $count = 0; ?>
            <?php while (have_posts()) : the_post(); $count++; ?>
                                                                        
                <!-- Post Starts -->
                <div class="post wrap">

                    
                                       
                    <div class="post-content">
                    
                    <?php woo_get_image('image','140','140','audio-thumb');  ?>
                     
                    <span class="styled-heading"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></span>
                    <div><?php if(get_post_meta(get_the_id(),'release',true)){ echo __('Released','woothemes') . ' ' .get_post_meta(get_the_id(),'release',true); }?></div>
                    <br/>
                    <?php the_content(''); ?>
                    <a href="<?php the_permalink(); ?>"><?php _e('More &rarr;','woothemes') ?></a>
                    
                    </div>
                        

                </div>
                <div class="fix"></div>
                <!-- Post Ends -->


			<?php endwhile; else: ?>
                <p><?php _e('None found...','woothemes'); ?></p>
            <?php endif; ?> 
			
			</div>	
            
            <div class="col1 featured-download">
            
            <h3><?php _e('Downloads','woothemes'); ?></h3> 
						
			<?php
			
			$download_audio = get_option('woo_download_audio');
			
			if($download_audio != ''){
			?>
            <div class="featured-tracks-holder">
 			<div class="fix"></div>
            <?php
			
			$download_audio = explode(',',$download_audio);
			
				foreach($download_audio as $id){
				
					global $wpdb;
					$parent_id = $wpdb->get_var("SELECT post_parent FROM $wpdb->posts WHERE ID = $id");
				
					?>
					<div class="featured-track">
                    <div class="featured-track-left">
                    <span class="styled-heading"><a href="<?php echo wp_get_attachment_url($id); ?>"><?php echo get_the_title($id); ?></a></span>
                    <?php _e('From the album','woothemes'); ?> <a href="<?php echo get_permalink($parent_id); ?>"><?php echo get_the_title($parent_id); ?></a>
                    </div>
                    <div class="fix"></div>
                    </div>
                    
                   
				<?php
				}
				 
			 $cat_name = $wp_query->query_vars['category_name'];
			 $feed = get_category_feed_link(get_cat_id($cat_name));
			 if($feed != ''){
			 ?>
             <div class="title_link">
				<p><?php _e('Subscribe to our RSS feed','woothemes')?> <a href="<?php echo $feed; ?>" title="<?php _e('Feed','woothemes');?>"><?php _e('to hear about new tracks &rarr;','woothemes');?></a></p>
			</div>
            <?php } ?>
				   
			</div>
               
            <?php
			}
			?>
			
			</div>
                
            </div><!-- main ends -->
            
        </div><!-- .col-left ends -->

        <!-- Sidebar Starts -->
		<div id="sidebar" class="col-right">
		

			<?php dynamic_sidebar('sidebar'); ?>
						
		           
			
		</div>
		<!-- Sidebar Ends -->

    </div><!-- Content Ends -->