{{vtScript}} ### liefert die Anzahl der Bilder zurück, die sich im aktuellen Bilderordner befinden ### ### falls URL-Parameter "-depth" den Wert "1" hat, werden nur direkt untergeordnete Bilder berücksichtigt ### {{vtLoad: templates/pixtacy/resources/functions.php}} {{vtInclude: includes/initialize.html}} {{vtIf: {vtSession:update_recursive} .neq. 1}} {{vtSet: depth="1"}} {{vtEndIf}} {{vtIf: {vtSession:update_ignore} .gt. 0}} {{vtCalc: time() - 60*{vtSession:update_ignore} }} {{vtSet: IgnoreTime}} {{vtSelect: -type="image", -depth="{vtGet:depth}", -filter="{LastCheck} .lt. {vtResult}"}} {{vtElse}} {{vtSelect: -type="image", -depth="{vtGet:depth}" }} {{vtEndIf}} {{vtSet: Result[count]="{vtCountSelection}"}} {{vtEndSelect}} {{vtEndScript}}{{vtGet:Result}}