Changeset 11197
- Timestamp:
- 2006/12/24 02:39:43 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/ec-cube-beta/html/campaign/default/application.php
r11196 r11197 147 147 global $objQuery; 148 148 global $objCampaignSess; 149 149 $campaign_id = $objCampaignSess->getCampaignId(); 150 150 151 151 // ¼õÃí¥Ç¡¼¥¿¤ò¼èÆÀ 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 153 178 $arrCustomer = $objQuery->select($cols, "dtb_customer", "customer_id = ?", array($customer_id)); 154 179 155 sfprintr($arrCustomer); 156 /* 157 $sqlval = $arrOrder[0]; 180 $sqlval = $arrCustomer[0]; 181 $sqlval['campaign_id'] = $campaign_id; 158 182 $sqlval['create_date'] = 'now()'; 159 183 … … 162 186 163 187 // ¿½¤·¹þ¤ß¿ô¤Î¹¹¿· 164 $campaign_id = $objCampaignSess->getCampaignId();165 188 $total_count = $objQuery->get("dtb_campaign", "total_count", "campaign_id = ?", array($campaign_id)); 166 189 $arrCampaign['total_count'] = $total_count += 1;
Note: See TracChangeset
for help on using the changeset viewer.
