xxx
{* PULL THE PERMANENT GALLERIES FROM THE DATABASE *} {galleries var=$galleries type=permanent format=pictures getnew=true allowused=false description=false preview=true amount=20 category=MIXED sponsor=any order=date_approved reorder=date_approved} {* DISPLAY ALL OF THE GALLERIES *} {foreach var=$gallery from=$galleries counter=$counter} {insert counter=$counter location=+5 max=15} {/insert} {/foreach}
Thumb