- Timestamp:
- 2006/09/15 13:16:49 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/lib/slib.php (modified) (2 diffs)
-
html/admin/products/product_class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/lib/slib.php
r4790 r4791 1052 1052 /* µ¬³ÊʬÎà¤Î·ï¿ô¼èÆÀ */ 1053 1053 function sfGetClassCatCount() { 1054 $sql = "select count(dtb_class.class_id) , dtb_class.class_id ";1054 $sql = "select count(dtb_class.class_id) as count, dtb_class.class_id "; 1055 1055 $sql.= "from dtb_class inner join dtb_classcategory on dtb_class.class_id = dtb_classcategory.class_id "; 1056 1056 $sql.= "where dtb_class.del_flg = 0 AND dtb_classcategory.del_flg = 0 "; … … 1058 1058 $objQuery = new SC_Query(); 1059 1059 $arrList = $objQuery->getall($sql); 1060 $objQuery->getlastquery();1061 1060 // ¥¡¼¤ÈÃͤò¥»¥Ã¥È¤·¤¿ÇÛÎó¤ò¼èÆÀ 1062 1061 $arrRet = sfArrKeyValue($arrList, 'class_id', 'count'); 1063 1064 sfprintr($arrRet);1065 1062 1066 1063 return $arrRet; -
temp/trunk/html/admin/products/product_class.php
r4788 r4791 100 100 $objPage->arrClassCat = lfGetClassCatListDisp($_POST['select_class_id1'], $_POST['select_class_id2']); 101 101 } 102 103 sfprintr($objPage->arrClassCat); 102 104 lfProductClassPage(); // µ¬³ÊÅÐÏ¿¥Ú¡¼¥¸ 103 105 break;
Note: See TracChangeset
for help on using the changeset viewer.
