<!--{*
/*
 * This file is part of EC-CUBE
 *
 * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved.
 *
 * http://www.lockon.co.jp/
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
*}-->

<!--{assign var=_site value=$arrSiteInfo}-->
<!--{if $_site.latitude && $_site.longitude}-->
    <script type="text/javascript">//<![CDATA[
        $(function() {
            $("#maps").css({
                'margin-top': '15px',
                'margin-left': 'auto',
                'margin-right': 'auto',
                'width': '98%',
                'height': '300px'
            });
            var lat = <!--{$_site.latitude}-->
            var lng = <!--{$_site.longitude}-->
            if (lat && lng) {
                var latlng = new google.maps.LatLng(lat, lng);
                var mapOptions = {zoom: 15,
                center: latlng,
                mapTypeId: google.maps.MapTypeId.ROADMAP};
                var map = new google.maps.Map($("#maps").get(0), mapOptions);
                var marker = new google.maps.Marker({map: map, position: latlng});
            } else {
                $("#maps").remove();
            }
        });
    //]]></script>
<!--{/if}-->

<section id="undercolumn">
    <!--☆当サイトについて -->
    <h2 class="title"><!--{$tpl_title|h}--></h2>

    <dl class="form_info">
        <!--{if strlen($objSiteInfo->data.shop_name)}-->
            <dt>店名</dt>
            <dd><!--{$objSiteInfo->data.shop_name|h}--></dd>
        <!--{/if}-->

        <!--{if strlen($objSiteInfo->data.company_name)}-->
            <dt>会社名</dt>
            <dd><!--{$objSiteInfo->data.company_name|h}--></dd>
        <!--{/if}-->

        <!--{if strlen($objSiteInfo->data.zip01)}-->
            <dt>住所</dt>
            <dd>〒<!--{$objSiteInfo->data.zip01|h}-->-<!--{$objSiteInfo->data.zip02|h}--><br />
                <!--{$objSiteInfo->data.pref|h}--><!--{$objSiteInfo->data.addr01|h}--><!--{$objSiteInfo->data.addr02|h}--></dd>
        <!--{/if}-->

        <!--{if strlen($objSiteInfo->data.tel01)}-->
            <dt>電話番号</dt>
            <dd><!--{$objSiteInfo->data.tel01|h}-->-<!--{$objSiteInfo->data.tel02|h}-->-<!--{$objSiteInfo->data.tel03|h}--></dd>
        <!--{/if}-->

        <!--{if strlen($objSiteInfo->data.fax01)}-->
            <dt>FAX番号</dt>
            <dd><!--{$objSiteInfo->data.fax01|h}-->-<!--{$objSiteInfo->data.fax02|h}-->-<!--{$objSiteInfo->data.fax03|h}--></dd>
        <!--{/if}-->

        <!--{if strlen($objSiteInfo->data.email02)}-->
            <dt>メールアドレス</dt>
            <dd><a href="mailto:<!--{$objSiteInfo->data.email02|escape:'hex'}-->" rel="external"><!--{$objSiteInfo->data.email02|escape:'hexentity'}--></a></dd>
        <!--{/if}-->

        <!--{if strlen($objSiteInfo->data.business_hour)}-->
            <dt>営業時間</dt>
            <dd><!--{$objSiteInfo->data.business_hour|h}--></dd>
        <!--{/if}-->

        <!--{if strlen($objSiteInfo->data.good_traded)}-->
            <dt>取扱商品</dt>
            <dd><!--{$objSiteInfo->data.good_traded|h|nl2br}--></dd>
        <!--{/if}-->

        <!--{if strlen($objSiteInfo->data.message)}-->
            <dt>メッセージ</dt>
            <dd><!--{$objSiteInfo->data.message|h|nl2br}--></dd>
        <!--{/if}-->
    </dl>

    <!--☆MAP -->
    <div id="maps"></div>
</section>

<!--▼検索バー -->
<section id="search_area">
    <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php">
        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
        <input type="hidden" name="mode" value="search" />
        <input type="search" name="name" id="search" value="" placeholder="キーワードを入力" class="searchbox" >
    </form>
</section>
<!--▲検索バー -->

