How to count inside foreach in a template?

G

grantus

Guest
Member
I've looked around but can't seem to find what I'm looking for.

I have my foreach loop:

Code:

Code:
<xf:foreach loop="$view" value="$value">
</xf:foreach>

But I need to get the count. I noticed there's count="$count" in the approval_queue template but apparently it doesn't work?

What would be the best way to do a count++ inside my foreach?


free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
BlackSpigot General Chat
Rules Help Users
    Q @ q444a: Any Admin online?
    Top