Changeset 17073


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

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

Location:
branches/comu-ver2
Files:
120 added
5 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/admin/basis/subnavi.tpl

    r16582 r17073  
    4343    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
    4444        <tr><td class=<!--{if $tpl_subno != 'control'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./control.php" onMouseOver="naviStyleChange('control', '#a5a5a5')" <!--{if $tpl_subno != 'control'}-->onMouseOut="naviStyleChange('control', '#636469')"<!--{/if}--> id="control"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">サイト管理設定</span></a></td></tr> 
     45    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
    4546        <tr><td class=<!--{if $tpl_subno != 'parameter'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./parameter.php" onMouseOver="naviStyleChange('parameter', '#a5a5a5')" <!--{if $tpl_subno != 'parameter'}-->onMouseOut="naviStyleChange('parameter', '#636469')"<!--{/if}--> id="parameter"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">パラメータ設定</span></a></td></tr> 
     47    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
    4648        <tr><td class=<!--{if $tpl_subno != 'masterdata'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./masterdata.php" onMouseOver="naviStyleChange('masterdata', '#a5a5a5')" <!--{if $tpl_subno != 'masterdata'}-->onMouseOut="naviStyleChange('masterdata', '#636469')"<!--{/if}--> id="masterdata"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">マスタデータ管理</span></a></td></tr> 
     49    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
     50        <tr><td class=<!--{if $tpl_subno != 'holiday'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./holiday.php" onMouseOver="naviStyleChange('holiday', '#a5a5a5')" <!--{if $tpl_subno != 'holiday'}-->onMouseOut="naviStyleChange('holiday', '#636469')"<!--{/if}--> id="holiday"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">定休日管理</span></a></td></tr> 
    4751    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
    4852    <!--ナビ--> 
  • branches/comu-ver2/html/install/sql/create_table_mysql.sql

    r16926 r17073  
    2222    create_date datetime NOT NULL , 
    2323    update_date datetime NOT NULL, 
     24    del_flg  smallint NOT NULL DEFAULT 0 
     25) TYPE=InnoDB ; 
     26 
     27CREATE TABLE dtb_holiday ( 
     28    holiday_id auto_increment primary key NOT NULL, 
     29    title text NOT NULL, 
     30    month smallint NOT NULL, 
     31    day smallint NOT NULL, 
     32    rank int NOT NULL DEFAULT 0, 
     33    creator_id int NOT NULL, 
     34    create_date datetime NOT NULL, 
     35    update_date datetimep NOT NULL, 
    2436    del_flg  smallint NOT NULL DEFAULT 0 
    2537) TYPE=InnoDB ; 
  • branches/comu-ver2/html/install/sql/create_table_pgsql.sql

    r16867 r17073  
    1818    kiyaku_title text NOT NULL, 
    1919    kiyaku_text text NOT NULL, 
     20    rank int4 NOT NULL DEFAULT 0, 
     21    creator_id int4 NOT NULL, 
     22    create_date timestamp NOT NULL DEFAULT now(), 
     23    update_date timestamp NOT NULL, 
     24    del_flg  int2 NOT NULL DEFAULT 0 
     25); 
     26 
     27CREATE TABLE dtb_holiday ( 
     28    holiday_id serial NOT NULL, 
     29    title text NOT NULL, 
     30    month int2 NOT NULL, 
     31    day int2 NOT NULL, 
    2032    rank int4 NOT NULL DEFAULT 0, 
    2133    creator_id int4 NOT NULL, 
  • 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'); 
  • branches/comu-ver2/html/user_data/packages/default/css/index.css

    r16708 r17073  
    1 @charset "utf-8"; 
     1@charset "utf-8"; 
    22 
    33 
     
    1010 
    1111 
    12 /* ニュース 
     12/* 繝九Η繝シ繧ケ 
    1313----------------------------------------------- */ 
    1414div#newsarea { 
     
    3434 
    3535 
    36 /* おすすめ 
     36/* 縺翫☆縺吶a 
    3737----------------------------------------------- */ 
    3838div#recomendarea { 
     
    8181    font-size: 100%; 
    8282} 
     83 
     84/* ブロック - カレンダー 
     85----------------------------------------------- */ 
     86#block-calendar {border: 1px solid #CCCCCC;padding: 0 0 10px;} 
     87#block-calendar h2 { 
     88/* 
     89    height: 29px; 
     90    text-indent: -9999em; 
     91    background: url(../images/tit-calendar.gif) 0 0 no-repeat; 
     92*/ 
     93} 
     94#block-calendar table { 
     95    border-collapse: collapse; 
     96    margin: 0 auto 10px; 
     97    text-align:center; 
     98} 
     99#block-calendar th, #block-calendar td { 
     100    padding: 2px; 
     101    border: 1px solid #CCCCCC; 
     102} 
     103#block-calendar th { 
     104    background: #FF8144; 
     105    color: #FFFFFF; 
     106} 
     107#block-calendar .off { 
     108    background: #FFEECC; 
     109    color: #E04A00; 
     110} 
     111#block-calendar caption {color: #DD4400;} 
Note: See TracChangeset for help on using the changeset viewer.