source: branches/version-2_12-multilang/data/Smarty/templates/sphone/abouts/index.tpl @ 22205

Revision 22205, 4.7 KB checked in by m_uehara, 8 years ago (diff)

#2004 郵便番号を2カラムから1カラムに変更しました。

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24
25<!--{assign var=_site value=$arrSiteInfo}-->
26<!--{if $_site.latitude && $_site.longitude}-->
27    <script type="text/javascript">//<![CDATA[
28        $(function() {
29            $("#maps").css({
30                'margin-top': '15px',
31                'margin-left': 'auto',
32                'margin-right': 'auto',
33                'width': '98%',
34                'height': '300px'
35            });
36            var lat = <!--{$_site.latitude}-->
37            var lng = <!--{$_site.longitude}-->
38            if (lat && lng) {
39                var latlng = new google.maps.LatLng(lat, lng);
40                var mapOptions = {zoom: 15,
41                center: latlng,
42                mapTypeId: google.maps.MapTypeId.ROADMAP};
43                var map = new google.maps.Map($("#maps").get(0), mapOptions);
44                var marker = new google.maps.Marker({map: map, position: latlng});
45            } else {
46                $("#maps").remove();
47            }
48        });
49    //]]></script>
50<!--{/if}-->
51
52<section id="undercolumn">
53    <!--☆当サイトについて -->
54    <h2 class="title"><!--{$tpl_title|h}--></h2>
55
56    <dl class="form_info">
57        <!--{if strlen($objSiteInfo->data.shop_name)}-->
58            <dt>店名</dt>
59            <dd><!--{$objSiteInfo->data.shop_name|h}--></dd>
60        <!--{/if}-->
61
62        <!--{if strlen($objSiteInfo->data.company_name)}-->
63            <dt>会社名</dt>
64            <dd><!--{$objSiteInfo->data.company_name|h}--></dd>
65        <!--{/if}-->
66
67        <!--{*
68        <!--{if strlen($objSiteInfo->data.zip01)}-->
69            <dt>所在地</dt>
70            <dd>〒<!--{$objSiteInfo->data.zip01|h}-->-<!--{$objSiteInfo->data.zip02|h}--><br />
71                <!--{$objSiteInfo->data.pref|h}--><!--{$objSiteInfo->data.addr01|h}--><!--{$objSiteInfo->data.addr02|h}--></dd>
72        <!--{/if}-->
73        *}-->
74        <!--{if strlen($objSiteInfo->data.zipcode)}-->
75            <dt>所在地</dt>
76            <dd>〒<!--{$objSiteInfo->data.zipcode|h}--><br />
77                <!--{$objSiteInfo->data.pref|h}--><!--{$objSiteInfo->data.addr01|h}--><!--{$objSiteInfo->data.addr02|h}--></dd>
78        <!--{/if}-->
79
80        <!--{if strlen($objSiteInfo->data.tel01)}-->
81            <dt>電話番号</dt>
82            <dd><!--{$objSiteInfo->data.tel01|h}-->-<!--{$objSiteInfo->data.tel02|h}-->-<!--{$objSiteInfo->data.tel03|h}--></dd>
83        <!--{/if}-->
84
85        <!--{if strlen($objSiteInfo->data.fax01)}-->
86            <dt>FAX番号</dt>
87            <dd><!--{$objSiteInfo->data.fax01|h}-->-<!--{$objSiteInfo->data.fax02|h}-->-<!--{$objSiteInfo->data.fax03|h}--></dd>
88        <!--{/if}-->
89
90        <!--{if strlen($objSiteInfo->data.email02)}-->
91            <dt>メールアドレス</dt>
92            <dd><a href="mailto:<!--{$objSiteInfo->data.email02|escape:'hex'}-->" rel="external"><!--{$objSiteInfo->data.email02|escape:'hexentity'}--></a></dd>
93        <!--{/if}-->
94
95        <!--{if strlen($objSiteInfo->data.business_hour)}-->
96            <dt>営業時間</dt>
97            <dd><!--{$objSiteInfo->data.business_hour|h}--></dd>
98        <!--{/if}-->
99
100        <!--{if strlen($objSiteInfo->data.good_traded)}-->
101            <dt>取扱商品</dt>
102            <dd><!--{$objSiteInfo->data.good_traded|h|nl2br}--></dd>
103        <!--{/if}-->
104
105        <!--{if strlen($objSiteInfo->data.message)}-->
106            <dt>メッセージ</dt>
107            <dd><!--{$objSiteInfo->data.message|h|nl2br}--></dd>
108        <!--{/if}-->
109    </dl>
110
111    <!--☆MAP -->
112    <div id="maps"></div>
113</section>
114
115<!--▼検索バー -->
116<section id="search_area">
117    <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php">
118        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
119        <input type="hidden" name="mode" value="search" />
120        <input type="search" name="name" id="search" value="" placeholder="キーワードを入力" class="searchbox" >
121    </form>
122</section>
123<!--▲検索バー -->
124
Note: See TracBrowser for help on using the repository browser.