Ignore:
Timestamp:
2006/12/17 00:02:18 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/html/admin/contents/campaign.php

    r10803 r10808  
    6868        header("location: ".URL_CAMPAIGN_TOP); 
    6969        break; 
     70    // CSV½ÐÎÏ 
     71    case 'csv': 
     72        // ¥ª¥×¥·¥ç¥ó¤Î»ØÄê 
     73        $option = "ORDER BY $order"; 
     74             
     75        // CSV½ÐÎÏ¥¿¥¤¥È¥ë¹Ô¤ÎºîÀ® 
     76        $arrCsvOutput = sfSwapArray(sfgetCsvOutput(3, " WHERE csv_id = 3 AND status = 1")); 
     77             
     78        if (count($arrCsvOutput) <= 0) break; 
     79             
     80        $arrCsvOutputCols = $arrCsvOutput['col']; 
     81        $arrCsvOutputTitle = $arrCsvOutput['disp_name']; 
     82        $head = sfGetCSVList($arrCsvOutputTitle); 
     83        $data = lfGetCSV("dtb_order", $where, $option, $arrval, $arrCsvOutputCols); 
     84             
     85        // CSV¤òÁ÷¿®¤¹¤ë¡£ 
     86        sfCSVDownload($head.$data);      
     87        break; 
    7088    default: 
    7189        break; 
Note: See TracChangeset for help on using the changeset viewer.