1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2011 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 | <!--{if strlen($objSiteInfo->data.zip01)}--> |
---|
68 | <dt>所在地</dt> |
---|
69 | <dd>〒<!--{$objSiteInfo->data.zip01|h}-->-<!--{$objSiteInfo->data.zip02|h}--><br /> |
---|
70 | <!--{$objSiteInfo->data.pref|h}--><!--{$objSiteInfo->data.addr01|h}--><!--{$objSiteInfo->data.addr02|h}--></dd> |
---|
71 | <!--{/if}--> |
---|
72 | |
---|
73 | <!--{if strlen($objSiteInfo->data.tel01)}--> |
---|
74 | <dt>電話番号</dt> |
---|
75 | <dd><!--{$objSiteInfo->data.tel01|h}-->-<!--{$objSiteInfo->data.tel02|h}-->-<!--{$objSiteInfo->data.tel03|h}--></dd> |
---|
76 | <!--{/if}--> |
---|
77 | |
---|
78 | <!--{if strlen($objSiteInfo->data.fax01)}--> |
---|
79 | <dt>FAX番号</dt> |
---|
80 | <dd><!--{$objSiteInfo->data.fax01|h}-->-<!--{$objSiteInfo->data.fax02|h}-->-<!--{$objSiteInfo->data.fax03|h}--></dd> |
---|
81 | <!--{/if}--> |
---|
82 | |
---|
83 | <!--{if strlen($objSiteInfo->data.email02)}--> |
---|
84 | <dt>メールアドレス</dt> |
---|
85 | <dd><a href="mailto:<!--{$objSiteInfo->data.email02|escape:'hex'}-->" rel="external"><!--{$objSiteInfo->data.email02|escape:'hexentity'}--></a></dd> |
---|
86 | <!--{/if}--> |
---|
87 | |
---|
88 | <!--{if strlen($objSiteInfo->data.business_hour)}--> |
---|
89 | <dt>営業時間</dt> |
---|
90 | <dd><!--{$objSiteInfo->data.business_hour|h}--></dd> |
---|
91 | <!--{/if}--> |
---|
92 | |
---|
93 | <!--{if strlen($objSiteInfo->data.good_traded)}--> |
---|
94 | <dt>取扱商品</dt> |
---|
95 | <dd><!--{$objSiteInfo->data.good_traded|h|nl2br}--></dd> |
---|
96 | <!--{/if}--> |
---|
97 | |
---|
98 | <!--{if strlen($objSiteInfo->data.message)}--> |
---|
99 | <dt>メッセージ</dt> |
---|
100 | <dd><!--{$objSiteInfo->data.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 | |
---|