Changeset 6841 for temp/trunk/data
- Timestamp:
- 2006/10/26 16:05:07 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/downloads/module/affiliate.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/downloads/module/affiliate.php
r6839 r6841 41 41 if(count($objPage->arrErr) == 0) { 42 42 $arrRet = $objFormParam->getHashArray(); 43 /*44 $sqlval['sub_data'] = serialize($arr Ret);43 $arrSubData[$arrRet['conv_page']] = $arrRet['aff_tag']; 44 $sqlval['sub_data'] = serialize($arrSubData); 45 45 $objQuery = new SC_Query(); 46 46 $objQuery->update("dtb_module", $sqlval, "module_id = ?", array(EBIS_TAG_MID)); 47 47 // javascript¼Â¹Ô 48 48 //$objPage->tpl_onload = "window.close();"; 49 */50 49 } 51 50 break; 52 51 case 'select': 53 sfPrintR($_POST); 52 if(is_numeric($_POST['conv_page'])) { 53 $conv_page = $_POST['conv_page']; 54 $arrRet = $objQuery->select("sub_data", "dtb_module", "module_id = ?", array(EBIS_TAG_MID)); 55 $arrSubData = unserialize($arrRet[0]['sub_data']); 56 $arrData['conv_page'] = $conv_page; 57 $arrData['aff_tag'] = $arrSubData[$conv_page]; 58 $objFormParam->setParam($arrSubData); 59 } 54 60 break; 55 61 default: 56 $arrRet = $objQuery->select("sub_data", "dtb_module", "module_id = ?", array(EBIS_TAG_MID));57 $arrSubData = unserialize($arrRet[0]['sub_data']);58 $objFormParam->setParam($arrSubData);59 62 break; 60 63 }
Note: See TracChangeset
for help on using the changeset viewer.
