<%$Pagenum_reload_class='product-small-container'
IF NOT $category_id AND NOT $SHOW THEN
QUERY Category(category_id=$category_id, url_query=$Request.extra_path) DO DISPLAY
IF $Numrows==1 THEN
$category_id=$category_id
ENDIF
NEXTROW ENDQUERY
ENDIF
IF $category_id OR $SHOW THEN
IF $Category.product_small_template THEN
$Category_product_small_template=$Category.product_small_template
ELSE
IF (0!='<
>' OR ''!='<>') AND 'standard'!='<>' THEN
$Category_product_small_template='<>'
ENDIF
ENDIF
/* ProductVariant grabs parameters by itself, so we don't send any */
QUERY ProductVariant(orderby=$Data.orderby,order=$Data.order)
PAGE $Data.Pagenum PAGEROWS $Data.saved_pagerows
DO DISPLAY
INCLUDE 'product-small3.htm'
NEXTROW
POP $Category_product_small_template%>
<%IF $SHOW != 'puff' THEN INCLUDE 'pageselector-v2.htm' ENDIF
ENDQUERY
ENDIF%>