| 1 | <!--{* |
|---|
| 2 | /* |
|---|
| 3 | * This file is part of EC-CUBE |
|---|
| 4 | * |
|---|
| 5 | * Copyright(c) 2000-2010 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 | <!--▼CONTENTS--> |
|---|
| 25 | <!--{assign var=_site value=$arrSiteInfo}--> |
|---|
| 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 = <!--{$_site.latitude}--> |
|---|
| 36 | var lng = <!--{$_site.longitude}--> |
|---|
| 37 | if (lat && lng) { |
|---|
| 38 | var latlng = new google.maps.LatLng(lat, lng); |
|---|
| 39 | var mapOptions = {zoom: 15, |
|---|
| 40 | center: latlng, |
|---|
| 41 | mapTypeId: google.maps.MapTypeId.ROADMAP}; |
|---|
| 42 | var map = new google.maps.Map($("#maps").get(0), mapOptions); |
|---|
| 43 | var marker = new google.maps.Marker({map: map, position: latlng}); |
|---|
| 44 | } else { |
|---|
| 45 | $("#maps").remove(); |
|---|
| 46 | } |
|---|
| 47 | }); |
|---|
| 48 | //]]> |
|---|
| 49 | </script> |
|---|
| 50 | <div id="undercolumn"> |
|---|
| 51 | |
|---|
| 52 | <div id="undercolumn_aboutus"> |
|---|
| 53 | <h2 class="title"><!--{$tpl_title|escape}--></h2> |
|---|
| 54 | |
|---|
| 55 | <table summary="当サイトについて"> |
|---|
| 56 | |
|---|
| 57 | <!--{if strlen($objSiteInfo->data.shop_name)}--> |
|---|
| 58 | <tr> |
|---|
| 59 | <th>店名</th> |
|---|
| 60 | <td><!--{$objSiteInfo->data.shop_name|escape}--></td> |
|---|
| 61 | </tr> |
|---|
| 62 | <!--{/if}--> |
|---|
| 63 | |
|---|
| 64 | <!--{if strlen($objSiteInfo->data.company_name)}--> |
|---|
| 65 | <tr> |
|---|
| 66 | <th>会社名</th> |
|---|
| 67 | <td><!--{$objSiteInfo->data.company_name|escape}--></td> |
|---|
| 68 | </tr> |
|---|
| 69 | <!--{/if}--> |
|---|
| 70 | |
|---|
| 71 | <!--{if strlen($objSiteInfo->data.zip01)}--> |
|---|
| 72 | <tr> |
|---|
| 73 | <th>住所</th> |
|---|
| 74 | <td>〒<!--{$objSiteInfo->data.zip01|escape}-->-<!--{$objSiteInfo->data.zip02|escape}--><br /><!--{$objSiteInfo->data.pref|escape}--><!--{$objSiteInfo->data.addr01|escape}--><!--{$objSiteInfo->data.addr02|escape}--></td> |
|---|
| 75 | </tr> |
|---|
| 76 | <!--{/if}--> |
|---|
| 77 | |
|---|
| 78 | <!--{if strlen($objSiteInfo->data.tel01)}--> |
|---|
| 79 | <tr> |
|---|
| 80 | <th>電話番号</th> |
|---|
| 81 | <td><!--{$objSiteInfo->data.tel01|escape}-->-<!--{$objSiteInfo->data.tel02|escape}-->-<!--{$objSiteInfo->data.tel03|escape}--></td> |
|---|
| 82 | </tr> |
|---|
| 83 | <!--{/if}--> |
|---|
| 84 | |
|---|
| 85 | <!--{if strlen($objSiteInfo->data.fax01)}--> |
|---|
| 86 | <tr> |
|---|
| 87 | <th>FAX番号</th> |
|---|
| 88 | <td><!--{$objSiteInfo->data.fax01|escape}-->-<!--{$objSiteInfo->data.fax02|escape}-->-<!--{$objSiteInfo->data.fax03|escape}--></td> |
|---|
| 89 | </tr> |
|---|
| 90 | <!--{/if}--> |
|---|
| 91 | |
|---|
| 92 | <!--{if strlen($objSiteInfo->data.email02)}--> |
|---|
| 93 | <tr> |
|---|
| 94 | <th>メールアドレス</th> |
|---|
| 95 | <td><a href="mailto:<!--{$objSiteInfo->data.email02|escape:'hex'}-->"><!--{$objSiteInfo->data.email02|escape:'hexentity'}--></a></td> |
|---|
| 96 | </tr> |
|---|
| 97 | <!--{/if}--> |
|---|
| 98 | |
|---|
| 99 | <!--{if strlen($objSiteInfo->data.business_hour)}--> |
|---|
| 100 | <tr> |
|---|
| 101 | <th>営業時間</th> |
|---|
| 102 | <td><!--{$objSiteInfo->data.business_hour|escape}--></td> |
|---|
| 103 | </tr> |
|---|
| 104 | <!--{/if}--> |
|---|
| 105 | |
|---|
| 106 | <!--{if strlen($objSiteInfo->data.good_traded)}--> |
|---|
| 107 | <tr> |
|---|
| 108 | <th>取扱商品</th> |
|---|
| 109 | <td><!--{$objSiteInfo->data.good_traded|escape|nl2br}--></td> |
|---|
| 110 | </tr> |
|---|
| 111 | <!--{/if}--> |
|---|
| 112 | |
|---|
| 113 | <!--{if strlen($objSiteInfo->data.message)}--> |
|---|
| 114 | <tr> |
|---|
| 115 | <th>メッセージ</th> |
|---|
| 116 | <td><!--{$objSiteInfo->data.message|escape|nl2br}--></td> |
|---|
| 117 | </tr> |
|---|
| 118 | <!--{/if}--> |
|---|
| 119 | |
|---|
| 120 | </table> |
|---|
| 121 | |
|---|
| 122 | <div id="maps"></div> |
|---|
| 123 | </div> |
|---|
| 124 | </div> |
|---|
| 125 | <!--▲CONTENTS--> |
|---|
| 126 | |
|---|