Changeset 11197


Ignore:
Timestamp:
2006/12/24 02:39:43 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/html/campaign/default/application.php

    r11196 r11197  
    147147    global $objQuery; 
    148148    global $objCampaignSess; 
    149  
     149    $campaign_id = $objCampaignSess->getCampaignId(); 
    150150 
    151151    // ¼õÃí¥Ç¡¼¥¿¤ò¼èÆÀ 
    152     $cols = "*"; 
     152    $cols = " 
     153            customer_id, 
     154            name01 as order_name01, 
     155            name02 as order_name02, 
     156            kana01 as order_kana01, 
     157            kana02 as order_kana02, 
     158            zip01 as order_zip01, 
     159            zip02 as order_zip02, 
     160            pref as order_pref, 
     161            addr01 as order_addr01, 
     162            addr02 as order_addr02, 
     163            email as order_email, 
     164            tel01 as order_tel01, 
     165            tel02 as order_tel02, 
     166            tel03 as order_tel03, 
     167            fax01 as order_fax01, 
     168            fax02 as order_fax02, 
     169            fax03 as order_fax03, 
     170            sex as order_sex, 
     171            job as order_sex, 
     172            birth as order_birth, 
     173            cell01, 
     174            cell02, 
     175            cell03 
     176            "; 
     177             
    153178    $arrCustomer = $objQuery->select($cols, "dtb_customer", "customer_id = ?", array($customer_id));  
    154179 
    155 sfprintr($arrCustomer); 
    156     /*           
    157     $sqlval = $arrOrder[0]; 
     180    $sqlval = $arrCustomer[0]; 
     181    $sqlval['campaign_id'] = $campaign_id; 
    158182    $sqlval['create_date'] = 'now()'; 
    159183         
    … …  
    162186     
    163187    // ¿½¤·¹þ¤ß¿ô¤Î¹¹¿· 
    164     $campaign_id = $objCampaignSess->getCampaignId(); 
    165188    $total_count = $objQuery->get("dtb_campaign", "total_count", "campaign_id = ?", array($campaign_id)); 
    166189    $arrCampaign['total_count'] = $total_count += 1; 
Note: See TracChangeset for help on using the changeset viewer.