| 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 | <!--{* |
---|
| 75 | <!--{if strlen($objSiteInfo->data.zip01)}--> |
---|
| 76 | <tr> |
---|
| 77 | <th>所在地</th> |
---|
| 78 | <td>〒<!--{$objSiteInfo->data.zip01|h}-->-<!--{$objSiteInfo->data.zip02|h}--><br /><!--{$objSiteInfo->data.pref|h}--><!--{$objSiteInfo->data.addr01|h}--><!--{$objSiteInfo->data.addr02|h}--></td> |
---|
| 79 | </tr> |
---|
| 80 | <!--{/if}--> |
---|
| 81 | *}--> |
---|
| 82 | <!--{if strlen($objSiteInfo->data.zipcode)}--> |
---|
| 83 | <tr> |
---|
| 84 | <th>所在地</th> |
---|
| 85 | <td>〒<!--{$objSiteInfo->data.zipcode|h}--><br /><!--{$objSiteInfo->data.pref|h}--><!--{$objSiteInfo->data.addr01|h}--><!--{$objSiteInfo->data.addr02|h}--></td> |
---|
| 86 | </tr> |
---|
| 87 | <!--{/if}--> |
---|
| 88 | |
---|
| 89 | <!--{if strlen($objSiteInfo->data.tel01)}--> |
---|
| 90 | <tr> |
---|
| 91 | <th>電話番号</th> |
---|
| 92 | <td><!--{$objSiteInfo->data.tel01|h}-->-<!--{$objSiteInfo->data.tel02|h}-->-<!--{$objSiteInfo->data.tel03|h}--></td> |
---|
| 93 | </tr> |
---|
| 94 | <!--{/if}--> |
---|
| 95 | |
---|
| 96 | <!--{if strlen($objSiteInfo->data.fax01)}--> |
---|
| 97 | <tr> |
---|
| 98 | <th>FAX番号</th> |
---|
| 99 | <td><!--{$objSiteInfo->data.fax01|h}-->-<!--{$objSiteInfo->data.fax02|h}-->-<!--{$objSiteInfo->data.fax03|h}--></td> |
---|
| 100 | </tr> |
---|
| 101 | <!--{/if}--> |
---|
| 102 | |
---|
| 103 | <!--{if strlen($objSiteInfo->data.email02)}--> |
---|
| 104 | <tr> |
---|
| 105 | <th>メールアドレス</th> |
---|
| 106 | <td><a href="mailto:<!--{$objSiteInfo->data.email02|escape:'hex'}-->"><!--{$objSiteInfo->data.email02|escape:'hexentity'}--></a></td> |
---|
| 107 | </tr> |
---|
| 108 | <!--{/if}--> |
---|
| 109 | |
---|
| 110 | <!--{if strlen($objSiteInfo->data.business_hour)}--> |
---|
| 111 | <tr> |
---|
| 112 | <th>営業時間</th> |
---|
| 113 | <td><!--{$objSiteInfo->data.business_hour|h}--></td> |
---|
| 114 | </tr> |
---|
| 115 | <!--{/if}--> |
---|
| 116 | |
---|
| 117 | <!--{if strlen($objSiteInfo->data.good_traded)}--> |
---|
| 118 | <tr> |
---|
| 119 | <th>取扱商品</th> |
---|
| 120 | <td><!--{$objSiteInfo->data.good_traded|h|nl2br}--></td> |
---|
| 121 | </tr> |
---|
| 122 | <!--{/if}--> |
---|
| 123 | |
---|
| 124 | <!--{if strlen($objSiteInfo->data.message)}--> |
---|
| 125 | <tr> |
---|
| 126 | <th>メッセージ</th> |
---|
| 127 | <td><!--{$objSiteInfo->data.message|h|nl2br}--></td> |
---|
| 128 | </tr> |
---|
| 129 | <!--{/if}--> |
---|
| 130 | |
---|
| 131 | </table> |
---|
| 132 | |
---|
| 133 | <div id="maps"></div> |
---|
| 134 | </div> |
---|
| 135 | </div> |
---|