Album: <: print Path('album_name'); :>

<: Meta() :> <: if (!(Parent_Albums_Left() == 1)) { _:> <:_ } :> title="Up one folder" />

# <: print Path('album_name') :>

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

## <:pHeader():>

<: } _:> #c # Are there more albums below this one?
<: if (my $dir = First('dirs')) { _:> #c # Loop on all the albums <: while ($dir) { _:>
<: my $img = Image($dir,'thumb'); :> <:= Get($dir,'href','dir').$img."" :>
<:= Get($dir,'href','dir').Name($dir) :>
<:= Get($dir, 'num_pics'); :> Images <: if (Get($dir, 'num_dirs')){ _:>
& <:= Get($dir, 'num_dirs'); :> Album<: if (Get($dir, 'num_dirs') > 1) { _:>s<: } _:> <: } else { _:> <: } _:>
#c # End album loop <: $dir = Next($dir); :> <: } :> #c # End if albums <: } :>
<: if (Images()) { _:> <: while(Images()) { _:>
<:=Image_Name():>
<: print Get($img,'href','image'); :> <: print Image($img,'thumb') if Get($img,'thumb'); :>
<: Next_Image() :> <: } _:>
<: } _:> <: if (isFooter()) { _:>

## <:pFooter():>

<: } _:>