Changeset 10808


Ignore:
Timestamp:
2006/12/17 00:02:18 (20 years ago)
Author:
uehara
Message:
 
Location:
temp/branches/ec-cube-beta/html
Files:
2 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; 
  • temp/branches/ec-cube-beta/html/install/index.php

    r10806 r10808  
    826826    // ¥­¥ã¥ó¥Ú¡¼¥ó¥Æ¡¼¥Ö¥ë 
    827827    sfColumnExists("dtb_campaign", "directory_name", "text NOT NULL", $dsn, true); 
    828     sfColumnExists("dtb_campaign", "limit_count", "int NOT NULL DEFAULT 0", $dsn, true); 
    829     sfColumnExists("dtb_campaign", "total_count", "int NOT NULL DEFAULT 0", $dsn, true); 
     828    sfColumnExists("dtb_campaign", "limit_count", "int4 NOT NULL DEFAULT 0", $dsn, true); 
     829    sfColumnExists("dtb_campaign", "total_count", "int4 NOT NULL DEFAULT 0", $dsn, true); 
    830830    sfColumnExists("dtb_campaign", "orverlapping_flg", "int2 NOT NULL DEFAULT 0", $dsn, true); 
    831831    sfColumnExists("dtb_campaign", "cart_flg", "int2 NOT NULL DEFAULT 0", $dsn, true); 
Note: See TracChangeset for help on using the changeset viewer.