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

Revision 20809, 8.9 KB checked in by kimoto, 13 years ago (diff)

ブロックの情報をphpに渡すように修正

  • 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    <!--{* ▼CONTENTS *}-->
60    <div id="container" class="clearfix">
61
62        <!--{* ▼TOP COLUMN*}-->
63        <!--{if $arrPageLayout.TopNavi|@count > 0}-->
64            <div id="topcolumn">
65                <!--{* ▼上ナビ *}-->
66                <!--{foreach key=TopNaviKey item=TopNaviItem from=$arrPageLayout.TopNavi}-->
67                    <!-- ▼<!--{$TopNaviItem.bloc_name}--> -->
68                    <!--{if $TopNaviItem.php_path != ""}-->
69                        <!--{include_php file=$TopNaviItem.php_path items=$TopNaviItem}-->
70                    <!--{else}-->
71                        <!--{include file=$TopNaviItem.tpl_path items=$TopNaviItem}-->
72                    <!--{/if}-->
73                    <!-- ▲<!--{$TopNaviItem.bloc_name}--> -->
74                <!--{/foreach}-->
75                <!--{* ▲上ナビ *}-->
76            </div>
77        <!--{/if}-->
78        <!--{* ▲TOP COLUMN*}-->
79
80        <!--{* ▼LEFT COLUMN *}-->
81        <!--{if $arrPageLayout.LeftNavi|@count > 0}-->
82            <div id="leftcolumn" class="side_column">
83                <!--{* ▼左ナビ *}-->
84                <!--{foreach key=LeftNaviKey item=LeftNaviItem from=$arrPageLayout.LeftNavi}-->
85                    <!-- ▼<!--{$LeftNaviItem.bloc_name}--> -->
86                    <!--{if $LeftNaviItem.php_path != ""}-->
87                        <!--{include_php file=$LeftNaviItem.php_path items=$LeftNaviItem}-->
88                    <!--{else}-->
89                        <!--{include file=$LeftNaviItem.tpl_path items=$LeftNaviItem}-->
90                    <!--{/if}-->
91                    <!-- ▲<!--{$LeftNaviItem.bloc_name}--> -->
92                <!--{/foreach}-->
93                <!--{* ▲左ナビ *}-->
94            </div>
95        <!--{/if}-->
96        <!--{* ▲LEFT COLUMN *}-->
97
98        <!--{* ▼CENTER COLUMN *}-->
99        <div
100            <!--{if $tpl_column_num == 3}-->
101                id="three_maincolumn"
102            <!--{elseif $tpl_column_num == 2}-->
103                <!--{if $arrPageLayout.LeftNavi|@count == 0}-->
104                    id="two_maincolumn_left"
105                <!--{else}-->
106                    id="two_maincolumn_right"
107                <!--{/if}-->
108            <!--{elseif $tpl_column_num == 1}-->
109                id="one_maincolumn"
110            <!--{/if}-->
111            class="main_column"
112        >
113            <!--{* ▼メイン上部 *}-->
114            <!--{if $arrPageLayout.MainHead|@count > 0}-->
115                <!--{foreach key=MainHeadKey item=MainHeadItem from=$arrPageLayout.MainHead}-->
116                    <!-- ▼<!--{$MainHeadItem.bloc_name}--> -->
117                    <!--{if $MainHeadItem.php_path != ""}-->
118                        <!--{include_php file=$MainHeadItem.php_path items=$MainHeadItem}-->
119                    <!--{else}-->
120                        <!--{include file=$MainHeadItem.tpl_path items=$MainHeadItem}-->
121                    <!--{/if}-->
122                    <!-- ▲<!--{$MainHeadItem.bloc_name}--> -->
123                <!--{/foreach}-->
124            <!--{/if}-->
125            <!--{* ▲メイン上部 *}-->
126
127            <!--{* ▼メイン *}-->
128            <!--{include file=$tpl_mainpage}-->
129            <!--{* ▲メイン *}-->
130
131            <!--{* ▼メイン下部 *}-->
132            <!--{if $arrPageLayout.MainFoot|@count > 0}-->
133                <!--{foreach key=MainFootKey item=MainFootItem from=$arrPageLayout.MainFoot}-->
134                    <!-- ▼<!--{$MainFootItem.bloc_name}--> -->
135                    <!--{if $MainFootItem.php_path != ""}-->
136                        <!--{include_php file=$MainFootItem.php_path items=$MainFootItem}-->
137                    <!--{else}-->
138                        <!--{include file=$MainFootItem.tpl_path items=$MainFootItem}-->
139                    <!--{/if}-->
140                    <!-- ▲<!--{$MainFootItem.bloc_name}--> -->
141                <!--{/foreach}-->
142            <!--{/if}-->
143            <!--{* ▲メイン下部 *}-->
144        </div>
145        <!--{* ▲CENTER COLUMN *}-->
146
147        <!--{* ▼RIGHT COLUMN *}-->
148        <!--{if $arrPageLayout.RightNavi|@count > 0}-->
149            <div id="rightcolumn" class="side_column">
150                <!--{* ▼右ナビ *}-->
151                <!--{foreach key=RightNaviKey item=RightNaviItem from=$arrPageLayout.RightNavi}-->
152                    <!-- ▼<!--{$RightNaviItem.bloc_name}--> -->
153                    <!--{if $RightNaviItem.php_path != ""}-->
154                        <!--{include_php file=$RightNaviItem.php_path items=$RightNaviItem}-->
155                    <!--{else}-->
156                        <!--{include file=$RightNaviItem.tpl_path items=$RightNaviItem}-->
157                    <!--{/if}-->
158                    <!-- ▲<!--{$RightNaviItem.bloc_name}--> -->
159                <!--{/foreach}-->
160                <!--{* ▲右ナビ *}-->
161            </div>
162        <!--{/if}-->
163        <!--{* ▲RIGHT COLUMN *}-->
164
165        <!--{* ▼BOTTOM COLUMN*}-->
166        <!--{if $arrPageLayout.BottomNavi|@count > 0}-->
167            <div id="bottomcolumn">
168                <!--{* ▼下ナビ *}-->
169                <!--{foreach key=BottomNaviKey item=BottomNaviItem from=$arrPageLayout.BottomNavi}-->
170                    <!-- ▼<!--{$BottomNaviItem.bloc_name}--> -->
171                    <!--{if $BottomNaviItem.php_path != ""}-->
172                        <!--{include_php file=$BottomNaviItem.php_path items=$BottomNaviItem}-->
173                    <!--{else}-->
174                        <!--{include file=$BottomNaviItem.tpl_path items=$BottomNaviItem}-->
175                    <!--{/if}-->
176                    <!-- ▲<!--{$BottomNaviItem.bloc_name}--> -->
177                <!--{/foreach}-->
178                <!--{* ▲下ナビ *}-->
179            </div>
180        <!--{/if}-->
181        <!--{* ▲BOTTOM COLUMN*}-->
182
183    </div>
184    <!--{* ▲CONTENTS *}-->
185
186    <!--{* ▼FOOTER *}-->
187    <!--{if $arrPageLayout.footer_chk != 2}-->
188        <!--{include file=$footer_tpl}-->
189    <!--{/if}-->
190    <!--{* ▲FOOTER *}-->
191    <!--{* ▼FooterBottom COLUMN*}-->
192    <!--{if $arrPageLayout.FooterBottomNavi|@count > 0}-->
193        <div id="footerbottomcolumn">
194            <!--{* ▼上ナビ *}-->
195            <!--{foreach key=FooterBottomNaviKey item=FooterBottomNaviItem from=$arrPageLayout.FooterBottomNavi}-->
196                <!-- ▼<!--{$FooterBottomNaviItem.bloc_name}--> -->
197                <!--{if $FooterBottomNaviItem.php_path != ""}-->
198                    <!--{include_php file=$FooterBottomNaviItem.php_path items=$FooterBottomNaviItem}-->
199                <!--{else}-->
200                    <!--{include file=$FooterBottomNaviItem.tpl_path items=$FooterBottomNaviItem}-->
201                <!--{/if}-->
202                <!-- ▲<!--{$FooterBottomNaviItem.bloc_name}--> -->
203            <!--{/foreach}-->
204            <!--{* ▲上ナビ *}-->
205        </div>
206    <!--{/if}-->
207    <!--{* ▲FooterBottom COLUMN*}-->
208</div>
209
210</body>
Note: See TracBrowser for help on using the repository browser.