##TitleHead = Фотогалерея ##TitleTop = ##TitleText = Фотогалерея ##Text {t_component src=Photo_Show name=ar} {if $ar.listRoot}
{$ar.listRoot} Сортировать по: {if $ar.order=="d"}дате{else}дате{/if} | {if $ar.order=="p"}популярности{else}популярности{/if}

Режим: {if $ar.mode=="s"}слайд-шоу{else}слайд-шоу{/if} | {if $ar.mode=="p"}фотографии{else}фотографии{/if}

Размер: {if $ar.size=="b"}крупные иконки{else}крупные иконки{/if} | {if $ar.size=="s"}мелкие иконки{else}мелкие иконки{/if}
{if $ar.listPhoto}{$ar.listPhoto}{/if} {if $ar.pagesFrame.pgprev OR $ar.pagesFrame.pgnext}
Страницы: {if $ar.pagesFrame.first}  1 {/if} {if $ar.pagesFrame.prev}  ... {/if} {foreach from=$ar.pagesFrame.pages item="p"} {if $p.iscur}{$p.n}{else}{$p.n} {/if}{/foreach} {if $ar.pagesFrame.next}  ... {/if} {if $ar.pagesFrame.last}  {$ar.pagesFrame.last.n} {/if} {if $ar.pagesFrame.pgprev}  Предыдущая {/if} {if $ar.pagesFrame.pgnext}  Следующая {/if}
{/if} {/if} {if $ar.curCateg} {if $ar.arParent} {foreach from=$ar.arParent item="p"} {/foreach}
Фотогалерея {$p.parent} »
{/if}
{$ar.listChild} Сортировать по: {if $ar.order=="d"}дате{else}дате{/if} | {if $ar.order=="p"}популярности{else}популярности{/if}

Режим: {if $ar.mode=="s"}слайд-шоу{else}слайд-шоу{/if} | {if $ar.mode=="p"}фотографии{else}фотографии{/if}

Размер: {if $ar.size=="b"}крупные иконки{else}крупные иконки{/if} | {if $ar.size=="s"}мелкие иконки{else}мелкие иконки{/if}
{if $ar.listPhoto}{$ar.listPhoto}{/if} {if $ar.pagesFrame.pgprev OR $ar.pagesFrame.pgnext}
Страницы: {if $ar.pagesFrame.first}  1 {/if} {if $ar.pagesFrame.prev}  ... {/if} {foreach from=$ar.pagesFrame.pages item="p"} {if $p.iscur}{$p.n}{else}{$p.n} {/if}{/foreach} {if $ar.pagesFrame.next}  ... {/if} {if $ar.pagesFrame.last}  {$ar.pagesFrame.last.n} {/if} {if $ar.pagesFrame.pgprev}  Предыдущая {/if} {if $ar.pagesFrame.pgnext}  Следующая {/if}
{/if} {/if} {if $ar.curPhoto} {if $ar.arParent} {foreach from=$ar.arParent item="p"} {/foreach}
Фотогалерея {$p.parent} »
{/if}
{if $ar.prevNextPhoto.first}Первая{else} {/if} {if $ar.prevNextPhoto.prev}Предыдущая{else} {/if} {if $ar.prevNextPhoto.next}Следующая{else} {/if} {if $ar.prevNextPhoto.last}Последняя{else} {/if}
{if $ar.curPhoto.description}{/if}
{$ar.curPhoto.description}
{/if} {/t_component}