Changeset 17283 for branches/comu-ver2/data/class/helper/SC_Helper_DB.php
- Timestamp:
- 2008/04/24 16:15:45 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/helper/SC_Helper_DB.php
r17263 r17283 693 693 $id = $arrRet[$cnt]['category_id']; 694 694 $name = $arrRet[$cnt]['category_name']; 695 $arrList[$id] = ""; 696 /* 697 for($n = 1; $n < $arrRet[$cnt]['level']; $n++) { 698 $arrList[$id].= " "; 699 } 700 */ 701 for($cat_cnt = 0; $cat_cnt < $arrRet[$cnt]['level']; $cat_cnt++) { 702 $arrList[$id].= $head; 703 } 704 $arrList[$id].= $name; 695 $arrList[$id] = str_repeat($head, $arrRet[$cnt]['level']) . $name; 705 696 } 706 697 return $arrList;
Note: See TracChangeset
for help on using the changeset viewer.