Changeset 10820 for temp/branches


Ignore:
Timestamp:
2006/12/17 19:49:09 (20 years ago)
Author:
uehara
Message:
 
Location:
temp/branches/ec-cube-beta/html/install
Files:
2 edited

Legend:

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

    r10815 r10820  
    836836function lfAddData($dsn) { 
    837837    // CSV¥Æ¡¼¥Ö¥ë 
    838     $sql = "insert into dtb_csv(csv_id,col,disp_name,rank,create_date,update_date)values(1,'category_id','¥«¥Æ¥´¥êID',53,now(),now());"; 
    839     if(sfTabaleExists('dtb_csv', $dsn)) sfDataExists("dtb_csv", "csv_id = ? AND col = ?", array(1, 'category_id'), $dsn = "", $sql, true); 
     838    if(sfTabaleExists('dtb_csv', $dsn)) { 
     839        lfInsertData(1,'category_id','¥«¥Æ¥´¥êID',53,'now()','now()');       
     840        lfInsertData(4,'order_id','ÃíʸID',1,'now()','now()'); 
     841        lfInsertData(4,'campaign_id','¥­¥ã¥ó¥Ú¡¼¥óID',2,'now()','now()'); 
     842        lfInsertData(4,'customer_id','¸ÜµÒID',3,'now()','now()'); 
     843        lfInsertData(4,'message','Í×˾Åù',4,'now()','now()'); 
     844        lfInsertData(4,'order_name01','¸ÜµÒ̾1',5,'now()','now()'); 
     845        lfInsertData(4,'order_name02','¸ÜµÒ̾2',6,'now()','now()'); 
     846        lfInsertData(4,'order_kana01','¸ÜµÒ̾¥«¥Ê1',7,'now()','now()'); 
     847        lfInsertData(4,'order_kana02','¸ÜµÒ̾¥«¥Ê2',8,'now()','now()'); 
     848        lfInsertData(4,'order_email','¥á¡¼¥ë¥¢¥É¥ì¥¹',9,'now()','now()'); 
     849        lfInsertData(4,'order_tel01','ÅÅÏÃÈÖ¹æ1',10,'now()','now()'); 
     850        lfInsertData(4,'order_tel02','ÅÅÏÃÈÖ¹æ2',11,'now()','now()'); 
     851        lfInsertData(4,'order_tel03','ÅÅÏÃÈÖ¹æ3',12,'now()','now()'); 
     852        lfInsertData(4,'order_fax01','FAX1',13,'now()','now()'); 
     853        lfInsertData(4,'order_fax02','FAX2',14,'now()','now()'); 
     854        lfInsertData(4,'order_fax03','FAX3',15,'now()','now()'); 
     855        lfInsertData(4,'order_zip01','Í¹ÊØÈÖ¹æ1',16,'now()','now()'); 
     856        lfInsertData(4,'order_zip02','Í¹ÊØÈÖ¹æ2',17,'now()','now()'); 
     857        lfInsertData(4,'order_pref','ÅÔÆ»Éܸ©',18,'now()','now()'); 
     858        lfInsertData(4,'order_addr01','½»½ê1',19,'now()','now()'); 
     859        lfInsertData(4,'order_addr02','½»½ê2',20,'now()','now()'); 
     860        lfInsertData(4,'order_sex','À­ÊÌ',21,'now()','now()'); 
     861        lfInsertData(4,'order_birth','À¸Ç¯·îÆü',22,'now()','now()'); 
     862        lfInsertData(4,'order_job','¿¦¼ï',23,'now()','now()'); 
     863        lfInsertData(4,'deliv_name01','ÇÛÁ÷Àè̾Á°',24,'now()','now()'); 
     864        lfInsertData(4,'deliv_name02','ÇÛÁ÷Àè̾Á°',25,'now()','now()'); 
     865        lfInsertData(4,'deliv_kana01','ÇÛÁ÷À襫¥Ê',26,'now()','now()'); 
     866        lfInsertData(4,'deliv_kana02','ÇÛÁ÷À襫¥Ê',27,'now()','now()'); 
     867        lfInsertData(4,'deliv_tel01','ÅÅÏÃÈÖ¹æ1',28,'now()','now()'); 
     868        lfInsertData(4,'deliv_tel02','ÅÅÏÃÈÖ¹æ2',29,'now()','now()'); 
     869        lfInsertData(4,'deliv_tel03','ÅÅÏÃÈÖ¹æ3',30,'now()','now()'); 
     870        lfInsertData(4,'deliv_fax01','FAX1',31,'now()','now()'); 
     871        lfInsertData(4,'deliv_fax02','FAX2',32,'now()','now()'); 
     872        lfInsertData(4,'deliv_fax03','FAX3',33,'now()','now()'); 
     873        lfInsertData(4,'deliv_zip01','Í¹ÊØÈÖ¹æ1',34,'now()','now()'); 
     874        lfInsertData(4,'deliv_zip02','Í¹ÊØÈÖ¹æ2',35,'now()','now()'); 
     875        lfInsertData(4,'deliv_pref','ÅÔÆ»Éܸ©',36,'now()','now()'); 
     876        lfInsertData(4,'deliv_addr01','½»½ê1',37,'now()','now()'); 
     877        lfInsertData(4,'deliv_addr02','½»½ê2',38,'now()','now()'); 
     878        lfInsertData(4,'payment_total','¤ª»Ùʧ¤¤¹ç·×',39,'now()','now()'); 
     879    } 
     880} 
     881 
     882// ¥Ç¡¼¥¿¤ÎÄɲà
     883function lfInsertData($csv_id,$col,$disp_name,$rank,$create_date,$update_date) { 
     884    $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);"; 
     885    sfDataExists("dtb_csv", "csv_id = ? AND col = ?", array($csv_id, $col), $dsn = "", $sql, true); 
    840886} 
    841887?> 
Note: See TracChangeset for help on using the changeset viewer.