#if>
<#assign filterQuery = "">
<#if filter??>
<#if filter.type == "category">
<#assign filterQuery = "category=" + filter.value.tagCategory?url + "&">
<#elseif filter.type == "tag">
<#assign filterQuery = "tag=" + filter.value.tagName?url + "&">
#if>
#if>
<#if 0 < offset / limit>
<#else>
#if>
<#list [offset - limit * 10, offset - limit * 9, offset - limit * 8, offset - limit * 7, offset - limit * 6, offset - limit * 5, offset - limit * 4, offset - limit * 3, offset - limit * 2, offset - limit] as x>
<#if 0 <= x>
${ ((x / limit)?int + 1)?string.computer }
#if>
#list>
${ (offset / limit)?int + 1 }
<#list [offset + limit, offset + limit * 2, offset + limit * 3, offset + limit * 4, offset + limit * 5, offset + limit * 6, offset + limit * 7, offset + limit * 8, offset + limit * 9, offset + limit * 10] as x>
<#if 0 <= x && x < countAll>
${ ((x / limit)?int + 1)?string.computer }
#if>
#list>
<#if (offset / limit)?int != (countAll / limit)?int >
<#if countAll % limit == 0>
<#else>
#if>
<#else>
#if>
<#if item.comment??>
<#else>
#if>
${ item.fullUrl?html }
<#list item.jobs as job>
<#list job.snaps as snap>
<#if snap.contentType??>
<#if match(snap.contentType, "image")>
<#elseif match(snap.contentType, "htm")>
<#if job.isCompleted>
<#if thumbOn == 1>
#if>
#if>
#if>
#if>
<#if snap.summary??>
${ snap.summary?html }
#if>
#list>
#list>
<#if 0 < offset / limit>
<#else>
#if>
<#list [offset - limit * 10, offset - limit * 9, offset - limit * 8, offset - limit * 7, offset - limit * 6, offset - limit * 5, offset - limit * 4, offset - limit * 3, offset - limit * 2, offset - limit] as x>
<#if 0 <= x>
${ ((x / limit)?int + 1)?string.computer }
#if>
#list>
${ (offset / limit)?int + 1 }
<#list [offset + limit, offset + limit * 2, offset + limit * 3, offset + limit * 4, offset + limit * 5, offset + limit * 6, offset + limit * 7, offset + limit * 8, offset + limit * 9, offset + limit * 10] as x>
<#if 0 <= x && x < countAll>
${ ((x / limit)?int + 1)?string.computer }
#if>
#list>
<#if (offset / limit)?int != (countAll / limit)?int >
<#if countAll % limit == 0>
<#else>
#if>
<#else>
#if>