<: #c// #################################################################### #c// Album theme created by Lucian Precup (lucian_precup@yahoo.com). #c// #################################################################### #c// #c// You can try the following command line options: #c// album -index index -medium 600x400 -theme /path/to/album/Themes/kde_style -columns 5 -no_crop -geometry=120x90 #c// but any other set of options would yield nice results too. #c// $THEME_CREDIT = ""; $PATH = Theme_URL(); $COLS = Option("columns"); $CELLSPACING = 4; $COLS_PERC = int(100/$COLS - $CELLSPACING); :> Album: <:=Path('album_name'):> <: Meta() :> <: if (isHeader()) { :> <: } :> <: if (num('dirs') || num('pics')) { :> <: for($count=1,$child = First('dirs'); $child; $count++,$child=Next($child)){ :> <: if ( !($count % $COLS) && (Next($child) || num('pics') )) { :> <: } else { :> <: } :> <: } :> <: for($image = First('pics'); $image; $count++,$image=Next($image)){ :> <: if ( !($count % $COLS) && Next($image)) { :> <: } else { :> <: } :> <: } :> <: if (isFooter()) { :> <: } :>
<:=Parent_Albums(" > "):> >up up
<:pHeader():>
 
<:=Get($child,'href','album_page', 'dir'):>
<:=Name($child):>
 
  <:=Get($image,'href','album_page','image'):> <:=Image($image, 'thumb'):>
<:=Name($image):>
 
 
 
<:pFooter():>
  <: if (num('dirs') > 0) {:> <:=(num('dirs')):> sub-albums and <: } :> <:=(num('pics')):> files in this album
<: } :>
<: Credit() :>. <:=$THEME_CREDIT:> Last updated: <:=scalar localtime:>