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

Revision 22930, 8.5 KB checked in by Seasoft, 11 years ago (diff)

#2140 (標準テンプレートのカスタマイズ性を高める)
#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

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