Changeset 9456 for temp/trunk
- Timestamp:
- 2006/11/29 19:15:25 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/Smarty/templates/admin/products/index.tpl (modified) (previous)
-
html/admin/products/product.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/products/product.php
r9447 r9456 347 347 } 348 348 349 // dtb_products_class ¤Î¥«¥é¥à¤ò¼èÆÀ350 $arrColList = sfGetColumnList("dtb_products_class", $objQuery);351 $arrColList_tmp = array_flip($arrColList);352 353 // ¥³¥Ô¡¼¤·¤Ê¤¤Îó354 unset($arrColList[$arrColList_tmp["product_class_id"]]); //µ¬³ÊID355 unset($arrColList[$arrColList_tmp["product_id"]]); //¾¦ÉÊID356 357 $col = sfGetCommaList($arrColList);358 359 349 // ¥³¥Ô¡¼¾¦Éʤξì¹ç¤Ë¤Ïµ¬³Ê¤â¥³¥Ô¡¼¤¹¤ë 360 $objQuery->query("INSERT INTO dtb_products_class (product_id, ". $col .") SELECT ?, " . $col. " FROM dtb_products_class WHERE product_id = ? ORDER BY product_class_id", array($product_id, $_POST["copy_product_id"])); 361 362 $objQuery->getlastquery(); 363 350 if($_POST["copy_product_id"] != "" and sfIsInt($_POST["copy_product_id"])){ 351 // dtb_products_class ¤Î¥«¥é¥à¤ò¼èÆÀ 352 $arrColList = sfGetColumnList("dtb_products_class", $objQuery); 353 $arrColList_tmp = array_flip($arrColList); 354 355 // ¥³¥Ô¡¼¤·¤Ê¤¤Îó 356 unset($arrColList[$arrColList_tmp["product_class_id"]]); //µ¬³ÊID 357 unset($arrColList[$arrColList_tmp["product_id"]]); //¾¦ÉÊID 358 359 $col = sfGetCommaList($arrColList); 360 } 364 361 365 362 } else {
Note: See TracChangeset
for help on using the changeset viewer.
