source: branches/comu-ver2/data/Smarty/templates/default/site_main.tpl @ 18194

Revision 18194, 7.4 KB checked in by miningbrownie, 15 years ago (diff)

ブロックを挿入できる箇所をさらに三個所追加、これでヘッダーの上下、フッターの上下、<head>タグ内へのブロック追加が可能になります。

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