source: branches/version-2_5-dev/data/Smarty/templates/sphone/abouts/index.tpl @ 20614

Revision 20614, 3.9 KB checked in by nagano, 13 years ago (diff)

モバイル・スマートフォンのデザイン調整

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
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|h}--></h2>
54
55    <table summary="当サイトについて" class="entryform">
56
57      <!--{if strlen($objSiteInfo->data.shop_name)}-->
58        <tr>
59          <th>店名</th>
60          <td><!--{$objSiteInfo->data.shop_name|h}--></td>
61        </tr>
62      <!--{/if}-->
63
64      <!--{if strlen($objSiteInfo->data.company_name)}-->
65      <tr>
66        <th>会社名</th>
67        <td><!--{$objSiteInfo->data.company_name|h}--></td>
68      </tr>
69      <!--{/if}-->
70
71      <!--{if strlen($objSiteInfo->data.zip01)}-->
72      <tr>
73        <th>住所</th>
74        <td>〒<!--{$objSiteInfo->data.zip01|h}-->-<!--{$objSiteInfo->data.zip02|h}--><br /><!--{$objSiteInfo->data.pref|h}--><!--{$objSiteInfo->data.addr01|h}--><!--{$objSiteInfo->data.addr02|h}--></td>
75      </tr>
76      <!--{/if}-->
77
78      <!--{if strlen($objSiteInfo->data.tel01)}-->
79      <tr>
80        <th>電話番号</th>
81        <td><!--{$objSiteInfo->data.tel01|h}-->-<!--{$objSiteInfo->data.tel02|h}-->-<!--{$objSiteInfo->data.tel03|h}--></td>
82      </tr>
83      <!--{/if}-->
84
85      <!--{if strlen($objSiteInfo->data.fax01)}-->
86      <tr>
87        <th>FAX番号</th>
88        <td><!--{$objSiteInfo->data.fax01|h}-->-<!--{$objSiteInfo->data.fax02|h}-->-<!--{$objSiteInfo->data.fax03|h}--></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|h}--></td>
103      </tr>
104      <!--{/if}-->
105
106      <!--{if strlen($objSiteInfo->data.good_traded)}-->
107      <tr>
108        <th>取扱商品</th>
109        <td><!--{$objSiteInfo->data.good_traded|h|nl2br}--></td>
110      </tr>
111      <!--{/if}-->
112
113      <!--{if strlen($objSiteInfo->data.message)}-->
114      <tr>
115        <th>メッセージ</th>
116        <td><!--{$objSiteInfo->data.message|h|nl2br}--></td>
117      </tr>
118      <!--{/if}-->
119
120    </table>
121<br />
122    <div id="maps"></div>
123  </div>
124</div>
125<!--▲CONTENTS-->
126
Note: See TracBrowser for help on using the repository browser.