1 | <!--{* |
---|
2 | * This file is part of EC-CUBE |
---|
3 | * |
---|
4 | * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved. |
---|
5 | * |
---|
6 | * http://www.lockon.co.jp/ |
---|
7 | * |
---|
8 | * This program is free software; you can redistribute it and/or |
---|
9 | * modify it under the terms of the GNU General Public License |
---|
10 | * as published by the Free Software Foundation; either version 2 |
---|
11 | * of the License, or (at your option) any later version. |
---|
12 | * |
---|
13 | * This program is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | * GNU General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU General Public License |
---|
19 | * along with this program; if not, write to the Free Software |
---|
20 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
21 | *}--> |
---|
22 | |
---|
23 | <div class="block_outer"> |
---|
24 | <div id="calender_area"> |
---|
25 | <h2><img src="<!--{$TPL_URLPATH}-->img/title/tit_bloc_calender.gif" alt="Calendar" /></h2> |
---|
26 | <div class="block_body"> |
---|
27 | <!--{section name=num loop=$arrCalendar}--> |
---|
28 | <!--{assign var=arrCal value=`$arrCalendar[num]`}--> |
---|
29 | <!--{section name=cnt loop=$arrCal}--> |
---|
30 | <!--{if $smarty.section.cnt.first}--> |
---|
31 | <table> |
---|
32 | <caption class="month"><!--{$arrCal[cnt].year}-->年<!--{$arrCal[cnt].month}-->月の定休日</caption> |
---|
33 | <thead><tr><th>Sunday</th><th>Monday</th><th>Tuesday</th><th>Wednesday</th><th>Thursday</th><th>Friday</th><th>Saturday</th></tr></thead> |
---|
34 | <!--{/if}--> |
---|
35 | <!--{if $arrCal[cnt].first}--> |
---|
36 | <tr> |
---|
37 | <!--{/if}--> |
---|
38 | <!--{if !$arrCal[cnt].in_month}--> |
---|
39 | <td></td> |
---|
40 | <!--{elseif $arrCal[cnt].holiday}--> |
---|
41 | <td class="off<!--{if $arrCal[cnt].today}--> today<!--{/if}-->"><!--{$arrCal[cnt].day}--></td> |
---|
42 | <!--{else}--> |
---|
43 | <td<!--{if $arrCal[cnt].today}--> class="today"<!--{/if}-->><!--{$arrCal[cnt].day}--></td> |
---|
44 | <!--{/if}--> |
---|
45 | <!--{if $arrCal[cnt].last}--> |
---|
46 | </tr> |
---|
47 | <!--{/if}--> |
---|
48 | <!--{/section}--> |
---|
49 | <!--{if $smarty.section.cnt.last}--> |
---|
50 | </table> |
---|
51 | <!--{/if}--> |
---|
52 | <!--{/section}--> |
---|
53 | <p class="information">* Holidays are indicated in red</p> |
---|
54 | </div> |
---|
55 | |
---|
56 | </div> |
---|
57 | </div> |
---|