function wpsc_has_pages_bottom()
{
    if (wpsc_has_pages() && (get_option('wpsc_page_number_position') == 2 || get_option('wpsc_page_number_position') == 3)) {
        return true;
    } else {
        return false;
    }
}
			<?php endwhile; ?>
			<?php /** end the product loop here */?>
		</table>
		
		
		<?php if(wpsc_product_count() < 1):?>
			<p><?php  echo __('There are no products in this group.', 'wpsc'); ?></p>
		<?php endif ; ?>

	<?php

	if(function_exists('fancy_notifications')) {
		echo fancy_notifications();
	}
	?>
		
		
		<!-- Start Pagination -->
		<?php if ( ( get_option( 'use_pagination' ) == 1 && ( get_option( 'wpsc_page_number_position' ) == 2 || get_option( 'wpsc_page_number_position' ) == 3 ) ) ) : ?>
			<div class="wpsc_page_numbers">
				<?php if ( wpsc_has_pages() ) : ?>
					<div class="pagination-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 ); ?></div>
				<?php endif; ?> 
			</div>
		<?php endif; ?>
		<!-- End Pagination -->
		
		
	<?php endif; ?>
</div>
Example #3
0
			<p><?php 
        echo TXT_WPSC_NOITEMSINTHISGROUP;
        ?>
</p>
		<?php 
    }
    ?>

	<?php 
    if (function_exists('fancy_notifications')) {
        echo fancy_notifications();
    }
    ?>

		<?php 
    if (wpsc_has_pages() && (get_option('wpsc_page_number_position') == 2 || get_option('wpsc_page_number_position') == 3)) {
        ?>
			<div class='wpsc_page_numbers'>
				Pages:
				<?php 
        while ($wpsc_query->have_pages()) {
            $wpsc_query->the_page();
            ?>
					<?php 
            if (wpsc_page_is_selected()) {
                ?>
 	   
					<a href='<?php 
                echo htmlentities(wpsc_page_url(), ENT_QUOTES);
                ?>
' class='selected'><?php 
    ?>

	<?php 
    if (function_exists('fancy_notifications')) {
        echo fancy_notifications();
    }
    ?>
		
		
		<!-- Start Pagination -->
		<?php 
    if (get_option('use_pagination') == 1 && (get_option('wpsc_page_number_position') == 2 || 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 if((get_option('grid_number_per_row') > 0) && ((($wpsc_query->current_product +1) % get_option('grid_number_per_row')) == 0)) :?>
			  <div class='grid_view_newline'></div>
			<?php endif ; ?>
		
			
			
		<?php endwhile; ?>
		
		<?php if(wpsc_product_count() < 1):?>
			<p><?php  echo __('There are no products in this group.', 'wpsc'); ?></p>
		<?php endif ; ?>
		
		
	</div>
	
	<?php if(wpsc_has_pages() &&  ((get_option('wpsc_page_number_position') == 2) || (get_option('wpsc_page_number_position') == 3))) : ?>
	<div class='wpsc_page_numbers'>
		Pages: 
		<?php while ($wpsc_query->have_pages()) : $wpsc_query->the_page(); ?>
			<?php if(wpsc_page_is_selected()) :?> 	   
				<a href='<?php echo wpsc_page_url(); ?>' class='selected'><?php echo wpsc_page_number(); ?></a>
			<?php else: ?> 
				<a href='<?php echo wpsc_page_url(); ?>'><?php echo wpsc_page_number(); ?></a>
			<?php endif; ?> 
		<?php endwhile; ?>
	</div>
	<?php endif; ?>
	<?php endif; ?>
	
	
	<?php