Changeset 11759 for branches/dev/html/admin/mail
- Timestamp:
- 2007/03/12 11:10:34 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/html/admin/mail/index.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/mail/index.php
r11757 r11759 165 165 $objQuery->setorder("customer_id DESC"); 166 166 167 // ¸¡º÷·ë²Ì¤Î¼èÆÀ 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 181 $col = $objSelect->getMailMagazineColumn($is_mobile); 167 // ¸¡º÷·ë²Ì¤Î¼èÆÀ 168 $col = $objSelect->getMailMagazineColumn(lfGetIsMobile($_POST['mail_type'])); 182 169 $objPage->arrResults = $objQuery->select($col, $from, $where, $arrval); 183 170 //¸½ºß»þ¹ï¤Î¼èÆÀ … … 400 387 $objSelect = new SC_CustomerList( lfConvertParam($arrData, $arrSearchColumn), "magazine" ); 401 388 402 $search_data = $conn->getAll($objSelect->getListMailMagazine( ), $objSelect->arrVal);389 $search_data = $conn->getAll($objSelect->getListMailMagazine(lfGetIsMobile($_POST['mail_type'])), $objSelect->arrVal); 403 390 $dataCnt = count($search_data); 404 391 … … 451 438 return $arrCampaign; 452 439 } 440 441 function lfGetIsMobile($mail_type) { 442 // ¸¡º÷·ë²Ì¤Î¼èÆÀ 443 $is_mobile = false; 444 switch($mail_type) { 445 case 1: 446 $is_mobile = false; 447 break; 448 case 2: 449 $is_mobile = true; 450 break; 451 default: 452 $is_mobile = false; 453 break; 454 } 455 456 return $is_mobile; 457 } 453 458 ?>
Note: See TracChangeset
for help on using the changeset viewer.
