Exemplo n.º 1
0
		<?php 
    }
    ?>
		
		<!-- End Pagination -->
		
		
		<?php 
    /** start the product loop here */
    ?>
		<?php 
    while (wpsc_have_products()) {
        wpsc_the_product();
        ?>
			<?php 
        if (wpsc_category_transition()) {
            ?>
		  	<h3 class='wpsc_category_boundary'>
		    <?php 
            echo wpsc_current_category_name();
            ?>
				</h3>
			<?php 
        }
        ?>
			<div class="productdisplay default_product_display product_view_<?php 
        echo wpsc_the_product_id();
        ?>
 <?php 
        echo wpsc_category_class();
        ?>
		
		
		<!-- Start Pagination -->
		<?php if ( ( get_option( 'use_pagination' ) == 1 && ( get_option( 'wpsc_page_number_position' ) == 1 || get_option( 'wpsc_page_number_position' ) == 3 ) ) ) : ?>
			<div class="wpsc_page_numbers">
				<?php if ( wpsc_has_pages() ) : ?>
					Pages: <?php echo wpsc_first_products_link( '&laquo; First', true ); ?> <?php echo wpsc_previous_products_link( '&laquo; Previous', true ); ?> <?php echo wpsc_pagination( 10 ); ?> <?php echo wpsc_next_products_link( 'Next &raquo;', true ); ?> <?php echo wpsc_last_products_link( 'Last &raquo;', true ); ?>
				<?php endif; ?>
			</div>
		<?php endif; ?>		
		<!-- End Pagination -->
		
		
		<?php /** start the product loop here */?>
		<?php while (wpsc_have_products()) :  wpsc_the_product(); ?>
			<?php if(wpsc_category_transition()) :?>
		  	<h3 class='wpsc_category_boundary'>
		    <?php echo wpsc_current_category_name(); ?>
				</h3>
			<?php endif; ?>
			<div class="productdisplay default_product_display product_view_<?php echo wpsc_the_product_id(); ?> <?php echo wpsc_category_class(); ?>">      
				<div class="textcol">
				
					<?php if(get_option('show_thumbnails')) :?>
						<div class="imagecol">
							<?php if(wpsc_the_product_thumbnail()) :?>
								<a rel="<?php echo str_replace(array(" ", '"',"'", '&quot;','&#039;'), array("_", "", "", "",''), wpsc_the_product_title()); ?>" class="thickbox preview_link" href="<?php echo wpsc_the_product_image(); ?>">
									<img class="product_image" id="product_image_<?php echo wpsc_the_product_id(); ?>" alt="<?php echo wpsc_the_product_title(); ?>" title="<?php echo wpsc_the_product_title(); ?>" src="<?php echo wpsc_the_product_thumbnail(); ?>"/>
								</a>
							<?php else: ?>
								<div class="item_no_image">