<: #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: <: pAlbum_Name() :> <: Meta() :> <: if (isHeader()) { :> <: } :> #c// Are there more albums below this one? <: if ( Child_Albums() || (Images()) ) { :> #c// Loop on all the albums <: while (Child_Albums()) { :> <: if ( !(Child_Album_Cnt() % $COLS) && (Child_Albums_Left() || Images_Left()) ) { :> <: } else { :> <: } :> <: Next_Child_Album() :> <: } :> #c// End album loop #c// Loop on the images <: while(Images()) { :> <: if (!((Child_Album_Cnt() + Image_Cnt() - 1) % $COLS) && Images_Left()) { :> <: } else { :> <: } :> <: Next_Image() :> <: } :> #c// End while images <: if (isFooter()) { :> <: } :>
<: pJoin_Parent_Albums(" > "); :> >up up
<:pHeader():>
 
>
<:=Child_Album_Name():>
 
  <: if (Image_Is_Pic()) { :> > HSPACE='7' VSPACE='7' border='0'>
<:=Image_Name():>
<: } else { :> >
<:=Image_Name():>

<: } :>
 
 
 
<:pFooter():>
  <: if ((Child_Album_Cnt() - 1) > 0) {:> <:=(Child_Album_Cnt() - 1):> sub-albums and <: } :> <:=(Image_Cnt() - 1):> files in this album
#c// End if images <: } :>
<: Credit() :>. <:=$THEME_CREDIT:> Last updated: <:=scalar localtime:>