120 lines
4.4 KiB
Smarty
Executable File
120 lines
4.4 KiB
Smarty
Executable File
{*
|
|
* 2007-2013 PrestaShop
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the Academic Free License (AFL 3.0)
|
|
* that is bundled with this package in the file LICENSE.txt.
|
|
* It is also available through the world-wide-web at this URL:
|
|
* http://opensource.org/licenses/afl-3.0.php
|
|
* If you did not receive a copy of the license and are unable to
|
|
* obtain it through the world-wide-web, please send an email
|
|
* to license@prestashop.com so we can send you a copy immediately.
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
|
* versions in the future. If you wish to customize PrestaShop for your
|
|
* needs please refer to http://www.prestashop.com for more information.
|
|
*
|
|
* @author PrestaShop SA <contact@prestashop.com>
|
|
* @copyright 2007-2013 PrestaShop SA
|
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
|
* International Registered Trademark & Property of PrestaShop SA
|
|
*}
|
|
{if !isset($magasins)}
|
|
<script type="text/javascript">
|
|
document.location.href='http://www.garancia-beauty.com/fr/magasins?magasins=1';
|
|
</script>
|
|
{/if}
|
|
{capture name=path}{l s='Où nous trouver'}{/capture}
|
|
{include file="$tpl_dir./breadcrumb.tpl"}
|
|
<div class="borderGreen">
|
|
<h1>[{l s='Trouver un point de vente du laboratoire Garancia'}]</h1>
|
|
{if $stores|@count}
|
|
<p>{l s='Here you can find our store locations. Please feel free to contact us:'}</p>
|
|
{foreach $stores as $store}
|
|
<div class="store-small grid_2">
|
|
{if $store.has_picture}<p><img src="{$img_store_dir}{$store.id_store}-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /></p>{/if}
|
|
<p>
|
|
<b>{$store.name|escape:'htmlall':'UTF-8'}</b><br />
|
|
{$store.address1|escape:'htmlall':'UTF-8'}<br />
|
|
{if $store.address2}{$store.address2|escape:'htmlall':'UTF-8'}{/if}<br />
|
|
{$store.postcode} {$store.city|escape:'htmlall':'UTF-8'}{if $store.state}, {$store.state}{/if}<br />
|
|
{$store.country|escape:'htmlall':'UTF-8'}<br />
|
|
{if $store.phone}{l s='Phone:' js=0} {$store.phone}{/if}
|
|
</p>
|
|
{if isset($store.working_hours)}{$store.working_hours}{/if}
|
|
</div>
|
|
{/foreach}
|
|
{/if}
|
|
{if $simplifiedStoresDiplay}
|
|
{else}
|
|
<script type="text/javascript">
|
|
// <![CDATA[
|
|
var map;
|
|
var markers = [];
|
|
var infoWindow;
|
|
var locationSelect;
|
|
var baseUri='';
|
|
var baseDir = '{$base_dir}';
|
|
var baseUri='{$base_dir}';
|
|
var defaultLat = '{$defaultLat}';
|
|
var defaultLong = '{$defaultLong}';
|
|
|
|
var translation_1 = '{l s='Aucun point de vente trouvé à cette adresse.' js=1}';
|
|
var translation_2 = '{l s='store found -- see details:' js=1}';
|
|
var translation_3 = '{l s='stores found -- view all results:' js=1}';
|
|
var translation_4 = '{l s='Phone:' js=1}';
|
|
var translation_5 = '{l s='Obtenir un itinéraire' js=1} <img src="'+baseDir+'themes/default/img/btItineraire.png" alt="" />';
|
|
var translation_6 = '{l s='Not found' js=1}';
|
|
var translation_7 = '{l s='site Web' js=1}';
|
|
|
|
var hasStoreIcon = '{$hasStoreIcon}';
|
|
var distance_unit = '{$distance_unit}';
|
|
var img_store_dir = '{$img_store_dir}';
|
|
var img_ps_dir = '{$img_ps_dir}';
|
|
var searchUrl = '{$searchUrl}';
|
|
var logo_store = 'magasin.png';
|
|
//]]>
|
|
</script>
|
|
<div class="colLeft">
|
|
<div class="locationInputs">
|
|
<div class="addressInput">
|
|
<input type="text" name="location" id="addressInput" value="" placeHolder="{l s='Paris'}" data-role="none" />
|
|
</div>
|
|
<div class="submitAddressInput">
|
|
<input type="button" class="button" id="submitAddressInput" onclick="searchLocations();" value=" " style="display: inline;" data-role="none" />
|
|
</div>
|
|
</div>
|
|
<div class="storestable customBar ">
|
|
<table cellpadding="0" cellspacing="0" border="0" id="stores-table" class="table_block">
|
|
<tr style="display:none">
|
|
<th>{l s='#'}</th>
|
|
<th>{l s='Store'}</th>
|
|
<th>{l s='Address'}</th>
|
|
<th>{l s='Distance'}</th>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<p class="hidden">
|
|
<label for="radiusSelect">{l s='Radius:'}</label>
|
|
<select name="radius" id="radiusSelect">
|
|
<option value="100">100</option>
|
|
</select>
|
|
</p>
|
|
|
|
<div class="hidden"><select id="locationSelect" class="hidden" data-role="none"><option></option></select>
|
|
</div>
|
|
<div id="textErreur" class="clear error hidden"></div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<div class="colRight">
|
|
<div id="map2">
|
|
<div id="map"></div>
|
|
</div>
|
|
</div>
|
|
<div class="clear"></div>
|
|
|
|
{/if}
|
|
</div> |