- Timestamp:
- 2006/10/26 16:07:00 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/downloads/module/affiliate.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/downloads/module/affiliate.php
r6841 r6842 40 40 $objPage->arrErr = $objFormParam->checkError(); 41 41 if(count($objPage->arrErr) == 0) { 42 $arrRet = $objFormParam->getHashArray(); 42 $arrRet = $objQuery->select("sub_data", "dtb_module", "module_id = ?", array(AFF_TAG_MID)); 43 $arrSubData = unserialize($arrRet[0]['sub_data']); 44 $arrRet = $objFormParam->getHashArray(); 43 45 $arrSubData[$arrRet['conv_page']] = $arrRet['aff_tag']; 44 46 $sqlval['sub_data'] = serialize($arrSubData); 45 47 $objQuery = new SC_Query(); 46 $objQuery->update("dtb_module", $sqlval, "module_id = ?", array( EBIS_TAG_MID));48 $objQuery->update("dtb_module", $sqlval, "module_id = ?", array(AFF_TAG_MID)); 47 49 // javascript¼Â¹Ô 48 50 //$objPage->tpl_onload = "window.close();"; … … 52 54 if(is_numeric($_POST['conv_page'])) { 53 55 $conv_page = $_POST['conv_page']; 54 $arrRet = $objQuery->select("sub_data", "dtb_module", "module_id = ?", array( EBIS_TAG_MID));56 $arrRet = $objQuery->select("sub_data", "dtb_module", "module_id = ?", array(AFF_TAG_MID)); 55 57 $arrSubData = unserialize($arrRet[0]['sub_data']); 56 58 $arrData['conv_page'] = $conv_page;
Note: See TracChangeset
for help on using the changeset viewer.
