source: branches/version-2_13-dev/data/Smarty/templates/sphone/abouts/index.tpl @ 22824

Revision 22824, 4.3 KB checked in by Seasoft, 8 years ago (diff)

#2248 (PHP 警告撲滅 for 2.13.0)

  • 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-2013 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($arrSiteInfo.shop_name)}-->
58            <dt>店名</dt>
59            <dd><!--{$arrSiteInfo.shop_name|h}--></dd>
60        <!--{/if}-->
61
62        <!--{if strlen($arrSiteInfo.company_name)}-->
63            <dt>会社名</dt>
64            <dd><!--{$arrSiteInfo.company_name|h}--></dd>
65        <!--{/if}-->
66
67        <!--{if strlen($arrSiteInfo.zip01)}-->
68            <dt>所在地</dt>
69            <dd>〒<!--{$arrSiteInfo.zip01|h}-->-<!--{$arrSiteInfo.zip02|h}--><br />
70                <!--{$arrPref[$arrSiteInfo.pref]|h}--><!--{$arrSiteInfo.addr01|h}--><!--{$arrSiteInfo.addr02|h}--></dd>
71        <!--{/if}-->
72
73        <!--{if strlen($arrSiteInfo.tel01)}-->
74            <dt>電話番号</dt>
75            <dd><!--{$arrSiteInfo.tel01|h}-->-<!--{$arrSiteInfo.tel02|h}-->-<!--{$arrSiteInfo.tel03|h}--></dd>
76        <!--{/if}-->
77
78        <!--{if strlen($arrSiteInfo.fax01)}-->
79            <dt>FAX番号</dt>
80            <dd><!--{$arrSiteInfo.fax01|h}-->-<!--{$arrSiteInfo.fax02|h}-->-<!--{$arrSiteInfo.fax03|h}--></dd>
81        <!--{/if}-->
82
83        <!--{if strlen($arrSiteInfo.email02)}-->
84            <dt>メールアドレス</dt>
85            <dd><a href="mailto:<!--{$arrSiteInfo.email02|escape:'hex'}-->" rel="external"><!--{$arrSiteInfo.email02|escape:'hexentity'}--></a></dd>
86        <!--{/if}-->
87
88        <!--{if strlen($arrSiteInfo.business_hour)}-->
89            <dt>営業時間</dt>
90            <dd><!--{$arrSiteInfo.business_hour|h}--></dd>
91        <!--{/if}-->
92
93        <!--{if strlen($arrSiteInfo.good_traded)}-->
94            <dt>取扱商品</dt>
95            <dd><!--{$arrSiteInfo.good_traded|h|nl2br}--></dd>
96        <!--{/if}-->
97
98        <!--{if strlen($arrSiteInfo.message)}-->
99            <dt>メッセージ</dt>
100            <dd><!--{$arrSiteInfo.message|h|nl2br}--></dd>
101        <!--{/if}-->
102    </dl>
103
104    <!--☆MAP -->
105    <div id="maps"></div>
106</section>
107
108<!--▼検索バー -->
109<section id="search_area">
110    <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php">
111        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
112        <input type="hidden" name="mode" value="search" />
113        <input type="search" name="name" id="search" value="" placeholder="キーワードを入力" class="searchbox" >
114    </form>
115</section>
116<!--▲検索バー -->
117
Note: See TracBrowser for help on using the repository browser.