1 | <!--{* |
---|
2 | * This file is part of EC-CUBE |
---|
3 | * |
---|
4 | * Copyright(c) 2000-2010 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 | <div id="block-calendar" class="bloc_outer"> |
---|
23 | <!--{section name=num loop=$arrCalendar}--> |
---|
24 | <!--{assign var=arrCal value=`$arrCalendar[num]`}--> |
---|
25 | <!--{section name=cnt loop=$arrCal}--> |
---|
26 | <!--{if $smarty.section.cnt.first}--> |
---|
27 | <table> |
---|
28 | <caption><!--{$arrCal[cnt].year}-->年<!--{$arrCal[cnt].month}-->月の定休日</caption> |
---|
29 | <thead><tr><th>日</th><th>月</th><th>火</th><th>水</th><th>木</th><th>金</th><th>土</th></tr></thead> |
---|
30 | <!--{/if}--> |
---|
31 | <!--{if $arrCal[cnt].first}--> |
---|
32 | <tr> |
---|
33 | <!--{/if}--> |
---|
34 | <!--{if !$arrCal[cnt].in_month}--> |
---|
35 | <td></td> |
---|
36 | <!--{elseif $arrCal[cnt].holiday}--> |
---|
37 | <td class="off"><!--{$arrCal[cnt].day}--></td> |
---|
38 | <!--{else}--> |
---|
39 | <td><!--{$arrCal[cnt].day}--></td> |
---|
40 | <!--{/if}--> |
---|
41 | <!--{if $arrCal[cnt].last}--> |
---|
42 | </tr> |
---|
43 | <!--{/if}--> |
---|
44 | <!--{/section}--> |
---|
45 | <!--{if $smarty.section.cnt.last}--> |
---|
46 | </table> |
---|
47 | <!--{/if}--> |
---|
48 | <!--{/section}--> |
---|
49 | </div> |
---|