Changeset 9395 for temp/trunk/html/admin/products/product.php
- Timestamp:
- 2006/11/29 17:12:05 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/products/product.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/products/product.php
r9394 r9395 86 86 } 87 87 break; 88 // Ê£À½ 89 case 'copy' : 90 // ÊÔ½¸»þ 91 if(sfIsInt($_POST['product_id'])){ 92 // DB¤«¤é¾¦ÉʾðÊó¤ÎÆÉ¹þ 93 $objPage->arrForm = lfGetProduct($_POST['product_id']); 94 // ¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹¤ÎÊÑ´¹ 95 $arrRet = sfSplitCBValue($objPage->arrForm['product_flag'], "product_flag"); 96 $objPage->arrForm = array_merge($objPage->arrForm, $arrRet); 97 // DB¤«¤é¤ª¤¹¤¹¤á¾¦ÉÊ¤ÎÆÉ¤ß¹þ¤ß 98 $objPage->arrRecommend = lfPreGetRecommendProducts($_POST['product_id']); 99 // DB¥Ç¡¼¥¿¤«¤é²èÁü¥Õ¥¡¥¤¥ë̾¤ÎÆÉ¹þ 100 $objUpFile->setDBFileList($objPage->arrForm); 101 // µ¬³ÊÅÐÏ¿¤¢¤ê¤Ê¤·È½Äê 102 $objPage->tpl_nonclass = lfCheckNonClass($_POST['product_id']); 103 lfProductPage(); // ¾¦ÉÊÅÐÏ¿¥Ú¡¼¥¸ 104 } 105 break; 88 106 89 107 // ¾¦ÉÊÅÐÏ¿¡¦ÊÔ½¸ 90 108 case 'edit': 91 // µ¬³ÊÅÐÏ¿¤¢¤ê¤Ê¤·È½Äê92 $objPage->tpl_nonclass = lfCheckNonClass($_POST['product_id']);93 // ÆþÎÏÃͤÎÊÑ´¹94 $objPage->arrForm = lfConvertParam($objPage->arrForm);95 // ¥¨¥é¡¼¥Á¥§¥Ã¥¯96 $objPage->arrErr = lfErrorCheck($objPage->arrForm);97 // ¥Õ¥¡¥¤¥ë¸ºß¥Á¥§¥Ã¥¯98 $objPage->arrErr = array_merge((array)$objPage->arrErr, (array)$objUpFile->checkEXISTS());99 // ¥¨¥é¡¼¤Ê¤·¤Î¾ì¹ç100 if(count($objPage->arrErr) == 0) {101 lfProductConfirmPage(); // ³Îǧ¥Ú¡¼¥¸102 } else {103 lfProductPage(); // ¾¦ÉÊÅÐÏ¿¥Ú¡¼¥¸104 }105 break;106 // Ê£À½107 case 'copy' :108 109 // µ¬³ÊÅÐÏ¿¤¢¤ê¤Ê¤·È½Äê 109 110 $objPage->tpl_nonclass = lfCheckNonClass($_POST['product_id']);
Note: See TracChangeset
for help on using the changeset viewer.
