Check your own code to see what variable was used in original code (and use logic)... the variables sometimes change depending on version you use (but surprised this one does)... and I have no idea what version you are using (as never heard of default version Alla - perhaps update your signature). This is not my code, I was just trying to explain to you the meaning of $subcats ...
Cheers, Asiaplay