Changeset 12134


Ignore:
Timestamp:
2007/04/10 23:05:57 (15 years ago)
Author:
naka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/install/index.php

    r12125 r12134  
    958958    // CSV¥Æ¡¼¥Ö¥ë 
    959959    if(sfTabaleExists('dtb_csv', $dsn)) { 
    960         lfInsertCSVData(1,'category_id','¥«¥Æ¥´¥êID',53,'now()','now()');        
    961         lfInsertCSVData(4,'order_id','ÃíʸID',1,'now()','now()'); 
    962         lfInsertCSVData(4,'campaign_id','¥­¥ã¥ó¥Ú¡¼¥óID',2,'now()','now()'); 
    963         lfInsertCSVData(4,'customer_id','¸ÜµÒID',3,'now()','now()'); 
    964         lfInsertCSVData(4,'message','Í×˾Åù',4,'now()','now()'); 
    965         lfInsertCSVData(4,'order_name01','¸ÜµÒ̾1',5,'now()','now()'); 
    966         lfInsertCSVData(4,'order_name02','¸ÜµÒ̾2',6,'now()','now()'); 
    967         lfInsertCSVData(4,'order_kana01','¸ÜµÒ̾¥«¥Ê1',7,'now()','now()'); 
    968         lfInsertCSVData(4,'order_kana02','¸ÜµÒ̾¥«¥Ê2',8,'now()','now()'); 
    969         lfInsertCSVData(4,'order_email','¥á¡¼¥ë¥¢¥É¥ì¥¹',9,'now()','now()'); 
    970         lfInsertCSVData(4,'order_tel01','ÅÅÏÃÈÖ¹æ1',10,'now()','now()'); 
    971         lfInsertCSVData(4,'order_tel02','ÅÅÏÃÈÖ¹æ2',11,'now()','now()'); 
    972         lfInsertCSVData(4,'order_tel03','ÅÅÏÃÈÖ¹æ3',12,'now()','now()'); 
    973         lfInsertCSVData(4,'order_fax01','FAX1',13,'now()','now()'); 
    974         lfInsertCSVData(4,'order_fax02','FAX2',14,'now()','now()'); 
    975         lfInsertCSVData(4,'order_fax03','FAX3',15,'now()','now()'); 
    976         lfInsertCSVData(4,'order_zip01','͹ÊØÈÖ¹æ1',16,'now()','now()'); 
    977         lfInsertCSVData(4,'order_zip02','͹ÊØÈÖ¹æ2',17,'now()','now()'); 
    978         lfInsertCSVData(4,'order_pref','ÅÔÆ»Éܸ©',18,'now()','now()'); 
    979         lfInsertCSVData(4,'order_addr01','½»½ê1',19,'now()','now()'); 
    980         lfInsertCSVData(4,'order_addr02','½»½ê2',20,'now()','now()'); 
    981         lfInsertCSVData(4,'order_sex','À­ÊÌ',21,'now()','now()'); 
    982         lfInsertCSVData(4,'order_birth','À¸Ç¯·îÆü',22,'now()','now()'); 
    983         lfInsertCSVData(4,'order_job','¿¦¼ï',23,'now()','now()'); 
    984         lfInsertCSVData(4,'deliv_name01','ÇÛÁ÷Àè̾Á°',24,'now()','now()'); 
    985         lfInsertCSVData(4,'deliv_name02','ÇÛÁ÷Àè̾Á°',25,'now()','now()'); 
    986         lfInsertCSVData(4,'deliv_kana01','ÇÛÁ÷À襫¥Ê',26,'now()','now()'); 
    987         lfInsertCSVData(4,'deliv_kana02','ÇÛÁ÷À襫¥Ê',27,'now()','now()'); 
    988         lfInsertCSVData(4,'deliv_tel01','ÅÅÏÃÈÖ¹æ1',28,'now()','now()'); 
    989         lfInsertCSVData(4,'deliv_tel02','ÅÅÏÃÈÖ¹æ2',29,'now()','now()'); 
    990         lfInsertCSVData(4,'deliv_tel03','ÅÅÏÃÈÖ¹æ3',30,'now()','now()'); 
    991         lfInsertCSVData(4,'deliv_fax01','FAX1',31,'now()','now()'); 
    992         lfInsertCSVData(4,'deliv_fax02','FAX2',32,'now()','now()'); 
    993         lfInsertCSVData(4,'deliv_fax03','FAX3',33,'now()','now()'); 
    994         lfInsertCSVData(4,'deliv_zip01','͹ÊØÈÖ¹æ1',34,'now()','now()'); 
    995         lfInsertCSVData(4,'deliv_zip02','͹ÊØÈÖ¹æ2',35,'now()','now()'); 
    996         lfInsertCSVData(4,'deliv_pref','ÅÔÆ»Éܸ©',36,'now()','now()'); 
    997         lfInsertCSVData(4,'deliv_addr01','½»½ê1',37,'now()','now()'); 
    998         lfInsertCSVData(4,'deliv_addr02','½»½ê2',38,'now()','now()'); 
    999         lfInsertCSVData(4,'payment_total','¤ª»Ùʧ¤¤¹ç·×',39,'now()','now()'); 
     960        lfInsertCSVData(1,'category_id','¥«¥Æ¥´¥êID',53,'now()','now()', $dsn);      
     961        lfInsertCSVData(4,'order_id','ÃíʸID',1,'now()','now()', $dsn); 
     962        lfInsertCSVData(4,'campaign_id','¥­¥ã¥ó¥Ú¡¼¥óID',2,'now()','now()', $dsn); 
     963        lfInsertCSVData(4,'customer_id','¸ÜµÒID',3,'now()','now()', $dsn); 
     964        lfInsertCSVData(4,'message','Í×˾Åù',4,'now()','now()', $dsn); 
     965        lfInsertCSVData(4,'order_name01','¸ÜµÒ̾1',5,'now()','now()', $dsn); 
     966        lfInsertCSVData(4,'order_name02','¸ÜµÒ̾2',6,'now()','now()', $dsn); 
     967        lfInsertCSVData(4,'order_kana01','¸ÜµÒ̾¥«¥Ê1',7,'now()','now()', $dsn); 
     968        lfInsertCSVData(4,'order_kana02','¸ÜµÒ̾¥«¥Ê2',8,'now()','now()', $dsn); 
     969        lfInsertCSVData(4,'order_email','¥á¡¼¥ë¥¢¥É¥ì¥¹',9,'now()','now()', $dsn); 
     970        lfInsertCSVData(4,'order_tel01','ÅÅÏÃÈÖ¹æ1',10,'now()','now()', $dsn); 
     971        lfInsertCSVData(4,'order_tel02','ÅÅÏÃÈÖ¹æ2',11,'now()','now()', $dsn); 
     972        lfInsertCSVData(4,'order_tel03','ÅÅÏÃÈÖ¹æ3',12,'now()','now()', $dsn); 
     973        lfInsertCSVData(4,'order_fax01','FAX1',13,'now()','now()', $dsn); 
     974        lfInsertCSVData(4,'order_fax02','FAX2',14,'now()','now()', $dsn); 
     975        lfInsertCSVData(4,'order_fax03','FAX3',15,'now()','now()', $dsn); 
     976        lfInsertCSVData(4,'order_zip01','͹ÊØÈÖ¹æ1',16,'now()','now()', $dsn); 
     977        lfInsertCSVData(4,'order_zip02','͹ÊØÈÖ¹æ2',17,'now()','now()', $dsn); 
     978        lfInsertCSVData(4,'order_pref','ÅÔÆ»Éܸ©',18,'now()','now()', $dsn); 
     979        lfInsertCSVData(4,'order_addr01','½»½ê1',19,'now()','now()', $dsn); 
     980        lfInsertCSVData(4,'order_addr02','½»½ê2',20,'now()','now()', $dsn); 
     981        lfInsertCSVData(4,'order_sex','À­ÊÌ',21,'now()','now()', $dsn); 
     982        lfInsertCSVData(4,'order_birth','À¸Ç¯·îÆü',22,'now()','now()', $dsn); 
     983        lfInsertCSVData(4,'order_job','¿¦¼ï',23,'now()','now()', $dsn); 
     984        lfInsertCSVData(4,'deliv_name01','ÇÛÁ÷Àè̾Á°',24,'now()','now()', $dsn); 
     985        lfInsertCSVData(4,'deliv_name02','ÇÛÁ÷Àè̾Á°',25,'now()','now()', $dsn); 
     986        lfInsertCSVData(4,'deliv_kana01','ÇÛÁ÷À襫¥Ê',26,'now()','now()', $dsn); 
     987        lfInsertCSVData(4,'deliv_kana02','ÇÛÁ÷À襫¥Ê',27,'now()','now()', $dsn); 
     988        lfInsertCSVData(4,'deliv_tel01','ÅÅÏÃÈÖ¹æ1',28,'now()','now()', $dsn); 
     989        lfInsertCSVData(4,'deliv_tel02','ÅÅÏÃÈÖ¹æ2',29,'now()','now()', $dsn); 
     990        lfInsertCSVData(4,'deliv_tel03','ÅÅÏÃÈÖ¹æ3',30,'now()','now()', $dsn); 
     991        lfInsertCSVData(4,'deliv_fax01','FAX1',31,'now()','now()', $dsn); 
     992        lfInsertCSVData(4,'deliv_fax02','FAX2',32,'now()','now()', $dsn); 
     993        lfInsertCSVData(4,'deliv_fax03','FAX3',33,'now()','now()', $dsn); 
     994        lfInsertCSVData(4,'deliv_zip01','͹ÊØÈÖ¹æ1',34,'now()','now()', $dsn); 
     995        lfInsertCSVData(4,'deliv_zip02','͹ÊØÈÖ¹æ2',35,'now()','now()', $dsn); 
     996        lfInsertCSVData(4,'deliv_pref','ÅÔÆ»Éܸ©',36,'now()','now()', $dsn); 
     997        lfInsertCSVData(4,'deliv_addr01','½»½ê1',37,'now()','now()', $dsn); 
     998        lfInsertCSVData(4,'deliv_addr02','½»½ê2',38,'now()','now()', $dsn); 
     999        lfInsertCSVData(4,'payment_total','¤ª»Ùʧ¤¤¹ç·×',39,'now()','now()', $dsn); 
    10001000    } 
    10011001} 
    10021002 
    10031003// CSV¥Æ¡¼¥Ö¥ë¤Ø¤Î¥Ç¡¼¥¿¤ÎÄɲà
    1004 function lfInsertCSVData($csv_id,$col,$disp_name,$rank,$create_date,$update_date) { 
     1004function lfInsertCSVData($csv_id,$col,$disp_name,$rank,$create_date,$update_date, $dsn) { 
    10051005    $sql = "insert into dtb_csv(csv_id,col,disp_name,rank,create_date,update_date) values($csv_id,'$col','$disp_name',$rank,$create_date,$update_date);"; 
    1006     sfDataExists("dtb_csv", "csv_id = ? AND col = ?", array($csv_id, $col), $dsn = "", $sql, true); 
     1006    sfDataExists("dtb_csv", "csv_id = ? AND col = ?", array($csv_id, $col), $dsn, $sql, true); 
    10071007} 
    10081008?> 
Note: See TracChangeset for help on using the changeset viewer.