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 | <!--{if $objSiteInfo->data.latitude && $objSiteInfo->data.longitude}--> |
---|
26 | <script type="text/javascript">//<![CDATA[ |
---|
27 | $(function() { |
---|
28 | $("#maps").css({ |
---|
29 | 'margin-top': '15px', |
---|
30 | 'margin-left': 'auto', |
---|
31 | 'margin-right': 'auto', |
---|
32 | 'width': '98%', |
---|
33 | 'height': '300px' |
---|
34 | }); |
---|
35 | var lat = <!--{$objSiteInfo->data.latitude}--> |
---|
36 | var lng = <!--{$objSiteInfo->data.longitude}--> |
---|
37 | if (lat && lng) { |
---|
38 | var latlng = new google.maps.LatLng(lat, lng); |
---|
39 | var mapOptions = { |
---|
40 | zoom: 15, |
---|
41 | center: latlng, |
---|
42 | mapTypeId: google.maps.MapTypeId.ROADMAP |
---|
43 | }; |
---|
44 | var map = new google.maps.Map($("#maps").get(0), mapOptions); |
---|
45 | var marker = new google.maps.Marker({map: map, position: latlng}); |
---|
46 | } else { |
---|
47 | $("#maps").remove(); |
---|
48 | } |
---|
49 | }); |
---|
50 | //]]></script> |
---|
51 | <!--{/if}--> |
---|
52 | <div id="undercolumn"> |
---|
53 | |
---|
54 | <div id="undercolumn_aboutus"> |
---|
55 | <h2 class="title"><!--{$tpl_title|h}--></h2> |
---|
56 | |
---|
57 | <table summary="当サイトについて"> |
---|
58 | <col width="20%" /> |
---|
59 | <col width="80%" /> |
---|
60 | <!--{if strlen($objSiteInfo->data.shop_name)}--> |
---|
61 | <tr> |
---|
62 | <th>店名</th> |
---|
63 | <td><!--{$objSiteInfo->data.shop_name|h}--></td> |
---|
64 | </tr> |
---|
65 | <!--{/if}--> |
---|
66 | |
---|
67 | <!--{if strlen($objSiteInfo->data.company_name)}--> |
---|
68 | <tr> |
---|
69 | <th>会社名</th> |
---|
70 | <td><!--{$objSiteInfo->data.company_name|h}--></td> |
---|
71 | </tr> |
---|
72 | <!--{/if}--> |
---|
73 | |
---|
74 | <!--{if strlen($objSiteInfo->data.zip01)}--> |
---|
75 | <tr> |
---|
76 | <th>所在地</th> |
---|
77 | <td>〒<!--{$objSiteInfo->data.zip01|h}-->-<!--{$objSiteInfo->data.zip02|h}--><br /><!--{$objSiteInfo->data.pref|h}--><!--{$objSiteInfo->data.addr01|h}--><!--{$objSiteInfo->data.addr02|h}--></td> |
---|
78 | </tr> |
---|
79 | <!--{/if}--> |
---|
80 | |
---|
81 | <!--{if strlen($objSiteInfo->data.tel01)}--> |
---|
82 | <tr> |
---|
83 | <th>電話番号</th> |
---|
84 | <td><!--{$objSiteInfo->data.tel01|h}-->-<!--{$objSiteInfo->data.tel02|h}-->-<!--{$objSiteInfo->data.tel03|h}--></td> |
---|
85 | </tr> |
---|
86 | <!--{/if}--> |
---|
87 | |
---|
88 | <!--{if strlen($objSiteInfo->data.fax01)}--> |
---|
89 | <tr> |
---|
90 | <th>FAX番号</th> |
---|
91 | <td><!--{$objSiteInfo->data.fax01|h}-->-<!--{$objSiteInfo->data.fax02|h}-->-<!--{$objSiteInfo->data.fax03|h}--></td> |
---|
92 | </tr> |
---|
93 | <!--{/if}--> |
---|
94 | |
---|
95 | <!--{if strlen($objSiteInfo->data.email02)}--> |
---|
96 | <tr> |
---|
97 | <th>メールアドレス</th> |
---|
98 | <td><a href="mailto:<!--{$objSiteInfo->data.email02|escape:'hex'}-->"><!--{$objSiteInfo->data.email02|escape:'hexentity'}--></a></td> |
---|
99 | </tr> |
---|
100 | <!--{/if}--> |
---|
101 | |
---|
102 | <!--{if strlen($objSiteInfo->data.business_hour)}--> |
---|
103 | <tr> |
---|
104 | <th>営業時間</th> |
---|
105 | <td><!--{$objSiteInfo->data.business_hour|h}--></td> |
---|
106 | </tr> |
---|
107 | <!--{/if}--> |
---|
108 | |
---|
109 | <!--{if strlen($objSiteInfo->data.good_traded)}--> |
---|
110 | <tr> |
---|
111 | <th>取扱商品</th> |
---|
112 | <td><!--{$objSiteInfo->data.good_traded|h|nl2br}--></td> |
---|
113 | </tr> |
---|
114 | <!--{/if}--> |
---|
115 | |
---|
116 | <!--{if strlen($objSiteInfo->data.message)}--> |
---|
117 | <tr> |
---|
118 | <th>メッセージ</th> |
---|
119 | <td><!--{$objSiteInfo->data.message|h|nl2br}--></td> |
---|
120 | </tr> |
---|
121 | <!--{/if}--> |
---|
122 | |
---|
123 | </table> |
---|
124 | |
---|
125 | <div id="maps"></div> |
---|
126 | </div> |
---|
127 | </div> |
---|