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

Revision 20809, 6.5 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
24<!--{$GLOBAL_ERR}-->
25<noscript>
26  <p>JavaScript を有効にしてご利用下さい.</p>
27</noscript>
28
29<a name="top" id="top"></a>
30
31<!--{* ▼HeaderHeaderTop COLUMN*}-->
32    <!--{if $arrPageLayout.HeaderTopNavi|@count > 0}-->
33        <div>
34            <!--{* ▼上ナビ *}-->
35            <!--{foreach key=HeaderTopNaviKey item=HeaderTopNaviItem from=$arrPageLayout.HeaderTopNavi}-->
36                <!-- ▼<!--{$HeaderTopNaviItem.bloc_name}--> -->
37                <!--{if $HeaderTopNaviItem.php_path != ""}-->
38                    <!--{include_php file=$HeaderTopNaviItem.php_path items=$HeaderTopNaviItem}-->
39                <!--{else}-->
40                    <!--{include file=$HeaderTopNaviItem.tpl_path items=$HeaderTopNaviItem}-->
41                <!--{/if}-->
42                <!-- ▲<!--{$HeaderTopNaviItem.bloc_name}--> -->
43            <!--{/foreach}-->
44            <!--{* ▲上ナビ *}-->
45        </div>
46    <!--{/if}-->
47<!--{* ▲HeaderHeaderTop COLUMN*}-->
48<!--{* ▼HEADER *}-->
49<!--{if $arrPageLayout.header_chk != 2}-->
50        <!--{include file= $header_tpl}-->
51<!--{/if}-->
52<!--{* ▲HEADER *}-->
53
54
55<!--{* ▼TOP COLUMN*}-->
56<!--{if $arrPageLayout.TopNavi|@count > 0}-->
57            <div>
58                <!--{* ▼上ナビ *}-->
59                <!--{foreach key=TopNaviKey item=TopNaviItem from=$arrPageLayout.TopNavi}-->
60                    <!-- ▼<!--{$TopNaviItem.bloc_name}--> -->
61                    <!--{if $TopNaviItem.php_path != ""}-->
62                        <!--{include_php file=$TopNaviItem.php_path items=$TopNaviItem}-->
63                    <!--{else}-->
64                        <!--{include file=$TopNaviItem.tpl_path items=$TopNaviItem}-->
65                    <!--{/if}-->
66                    <!-- ▲<!--{$TopNaviItem.bloc_name}--> -->
67                <!--{/foreach}-->
68                <!--{* ▲上ナビ *}-->
69            </div>
70<!--{/if}-->
71<!--{* ▲TOP COLUMN*}-->
72
73<!--{* ▼CENTER COLUMN *}-->
74        <div>
75            <!--{* ▼メイン上部 *}-->
76            <!--{if $arrPageLayout.MainHead|@count > 0}-->
77                <!--{foreach key=MainHeadKey item=MainHeadItem from=$arrPageLayout.MainHead}-->
78                    <!-- ▼<!--{$MainHeadItem.bloc_name}--> -->
79                    <!--{if $MainHeadItem.php_path != ""}-->
80                        <!--{include_php file=$MainHeadItem.php_path items=$MainHeadItem}-->
81                    <!--{else}-->
82                        <!--{include file=$MainHeadItem.tpl_path items=$MainHeadItem}-->
83                    <!--{/if}-->
84                    <!-- ▲<!--{$MainHeadItem.bloc_name}--> -->
85                <!--{/foreach}-->
86            <!--{/if}-->
87            <!--{* ▲メイン上部 *}-->
88
89            <!--{* ▼メイン *}-->
90            <!--{include file=$tpl_mainpage}-->
91            <!--{* ▲メイン *}-->
92
93            <!--{* ▼メイン下部 *}-->
94            <!--{if $arrPageLayout.MainFoot|@count > 0}-->
95                <!--{foreach key=MainFootKey item=MainFootItem from=$arrPageLayout.MainFoot}-->
96                    <!-- ▼<!--{$MainFootItem.bloc_name}--> -->
97                    <!--{if $MainFootItem.php_path != ""}-->
98                        <!--{include_php file=$MainFootItem.php_path items=$MainFootItem}-->
99                    <!--{else}-->
100                        <!--{include file=$MainFootItem.tpl_path items=$MainFootItem}-->
101                    <!--{/if}-->
102                    <!-- ▲<!--{$MainFootItem.bloc_name}--> -->
103                <!--{/foreach}-->
104            <!--{/if}-->
105            <!--{* ▲メイン下部 *}-->
106        </div>
107<!--{* ▲CENTER COLUMN *}-->
108
109<!--{* ▼BOTTOM COLUMN*}-->
110        <!--{if $arrPageLayout.BottomNavi|@count > 0}-->
111            <div>
112                <!--{* ▼下ナビ *}-->
113                <!--{foreach key=BottomNaviKey item=BottomNaviItem from=$arrPageLayout.BottomNavi}-->
114                    <!-- ▼<!--{$BottomNaviItem.bloc_name}--> -->
115                    <!--{if $BottomNaviItem.php_path != ""}-->
116                        <!--{include_php file=$BottomNaviItem.php_path items=$BottomNaviItem}-->
117                    <!--{else}-->
118                        <!--{include file=$BottomNaviItem.tpl_path items=$BottomNaviItem}-->
119                    <!--{/if}-->
120                    <!-- ▲<!--{$BottomNaviItem.bloc_name}--> -->
121                <!--{/foreach}-->
122                <!--{* ▲下ナビ *}-->
123            </div>
124        <!--{/if}-->
125<!--{* ▲BOTTOM COLUMN*}-->
126
127
128<!--{* ▼FOOTER *}-->
129<!--{if $arrPageLayout.footer_chk != 2}-->
130<!--{include file= './footer.tpl'}-->
131<!--{/if}-->
132<!--{* ▲FOOTER *}-->
133
134 <!--{* ▼FooterBottom COLUMN*}-->
135    <!--{if $arrPageLayout.FooterBottomNavi|@count > 0}-->
136        <div id="footerbottomcolumn">
137            <!--{* ▼上ナビ *}-->
138            <!--{foreach key=FooterBottomNaviKey item=FooterBottomNaviItem from=$arrPageLayout.FooterBottomNavi}-->
139                <!-- ▼<!--{$FooterBottomNaviItem.bloc_name}--> -->
140                <!--{if $FooterBottomNaviItem.php_path != ""}-->
141                    <!--{include_php file=$FooterBottomNaviItem.php_path items=$FooterBottomNaviItem}-->
142                <!--{else}-->
143                    <!--{include file=$FooterBottomNaviItem.tpl_path items=$FooterBottomNaviItem}-->
144                <!--{/if}-->
145                <!-- ▲<!--{$FooterBottomNaviItem.bloc_name}--> -->
146            <!--{/foreach}-->
147            <!--{* ▲上ナビ *}-->
148        </div>
149    <!--{/if}-->
150<!--{* ▲FooterBottom COLUMN*}-->
151
152</body>
153<!--{assign var=index value="`$smarty.const.ROOT_URLPATH``$smarty.const.DIR_INDEX_FILE`"}-->
154<!--{if $index != $smarty.server.PHP_SELF}-->
155    <script type="text/javascript" language="JavaScript">
156    //<![CDATA[
157    setTopButton("<!--{$smarty.const.HTTPS_URL}-->");
158    //]]>
159    </script>
160<!--{/if}-->
Note: See TracBrowser for help on using the repository browser.