Photo Gallery

[!]----------Check If Album----------[/!] [showIf [folderpath]!] [text]albumpath=[folderpath]/[/text] [/showIf] [showIf [folderpath]^folderpath] [text]albumpath=[/text] [/showIf] [hideIf [folderpath]^folderpath] [text]found_at=[findstring source=[folderpath]&find=/][/text] [showIf [found_at]>0] [text]goto=gallery.html?folderpath=[getchars start=[math][found_at]+1[/math]&end=&from=end][folderpath][/getchars][/text] [/showIf] [hideIf [found_at]>0] [text]goto=gallery.html[/text] [/hideIf]
Back

[/hideIf] [!]---------- Display Gallery ----------[/!] [search db=gallery/files/[albumpath]foldersdb.db&eqfiletypedata=album&possort=1&postype=num] [foundItems] [!]----------Display Album----------[/!]


[title]
[caption]
[search db=gallery/files/[albumpath][sku]/foldersdb.db&eqfiletypedata=album][text]totalalbums=[numfound][/text][/search] [search db=gallery/files/[albumpath][sku]/foldersdb.db&eqfiletypedata=photo][text]totalphotos=[numfound][/text][/search] Album Contains: [showIf [totalalbums]>0][totalalbums] Albums[/showIf][showIf [totalphotos]>0][totalphotos] Photos[/showIf]

[/foundItems] [/search]
[search db=gallery/files/[albumpath]foldersdb.db&nefiletypedata=album&possort=1&postype=num] [foundItems] [!]----------Display Photos----------[/!] [!]----------Display Photo----------[/!]
[title]
[/foundItems] [/search]
 


Powered By

Created By Zach Hext (By Request Web Designs) ©2012