Changeset 6842 for temp


Ignore:
Timestamp:
2006/10/26 16:07:00 (20 years ago)
Author:
naka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/downloads/module/affiliate.php

    r6841 r6842  
    4040    $objPage->arrErr = $objFormParam->checkError(); 
    4141    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();         
    4345        $arrSubData[$arrRet['conv_page']] = $arrRet['aff_tag']; 
    4446        $sqlval['sub_data'] = serialize($arrSubData); 
    4547        $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)); 
    4749        // javascript¼Â¹Ô 
    4850        //$objPage->tpl_onload = "window.close();"; 
     
    5254    if(is_numeric($_POST['conv_page'])) { 
    5355        $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)); 
    5557        $arrSubData = unserialize($arrRet[0]['sub_data']); 
    5658        $arrData['conv_page'] = $conv_page; 
Note: See TracChangeset for help on using the changeset viewer.