#LOCAL("ShopDefaultPageSize",#Shop.DefaultPageSize) #IF(#Shop.DefaultPageSize==10)#SET("ShopDefaultPageSize",12)#ENDIF #IF(#Shop.DefaultPageSize==20)#SET("ShopDefaultPageSize",21)#ENDIF #IF(#Shop.DefaultPageSize==40)#SET("ShopDefaultPageSize",42)#ENDIF #IF(#Shop.DefaultPageSize==50)#SET("ShopDefaultPageSize",51)#ENDIF #LOCAL("PagerSize",5) #BLOCK("PagerProducts", #VisibleProducts, #ShopDefaultPageSize) #INCLUDE("CategorySearchForm") #IF(#Pager.CountOfItems > 0) #IF(#Pager.CountOfPages > 1)