Ignore:
Timestamp:
2006/12/25 13:43:40 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/html/admin/mail/index.php

    r6410 r11233  
    5050$objView = new SC_AdminView(); 
    5151$objDate = new SC_Date(); 
     52$objQuery = new SC_Query(); 
    5253$objPage->objDate = $objDate; 
    5354$objPage->arrTemplate = getTemplateList($conn); 
    … …  
    285286 
    286287$objPage->arrCatList = sfGetCategoryList(); 
     288 
     289$objPage->arrCampaignList = lfGetCampaignList(); 
    287290 
    288291//----¡¡¥Ú¡¼¥¸É½¼¨ 
    … …  
    414417} 
    415418 
     419// ¥­¥ã¥ó¥Ú¡¼¥ó°ìÍ÷ 
     420function lfGetCampaignList() { 
     421     
     422    global $objQuery; 
     423     
     424    $cols = "campaign_id, campaign_name"; 
     425    $arrResult = $objQuery->select($cols, "dtb_campaign"); 
     426 
     427    foreach($arrResult as $arrVal) { 
     428        $arrCampaign[$arrVal['campaign_id']] = $arrVal['campaign_name']; 
     429    } 
     430     
     431    return $arrCampaign; 
     432} 
    416433?> 
Note: See TracChangeset for help on using the changeset viewer.