Index: /temp/branches/ec-cube-beta/html/admin/contents/campaign.php
===================================================================
--- /temp/branches/ec-cube-beta/html/admin/contents/campaign.php	(revision 10803)
+++ /temp/branches/ec-cube-beta/html/admin/contents/campaign.php	(revision 10808)
@@ -68,4 +68,22 @@
 		header("location: ".URL_CAMPAIGN_TOP);
 		break;
+	// CSV½ÐÎÏ
+	case 'csv':
+		// ¥ª¥×¥·¥ç¥ó¤Î»ØÄê
+		$option = "ORDER BY $order";
+			
+		// CSV½ÐÎÏ¥¿¥¤¥È¥ë¹Ô¤ÎºîÀ®
+		$arrCsvOutput = sfSwapArray(sfgetCsvOutput(3, " WHERE csv_id = 3 AND status = 1"));
+			
+		if (count($arrCsvOutput) <= 0) break;
+			
+		$arrCsvOutputCols = $arrCsvOutput['col'];
+		$arrCsvOutputTitle = $arrCsvOutput['disp_name'];
+		$head = sfGetCSVList($arrCsvOutputTitle);
+		$data = lfGetCSV("dtb_order", $where, $option, $arrval, $arrCsvOutputCols);
+			
+		// CSV¤òÁ÷¿®¤¹¤ë¡£
+		sfCSVDownload($head.$data);		
+		break;
 	default:
 		break;
Index: /temp/branches/ec-cube-beta/html/install/index.php
===================================================================
--- /temp/branches/ec-cube-beta/html/install/index.php	(revision 10806)
+++ /temp/branches/ec-cube-beta/html/install/index.php	(revision 10808)
@@ -826,6 +826,6 @@
 	// ¥­¥ã¥ó¥Ú¡¼¥ó¥Æ¡¼¥Ö¥ë
 	sfColumnExists("dtb_campaign", "directory_name", "text NOT NULL", $dsn, true);
-	sfColumnExists("dtb_campaign", "limit_count", "int NOT NULL DEFAULT 0", $dsn, true);
-	sfColumnExists("dtb_campaign", "total_count", "int NOT NULL DEFAULT 0", $dsn, true);
+	sfColumnExists("dtb_campaign", "limit_count", "int4 NOT NULL DEFAULT 0", $dsn, true);
+	sfColumnExists("dtb_campaign", "total_count", "int4 NOT NULL DEFAULT 0", $dsn, true);
 	sfColumnExists("dtb_campaign", "orverlapping_flg", "int2 NOT NULL DEFAULT 0", $dsn, true);
 	sfColumnExists("dtb_campaign", "cart_flg", "int2 NOT NULL DEFAULT 0", $dsn, true);
