Ignore:
Timestamp:
2008/02/25 18:51:06 (16 years ago)
Author:
Yammy
Message:

カレンダーブロックを追加(PEAR::Calendarクラス使用仕様)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/html/install/sql/insert_data.sql

    r17066 r17073  
    1313insert into dtb_bloc ( bloc_name, tpl_path, filename, php_path, del_flg, create_date, update_date ) values ('ログイン', 'bloc/login.tpl', 'login','frontparts/bloc/login.php', 1, now(), now()); 
    1414insert into dtb_bloc ( bloc_name, tpl_path, filename, php_path, del_flg, create_date, update_date ) values ('オススメ商品', 'bloc/best5.tpl', 'best5','frontparts/bloc/best5.php', 1, now(), now()); 
     15INSERT INTO dtb_bloc ( bloc_name, tpl_path, filename, php_path, del_flg, create_date, update_date ) VALUES ('カレンダー', 'bloc/calendar.tpl', 'calendar', 'frontparts/bloc/calendar.php', 1, now(), now()); 
     16 
    1517 
    1618insert into dtb_pagelayout (page_name,url,php_dir,tpl_dir,filename,edit_flg, create_date, update_date)values('TOPページ','index.php',' ','user_data/templates/','top',2,now(),now()); 
     
    453455VALUES ('第12条(準拠法、管轄裁判所)','本規約に関して紛争が生じた場合、当社本店所在地を管轄する地方裁判所を第一審の専属的合意管轄裁判所とします。 ', 
    4544561,0,Now(),0, now()); 
     457 
     458 
     459INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     460VALUES ('元旦(1月1日)','1', '1' ,100, 0, now(), 0, now()); 
     461INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     462VALUES ('成人の日(1月第2月曜日)','1', '14' ,98, 0, now(), 0, now()); 
     463INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     464VALUES ('建国記念の日(2月11日)','2', '11' ,96, 0, now(), 0, now()); 
     465INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     466VALUES ('春分の日(3月21日)','3', '21' ,94, 0, now(), 0, now()); 
     467INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     468VALUES ('昭和の日(4月29日)','4', '29' ,92, 0, now(), 0, now()); 
     469INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     470VALUES ('憲法記念日(5月3日)','5', '3' ,90, 0, now(), 0, now()); 
     471INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     472VALUES ('みどりの日(5月4日)','5', '4' ,88, 0, now(), 0, now()); 
     473INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     474VALUES ('こどもの日(5月5日)','5', '5' ,86, 0, now(), 0, now()); 
     475INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     476VALUES ('海の日(7月第3月曜日)','7', '21' ,84, 0, now(), 0, now()); 
     477INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     478VALUES ('敬老の日(9月第3月曜日)','9', '15' ,82, 0, now(), 0, now()); 
     479INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     480VALUES ('秋分の日(9月23日)','9', '23' ,80, 0, now(), 0, now()); 
     481INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     482VALUES ('体育の日(10月第2月曜日)','10', '13' ,78, 0, now(), 0, now()); 
     483INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     484VALUES ('文化の日(11月3日)','11', '3' ,76, 0, now(), 0, now()); 
     485INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     486VALUES ('勤労感謝の日(11月23日)','11', '23' ,74, 0, now(), 0, now()); 
     487INSERT INTO dtb_holiday (title, month, day, rank, creator_id, update_date, del_flg, create_date) 
     488VALUES ('天皇誕生日(12月23日)','12', '23' ,72, 0, now(), 0, now()); 
     489 
    455490 
    456491INSERT INTO mtb_pref (pref_id, pref_name, rank) VALUES ('1', '北海道', '1'); 
Note: See TracChangeset for help on using the changeset viewer.