source: branches/version-2_12-dev/data/Smarty/templates/default/site_main.tpl @ 21537

Revision 21537, 8.8 KB checked in by Seasoft, 12 years ago (diff)

#1613 (ソース整形・ソースコメントの改善)

  • Property svn:eol-style set to LF
  • Property svn:executable set to *
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2011 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<body>
23<!--{* A8タグ表示用 *}-->
24<!--{if "sfPrintA8Tag"|function_exists === TRUE}-->
25    <!--{include file=`$smarty.const.MODULE_REALDIR`mdl_a8/print_a8_tag.tpl}-->
26<!--{/if}-->
27
28<!--{$GLOBAL_ERR}-->
29<noscript>
30    <p>JavaScript を有効にしてご利用下さい.</p>
31</noscript>
32
33<div class="frame_outer">
34    <a name="top" id="top"></a>
35
36    <!--{* ▼HeaderHeaderTop COLUMN*}-->
37    <!--{if $arrPageLayout.HeaderTopNavi|@count > 0}-->
38        <div id="headertopcolumn">
39            <!--{* ▼上ナビ *}-->
40            <!--{foreach key=HeaderTopNaviKey item=HeaderTopNaviItem from=$arrPageLayout.HeaderTopNavi}-->
41                <!-- ▼<!--{$HeaderTopNaviItem.bloc_name}--> -->
42                <!--{if $HeaderTopNaviItem.php_path != ""}-->
43                    <!--{include_php file=$HeaderTopNaviItem.php_path items=$HeaderTopNaviItem}-->
44                <!--{else}-->
45                    <!--{include file=$HeaderTopNaviItem.tpl_path items=$HeaderTopNaviItem}-->
46                <!--{/if}-->
47                <!-- ▲<!--{$HeaderTopNaviItem.bloc_name}--> -->
48            <!--{/foreach}-->
49            <!--{* ▲上ナビ *}-->
50        </div>
51    <!--{/if}-->
52    <!--{* ▲HeaderHeaderTop COLUMN*}-->
53    <!--{* ▼HEADER *}-->
54    <!--{if $arrPageLayout.header_chk != 2}-->
55        <!--{include file= $header_tpl}-->
56    <!--{/if}-->
57    <!--{* ▲HEADER *}-->
58
59    <div id="container" class="clearfix">
60
61        <!--{* ▼TOP COLUMN*}-->
62        <!--{if $arrPageLayout.TopNavi|@count > 0}-->
63            <div id="topcolumn">
64                <!--{* ▼上ナビ *}-->
65                <!--{foreach key=TopNaviKey item=TopNaviItem from=$arrPageLayout.TopNavi}-->
66                    <!-- ▼<!--{$TopNaviItem.bloc_name}--> -->
67                    <!--{if $TopNaviItem.php_path != ""}-->
68                        <!--{include_php file=$TopNaviItem.php_path items=$TopNaviItem}-->
69                    <!--{else}-->
70                        <!--{include file=$TopNaviItem.tpl_path items=$TopNaviItem}-->
71                    <!--{/if}-->
72                    <!-- ▲<!--{$TopNaviItem.bloc_name}--> -->
73                <!--{/foreach}-->
74                <!--{* ▲上ナビ *}-->
75            </div>
76        <!--{/if}-->
77        <!--{* ▲TOP COLUMN*}-->
78
79        <!--{* ▼LEFT COLUMN *}-->
80        <!--{if $arrPageLayout.LeftNavi|@count > 0}-->
81            <div id="leftcolumn" class="side_column">
82                <!--{* ▼左ナビ *}-->
83                <!--{foreach key=LeftNaviKey item=LeftNaviItem from=$arrPageLayout.LeftNavi}-->
84                    <!-- ▼<!--{$LeftNaviItem.bloc_name}--> -->
85                    <!--{if $LeftNaviItem.php_path != ""}-->
86                        <!--{include_php file=$LeftNaviItem.php_path items=$LeftNaviItem}-->
87                    <!--{else}-->
88                        <!--{include file=$LeftNaviItem.tpl_path items=$LeftNaviItem}-->
89                    <!--{/if}-->
90                    <!-- ▲<!--{$LeftNaviItem.bloc_name}--> -->
91                <!--{/foreach}-->
92                <!--{* ▲左ナビ *}-->
93            </div>
94        <!--{/if}-->
95        <!--{* ▲LEFT COLUMN *}-->
96
97        <!--{* ▼CENTER COLUMN *}-->
98        <div
99            <!--{if $tpl_column_num == 3}-->
100                id="three_maincolumn"
101            <!--{elseif $tpl_column_num == 2}-->
102                <!--{if $arrPageLayout.LeftNavi|@count == 0}-->
103                    id="two_maincolumn_left"
104                <!--{else}-->
105                    id="two_maincolumn_right"
106                <!--{/if}-->
107            <!--{elseif $tpl_column_num == 1}-->
108                id="one_maincolumn"
109            <!--{/if}-->
110            class="main_column"
111        >
112            <!--{* ▼メイン上部 *}-->
113            <!--{if $arrPageLayout.MainHead|@count > 0}-->
114                <!--{foreach key=MainHeadKey item=MainHeadItem from=$arrPageLayout.MainHead}-->
115                    <!-- ▼<!--{$MainHeadItem.bloc_name}--> -->
116                    <!--{if $MainHeadItem.php_path != ""}-->
117                        <!--{include_php file=$MainHeadItem.php_path items=$MainHeadItem}-->
118                    <!--{else}-->
119                        <!--{include file=$MainHeadItem.tpl_path items=$MainHeadItem}-->
120                    <!--{/if}-->
121                    <!-- ▲<!--{$MainHeadItem.bloc_name}--> -->
122                <!--{/foreach}-->
123            <!--{/if}-->
124            <!--{* ▲メイン上部 *}-->
125
126            <!-- ▼メイン -->
127            <!--{include file=$tpl_mainpage}-->
128            <!-- ▲メイン -->
129
130            <!--{* ▼メイン下部 *}-->
131            <!--{if $arrPageLayout.MainFoot|@count > 0}-->
132                <!--{foreach key=MainFootKey item=MainFootItem from=$arrPageLayout.MainFoot}-->
133                    <!-- ▼<!--{$MainFootItem.bloc_name}--> -->
134                    <!--{if $MainFootItem.php_path != ""}-->
135                        <!--{include_php file=$MainFootItem.php_path items=$MainFootItem}-->
136                    <!--{else}-->
137                        <!--{include file=$MainFootItem.tpl_path items=$MainFootItem}-->
138                    <!--{/if}-->
139                    <!-- ▲<!--{$MainFootItem.bloc_name}--> -->
140                <!--{/foreach}-->
141            <!--{/if}-->
142            <!--{* ▲メイン下部 *}-->
143        </div>
144        <!--{* ▲CENTER COLUMN *}-->
145
146        <!--{* ▼RIGHT COLUMN *}-->
147        <!--{if $arrPageLayout.RightNavi|@count > 0}-->
148            <div id="rightcolumn" class="side_column">
149                <!--{* ▼右ナビ *}-->
150                <!--{foreach key=RightNaviKey item=RightNaviItem from=$arrPageLayout.RightNavi}-->
151                    <!-- ▼<!--{$RightNaviItem.bloc_name}--> -->
152                    <!--{if $RightNaviItem.php_path != ""}-->
153                        <!--{include_php file=$RightNaviItem.php_path items=$RightNaviItem}-->
154                    <!--{else}-->
155                        <!--{include file=$RightNaviItem.tpl_path items=$RightNaviItem}-->
156                    <!--{/if}-->
157                    <!-- ▲<!--{$RightNaviItem.bloc_name}--> -->
158                <!--{/foreach}-->
159                <!--{* ▲右ナビ *}-->
160            </div>
161        <!--{/if}-->
162        <!--{* ▲RIGHT COLUMN *}-->
163
164        <!--{* ▼BOTTOM COLUMN*}-->
165        <!--{if $arrPageLayout.BottomNavi|@count > 0}-->
166            <div id="bottomcolumn">
167                <!--{* ▼下ナビ *}-->
168                <!--{foreach key=BottomNaviKey item=BottomNaviItem from=$arrPageLayout.BottomNavi}-->
169                    <!-- ▼<!--{$BottomNaviItem.bloc_name}--> -->
170                    <!--{if $BottomNaviItem.php_path != ""}-->
171                        <!--{include_php file=$BottomNaviItem.php_path items=$BottomNaviItem}-->
172                    <!--{else}-->
173                        <!--{include file=$BottomNaviItem.tpl_path items=$BottomNaviItem}-->
174                    <!--{/if}-->
175                    <!-- ▲<!--{$BottomNaviItem.bloc_name}--> -->
176                <!--{/foreach}-->
177                <!--{* ▲下ナビ *}-->
178            </div>
179        <!--{/if}-->
180        <!--{* ▲BOTTOM COLUMN*}-->
181
182    </div>
183
184    <!--{* ▼FOOTER *}-->
185    <!--{if $arrPageLayout.footer_chk != 2}-->
186        <!--{include file=$footer_tpl}-->
187    <!--{/if}-->
188    <!--{* ▲FOOTER *}-->
189    <!--{* ▼FooterBottom COLUMN*}-->
190    <!--{if $arrPageLayout.FooterBottomNavi|@count > 0}-->
191        <div id="footerbottomcolumn">
192            <!--{* ▼上ナビ *}-->
193            <!--{foreach key=FooterBottomNaviKey item=FooterBottomNaviItem from=$arrPageLayout.FooterBottomNavi}-->
194                <!-- ▼<!--{$FooterBottomNaviItem.bloc_name}--> -->
195                <!--{if $FooterBottomNaviItem.php_path != ""}-->
196                    <!--{include_php file=$FooterBottomNaviItem.php_path items=$FooterBottomNaviItem}-->
197                <!--{else}-->
198                    <!--{include file=$FooterBottomNaviItem.tpl_path items=$FooterBottomNaviItem}-->
199                <!--{/if}-->
200                <!-- ▲<!--{$FooterBottomNaviItem.bloc_name}--> -->
201            <!--{/foreach}-->
202            <!--{* ▲上ナビ *}-->
203        </div>
204    <!--{/if}-->
205    <!--{* ▲FooterBottom COLUMN*}-->
206</div>
207
208</body>
Note: See TracBrowser for help on using the repository browser.