- Timestamp:
- 2006/08/26 10:31:05 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/products/product_class.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/products/product_class.php
r2020 r2021 118 118 function lfProductClassPage() { 119 119 global $objPage; 120 sfprintr($_POST); 120 121 $objPage->arrHidden = $_POST; 121 122 $objPage->arrHidden['select_class_id1'] = ""; … … 194 195 $col.= "product_class_id, product_id, T1_classcategory_id AS classcategory_id1, T2_classcategory_id AS classcategory_id2, "; 195 196 $col.= "product_code, stock, stock_unlimited, sale_limit, price01, price02, status"; 196 $col.= " ,(SELECT name FROM dtb_products AS prd WHERE prd.product_id = T3.product_id) as product_name";197 197 198 198 $sql = "SELECT $col FROM "; … … 208 208 209 209 $arrList = $objQuery->getAll($sql, array($product_id, $product_id)); 210 211 sfprintr($arrList); 212 // $objQuery->getlastquery(true); 213 214 210 215 211 $objPage->arrForm["class_id1"] = $arrList[0]['class_id1']; 216 212 $objPage->arrForm["class_id2"] = $arrList[0]['class_id2'];
Note: See TracChangeset
for help on using the changeset viewer.
