cats->categs_parents = array(); $this->cats->categs_parents[] = $this->cats->_get_childs_for_parent($this->html["cat"]["id"]); $this->cats->get_parents(@$this->html["cat"]["parent_id"],@$this->html["cat"]["id"]); for($i=count($this->cats->categs_parents)-1;$i>=0;$i--) { $_parent = $this->cats->categs_parents[$i]; foreach($_parent as $_category) { echo " "; if(@$_category["active"]) echo "["; ?>]"; } if($i>0)echo "
"; } ?>