<:=pHeader():>
<: } _:>
<: if (First('dirs')) { :>
<: } :> <: if (First('pics')) { :>
<: if (isFooter()) { _:>
<: } _:>
<: } :>
<:
my $alb = First('dirs');
while ($alb) {
_:>
<: if (First('dirs')) { :>
<: } :>
<: if (First('pics') && First('dirs')) { :>
>
<: if (Get($alb,'URL','album_page','thumb')) { _:>
/>
<: } _:>
<:
$alb = Next($alb);
} # End child album loop
_:>
<:=Caption($alb):> <:=Get($alb,'num_pics'):> images / <:=Get($alb,'num_dirs'):> albums
<: if (First('dirs')) { :>
<: } :> <: if (First('pics')) { :>
<: } :>
<:
my $img = First('pics');
while ($img) {
_:>
<: if (First('pics')) { :>
<: } :>
>
<: if(Get($img,'alt')) { _:>
src=<:=Get($img,'URL','thumb'):> />
<: } else { _:>
/>
<: } _:>
<:
$img = Next($img);
} # End images loop
_:>
<:=Caption($img):>
<: if (First('pics')) { :>
:>/back.gif)