getAttribute('useAjax')}style="opacity:{$opacity}"{/if}
>
{if (!isset($smarty.request.sheet) || $active == 1)
&& $this->getAttribute('useAjax') === false
}
{else}
{$getParams['limit'] = $limit}
{$getParams['sheet'] = false}
{/if}
{if (!isset($smarty.request.sheet) || $active <= 1)
&& $this->getAttribute('useAjax') === false
}
{else}
{math assign=backward equation="x - y" x=$active y=1}
{if $backward == 1}
{$getParams['limit'] = $limit}
{else}
{$getParams['sheet'] = $backward}
{/if}
{/if}
{if $start > 1}
...
{/if}
{section name=sheets start=$start loop=$end+1}
{assign var=num value=$smarty.section.sheets.index}
{if $num == $active}
{if $this->getAttribute('useAjax') === false}
{$num}
{else}
{$getParams['limit'] = $limit}
{$num}
{/if}
{else}
{$getParams['limit'] = $limit}
{if $num == 1}
{$getParams['sheet'] = false}
{$num}
{else}
{$getParams['sheet'] = $num}
{$num}
{/if}
{/if}
{/section}
{if $end < $count}
...
{/if}
{if $active >= $count && $this->getAttribute('useAjax') === false}
{else}
{math assign=forward equation="x + y" x=$active y=1 }
{$getParams['sheet'] = $forward}
{/if}
{if $active >= $count && $this->getAttribute('useAjax') === false}
{else}
{$getParams['sheet'] = $count}
{/if}
{if $useAjaxText}