<: $CHILD_ALBUM_COLS = 4; :>// <: $IMAGE_COLS = Option("columns"); :>// Album: <: pAlbum_Name() :> <: Meta() :>

<: pJoin_Parent_Albums(" : "); :>

>nahoru


<: if (isHeader()) { _:>
<:pHeader():>

<: } _:> #c # Are there more albums below this one? <: if (Child_Albums()) { _:>
#c # Loop on all the albums <: while (Child_Albums()) { _:> #c # And start a new row every fourth one <: if (!((Child_Album_Cnt()+1) % $CHILD_ALBUM_COLS)) { _:> <: } :> #c # End album loop <: Next_Child_Album() :> <: } :>
Další alba: <: pChild_Album() :>

#c # End if albums <: } :> #c # Are there any images? (There might only be CHILD_ALBUMS!) <: if (Images()) { _:>
#c # Loop on the images <: while(Images()) { _:> <: if (!(Image_Cnt() % Option('columns')) && Images_Left()) { _:> <: } :> #c # End while images <: Next_Image() :> <: } :>
title=<:=Image_Alt():>> <: if (Image_Is_Pic()) { _:> <: pImage_Thumb_Src() :>
<: } :> <:= Image_Name() :>
#c # <: pImage() :>
<: pImage_Caption() :>
#c # End if images
<: } :> <: if (isFooter()) { _:>
<:pFooter():>


<: } _:> <: Credit() :> on <:=scalar localtime:>