Changeset 11749 for branches/dev
- Timestamp:
- 2007/03/12 10:41:01 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/mail/index.php
r11744 r11749 141 141 //-- ¸¡º÷¥Ç¡¼¥¿¼èÆÀ 142 142 $objSelect = new SC_CustomerList($objPage->list_data, "magazine"); 143 144 143 // À¸À®¤µ¤ì¤¿WHEREʸ¤ò¼èÆÀ¤¹¤ë 145 144 list($where, $arrval) = $objSelect->getWhere(); … … 165 164 // ɽ¼¨½ç½ø 166 165 $objQuery->setorder("customer_id DESC"); 166 167 167 // ¸¡º÷·ë²Ì¤Î¼èÆÀ 168 $col = "dtb_customer.customer_id, 169 dtb_customer.name01, 170 dtb_customer.name02, 171 dtb_customer.kana01, 172 dtb_customer.kana02, 173 dtb_customer.sex, 174 dtb_customer.email, 175 dtb_customer.tel01, 176 dtb_customer.tel02, 177 dtb_customer.tel03, 178 dtb_customer.pref, 179 dtb_customer.mailmaga_flg"; 168 $is_mobile = false; 169 switch($_POST['mail_type']) { 170 case 1: 171 $is_mobile = false; 172 break; 173 case 2: 174 $is_mobile = true; 175 break; 176 default: 177 $is_mobile = false; 178 break; 179 } 180 $col = $objSelect->getListMailMagazine($is_mobile); 180 181 $objPage->arrResults = $objQuery->select($col, $from, $where, $arrval); 181 182 sfprintr($where); 182 183 //¸½ºß»þ¹ï¤Î¼èÆÀ 183 184 $objPage->arrNowDate = lfGetNowDate(); … … 397 398 398 399 $objQuery = new SC_Query(); 399 400 400 $objSelect = new SC_CustomerList( lfConvertParam($arrData, $arrSearchColumn), "magazine" ); 401 401 402 $search_data = $conn->getAll($objSelect->getListMailMagazine(), $objSelect->arrVal); 402 403 $dataCnt = count($search_data);
Note: See TracChangeset
for help on using the changeset viewer.