Initial commit

This commit is contained in:
2021-03-23 13:54:38 +01:00
commit 82b142ff95
16941 changed files with 2617212 additions and 0 deletions

2862
cache/prod/CoreProdProjectContainer.php vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

63
cache/prod/ProjectUrlMatcherBeds24.php vendored Normal file
View File

@@ -0,0 +1,63 @@
<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* ProjectUrlMatcherBeds24.
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlMatcherBeds24 extends Symfony\Component\Routing\Matcher\UrlMatcher
{
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$context = $this->context;
$request = $this->request;
if (0 === strpos($pathinfo, '/admin/beds24/c')) {
// beds24.configure
if ($pathinfo === '/admin/beds24/configure') {
return array ( '_controller' => 'Beds24\\Controller\\Back\\ConfigurationController::configure', '_route' => 'beds24.configure',);
}
// beds24.clear_cache
if ($pathinfo === '/admin/beds24/clear-cache') {
return array ( '_controller' => 'Beds24\\Controller\\Back\\ConfigurationController::clearCache', '_route' => 'beds24.clear_cache',);
}
}
// beds24.notification
if ($pathinfo === '/beds24/notify') {
return array ( '_controller' => 'Beds24\\Controller\\Front\\NotificationController::notify', '_route' => 'beds24.notification',);
}
if (0 === strpos($pathinfo, '/search-availabilit')) {
// beds24.search
if ($pathinfo === '/search-availabilities') {
return array ( '_controller' => 'Beds24\\Controller\\Front\\SearchController::searchAll', '_route' => 'beds24.search',);
}
// beds24.search_product
if (0 === strpos($pathinfo, '/search-availability') && preg_match('#^/search\\-availability/(?P<productId>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'beds24.search_product')), array ( '_controller' => 'Beds24\\Controller\\Front\\SearchController::searchProduct',));
}
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}

View File

@@ -0,0 +1 @@
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":97:{s:89:"/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/Beds24/Config/routing.xml";}}

View File

@@ -0,0 +1,71 @@
<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* ProjectUrlMatcherCarousel.
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlMatcherCarousel extends Symfony\Component\Routing\Matcher\UrlMatcher
{
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$context = $this->context;
$request = $this->request;
if (0 === strpos($pathinfo, '/admin/module/carousel')) {
if (0 === strpos($pathinfo, '/admin/module/carousel/up')) {
// carousel.upload.image
if ($pathinfo === '/admin/module/carousel/upload') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_carouseluploadimage;
}
return array ( '_controller' => 'Carousel\\Controller\\ConfigurationController::uploadImage', '_route' => 'carousel.upload.image',);
}
not_carouseluploadimage:
// carousel.update
if ($pathinfo === '/admin/module/carousel/update') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_carouselupdate;
}
return array ( '_controller' => 'Carousel\\Controller\\ConfigurationController::updateAction', '_route' => 'carousel.update',);
}
not_carouselupdate:
}
// carousel.delete
if ($pathinfo === '/admin/module/carousel/delete') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_carouseldelete;
}
return array ( '_controller' => 'Carousel\\Controller\\ConfigurationController::deleteAction', '_route' => 'carousel.delete',);
}
not_carouseldelete:
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}

View File

@@ -0,0 +1 @@
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":99:{s:91:"/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/Carousel/Config/routing.xml";}}

43
cache/prod/ProjectUrlMatcherCheque.php vendored Normal file
View File

@@ -0,0 +1,43 @@
<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* ProjectUrlMatcherCheque.
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlMatcherCheque extends Symfony\Component\Routing\Matcher\UrlMatcher
{
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$context = $this->context;
$request = $this->request;
// cheque.configure
if ($pathinfo === '/admin/cheque/configure') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_chequeconfigure;
}
return array ( '_controller' => 'Cheque\\Controller\\ConfigureController::configure', '_route' => 'cheque.configure',);
}
not_chequeconfigure:
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}

View File

@@ -0,0 +1 @@
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":97:{s:89:"/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/Cheque/Config/routing.xml";}}

90
cache/prod/ProjectUrlMatcherCmCIC.php vendored Normal file
View File

@@ -0,0 +1,90 @@
<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* ProjectUrlMatcherCmCIC.
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlMatcherCmCIC extends Symfony\Component\Routing\Matcher\UrlMatcher
{
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$context = $this->context;
$request = $this->request;
if (0 === strpos($pathinfo, '/cmcic')) {
if (0 === strpos($pathinfo, '/cmcic/payfail')) {
// cmcic.payfail
if (preg_match('#^/cmcic/payfail/(?P<order_id>\\d+)$#s', $pathinfo, $matches)) {
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
$allow = array_merge($allow, array('GET', 'HEAD'));
goto not_cmcicpayfail;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'cmcic.payfail')), array ( '_controller' => 'CmCIC\\Controller\\CmcicPayResponse::payfail',));
}
not_cmcicpayfail:
// cmcic.payfail.with.message
if (preg_match('#^/cmcic/payfail/(?P<order_id>\\d+)/(?P<message>[^/]++)$#s', $pathinfo, $matches)) {
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
$allow = array_merge($allow, array('GET', 'HEAD'));
goto not_cmcicpayfailwithmessage;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'cmcic.payfail.with.message')), array ( '_controller' => 'CmCIC\\Controller\\CmcicPayResponse::payfail',));
}
not_cmcicpayfailwithmessage:
}
// cmcic.receive
if ($pathinfo === '/cmcic/validation') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_cmcicreceive;
}
return array ( '_controller' => 'CmCIC\\Controller\\CmcicPayResponse::receiveResponse', '_route' => 'cmcic.receive',);
}
not_cmcicreceive:
}
if (0 === strpos($pathinfo, '/admin/module/cmcic')) {
// cmcic.saveconfig
if ($pathinfo === '/admin/module/cmcic/saveconfig') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_cmcicsaveconfig;
}
return array ( '_controller' => 'CmCIC\\Controller\\CmcicSaveConfig::save', '_route' => 'cmcic.saveconfig',);
}
not_cmcicsaveconfig:
// cmcic.download.log
if ($pathinfo === '/admin/module/cmcic/log') {
return array ( '_controller' => 'CmCIC\\Controller\\CmcicSaveConfig::downloadLog', '_route' => 'cmcic.download.log',);
}
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}

View File

@@ -0,0 +1 @@
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":96:{s:88:"/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/CmCIC/Config/routing.xml";}}

View File

@@ -0,0 +1,53 @@
<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* ProjectUrlMatcherHookAdminHome.
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlMatcherHookAdminHome extends Symfony\Component\Routing\Matcher\UrlMatcher
{
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$context = $this->context;
$request = $this->request;
if (0 === strpos($pathinfo, '/admin')) {
if (0 === strpos($pathinfo, '/admin/home')) {
// admin.home.stats
if ($pathinfo === '/admin/home/stats') {
return array ( '_controller' => 'HookAdminHome\\Controller\\HomeController::loadStatsAjaxAction', '_route' => 'admin.home.stats',);
}
// admin.home.month.sales.block
if (0 === strpos($pathinfo, '/admin/home/month-sales-block') && preg_match('#^/admin/home/month\\-sales\\-block/(?P<month>\\d+)/(?P<year>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'admin.home.month.sales.block')), array ( '_controller' => 'HookAdminHome\\Controller\\HomeController::blockMonthSalesStatistics',));
}
}
// admin.news-feed
if ($pathinfo === '/admin/ajax/thelia_news_feed') {
return array ( '_controller' => 'HookAdminHome\\Controller\\HomeController::processTemplateAction', 'template' => 'ajax/thelia_news_feed', 'not-logged' => '1', '_route' => 'admin.news-feed',);
}
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}

View File

@@ -0,0 +1 @@
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":104:{s:96:"/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/HookAdminHome/Config/routing.xml";}}

View File

@@ -0,0 +1,43 @@
<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* ProjectUrlMatcherHookAnalytics.
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlMatcherHookAnalytics extends Symfony\Component\Routing\Matcher\UrlMatcher
{
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$context = $this->context;
$request = $this->request;
// hookanalytics.configuration
if ($pathinfo === '/admin/module/hookanalytics/save') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_hookanalyticsconfiguration;
}
return array ( '_controller' => 'HookAnalytics\\Controller\\Configuration::saveAction', '_route' => 'hookanalytics.configuration',);
}
not_hookanalyticsconfiguration:
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}

View File

@@ -0,0 +1 @@
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":104:{s:96:"/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/HookAnalytics/Config/routing.xml";}}

View File

@@ -0,0 +1,57 @@
<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* ProjectUrlMatcherHookNavigation.
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlMatcherHookNavigation extends Symfony\Component\Routing\Matcher\UrlMatcher
{
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$context = $this->context;
$request = $this->request;
if (0 === strpos($pathinfo, '/admin/module/HookNavigation')) {
// hooknavigation.configuration.default
if ($pathinfo === '/admin/module/HookNavigation') {
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
$allow = array_merge($allow, array('GET', 'HEAD'));
goto not_hooknavigationconfigurationdefault;
}
return array ( '_controller' => 'HookNavigation:HookNavigationConfig:default', '_route' => 'hooknavigation.configuration.default',);
}
not_hooknavigationconfigurationdefault:
// hooknavigation.configuration.save
if ($pathinfo === '/admin/module/HookNavigation') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_hooknavigationconfigurationsave;
}
return array ( '_controller' => 'HookNavigation:HookNavigationConfig:save', '_route' => 'hooknavigation.configuration.save',);
}
not_hooknavigationconfigurationsave:
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}

View File

@@ -0,0 +1 @@
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":105:{s:97:"/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/HookNavigation/Config/routing.xml";}}

View File

@@ -0,0 +1,50 @@
<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* ProjectUrlMatcherShortcuts.
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlMatcherShortcuts extends Symfony\Component\Routing\Matcher\UrlMatcher
{
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$context = $this->context;
$request = $this->request;
if (0 === strpos($pathinfo, '/admin/module/Shortcuts')) {
// shortcuts-settings
if ($pathinfo === '/admin/module/Shortcuts') {
return array ( '_controller' => 'Shortcuts:Shortcuts:index', '_route' => 'shortcuts-settings',);
}
// shortcuts.create-shortcut
if ($pathinfo === '/admin/module/Shortcuts/create') {
return array ( '_controller' => 'Shortcuts:Shortcuts:create', '_route' => 'shortcuts.create-shortcut',);
}
// shortcuts.delete-shortcut
if ($pathinfo === '/admin/module/Shortcuts/delete') {
return array ( '_controller' => 'Shortcuts:Shortcuts:delete', '_route' => 'shortcuts.delete-shortcut',);
}
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}

View File

@@ -0,0 +1 @@
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":100:{s:92:"/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/Shortcuts/Config/routing.xml";}}

43
cache/prod/ProjectUrlMatcherTinymce.php vendored Normal file
View File

@@ -0,0 +1,43 @@
<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* ProjectUrlMatcherTinymce.
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlMatcherTinymce extends Symfony\Component\Routing\Matcher\UrlMatcher
{
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$context = $this->context;
$request = $this->request;
// tinymce.configure
if ($pathinfo === '/admin/tinymce/configure') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_tinymceconfigure;
}
return array ( '_controller' => 'Tinymce\\Controller\\ConfigureController::configure', '_route' => 'tinymce.configure',);
}
not_tinymceconfigure:
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}

View File

@@ -0,0 +1 @@
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":98:{s:90:"/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/Tinymce/Config/routing.xml";}}

43
cache/prod/ProjectUrlMatcherView.php vendored Normal file
View File

@@ -0,0 +1,43 @@
<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* ProjectUrlMatcherView.
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlMatcherView extends Symfony\Component\Routing\Matcher\UrlMatcher
{
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$context = $this->context;
$request = $this->request;
// view.add
if (0 === strpos($pathinfo, '/admin/view/add') && preg_match('#^/admin/view/add/(?P<source_id>\\d+)$#s', $pathinfo, $matches)) {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_viewadd;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'view.add')), array ( '_controller' => 'View\\Controller\\ViewController::createAction',));
}
not_viewadd:
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}

View File

@@ -0,0 +1 @@
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":95:{s:87:"/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/View/Config/routing.xml";}}

View File

@@ -0,0 +1,472 @@
<?php
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\RequestContext;
/**
* ProjectUrlMatcherrouter_Front.
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class ProjectUrlMatcherrouter_Front extends Symfony\Component\Routing\Matcher\UrlMatcher
{
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function match($pathinfo)
{
$allow = array();
$pathinfo = rawurldecode($pathinfo);
$context = $this->context;
$request = $this->request;
if (0 === strpos($pathinfo, '/ajax')) {
// ajax.mini-cart
if ($pathinfo === '/ajax/mini-cart') {
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'includes/mini-cart', '_route' => 'ajax.mini-cart',);
}
// ajax.addCartMessage
if ($pathinfo === '/ajax/addCartMessage') {
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'includes/addedToCart', '_route' => 'ajax.addCartMessage',);
}
}
if (0 === strpos($pathinfo, '/register')) {
// customer.create.view
if ($pathinfo === '/register') {
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
$allow = array_merge($allow, array('GET', 'HEAD'));
goto not_customercreateview;
}
return array ( '_controller' => 'Front\\Controller\\CustomerController::viewRegisterAction', '_route' => 'customer.create.view',);
}
not_customercreateview:
// customer.create.process
if ($pathinfo === '/register') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_customercreateprocess;
}
return array ( '_controller' => 'Front\\Controller\\CustomerController::createAction', '_view' => 'register', '_route' => 'customer.create.process',);
}
not_customercreateprocess:
}
if (0 === strpos($pathinfo, '/login')) {
// customer.login.view
if ($pathinfo === '/login') {
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
$allow = array_merge($allow, array('GET', 'HEAD'));
goto not_customerloginview;
}
return array ( '_controller' => 'Front\\Controller\\CustomerController::viewLoginAction', '_route' => 'customer.login.view',);
}
not_customerloginview:
// customer.login.process
if ($pathinfo === '/login') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_customerloginprocess;
}
return array ( '_controller' => 'Front\\Controller\\CustomerController::loginAction', '_view' => 'login', '_route' => 'customer.login.process',);
}
not_customerloginprocess:
}
if (0 === strpos($pathinfo, '/password')) {
// customer.password.retrieve.process
if ($pathinfo === '/password') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_customerpasswordretrieveprocess;
}
return array ( '_controller' => 'Front\\Controller\\CustomerController::newPasswordAction', '_view' => 'password', '_route' => 'customer.password.retrieve.process',);
}
not_customerpasswordretrieveprocess:
// customer.password.retrieve.sent
if ($pathinfo === '/password-sent') {
return array ( '_controller' => 'Front\\Controller\\CustomerController::newPasswordSentAction', '_view' => 'password', '_route' => 'customer.password.retrieve.sent',);
}
}
// customer.logout.process
if ($pathinfo === '/logout') {
return array ( '_controller' => 'Front\\Controller\\CustomerController::logoutAction', '_route' => 'customer.logout.process',);
}
// customer.confirm.token
if (0 === strpos($pathinfo, '/customer/confirm') && preg_match('#^/customer/confirm/(?P<token>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.confirm.token')), array ( '_controller' => 'Front\\Controller\\CustomerController::confirmCustomerAction',));
}
if (0 === strpos($pathinfo, '/a')) {
if (0 === strpos($pathinfo, '/account')) {
// customer.home
if ($pathinfo === '/account') {
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
$allow = array_merge($allow, array('GET', 'HEAD'));
goto not_customerhome;
}
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'account', '_route' => 'customer.home',);
}
not_customerhome:
if (0 === strpos($pathinfo, '/account/update')) {
// customer.update.view
if ($pathinfo === '/account/update') {
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
$allow = array_merge($allow, array('GET', 'HEAD'));
goto not_customerupdateview;
}
return array ( '_controller' => 'Front\\Controller\\CustomerController::viewAction', '_view' => 'account-update', '_route' => 'customer.update.view',);
}
not_customerupdateview:
// customer.update.process
if ($pathinfo === '/account/update') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_customerupdateprocess;
}
return array ( '_controller' => 'Front\\Controller\\CustomerController::updateAction', '_view' => 'account-update', '_route' => 'customer.update.process',);
}
not_customerupdateprocess:
}
if (0 === strpos($pathinfo, '/account/password')) {
// customer.password.change.process
if ($pathinfo === '/account/password') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_customerpasswordchangeprocess;
}
return array ( '_controller' => 'Front\\Controller\\CustomerController::updatePasswordAction', '_view' => 'account-password', '_route' => 'customer.password.change.process',);
}
not_customerpasswordchangeprocess:
// customer.password.change.view
if ($pathinfo === '/account/password') {
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
$allow = array_merge($allow, array('GET', 'HEAD'));
goto not_customerpasswordchangeview;
}
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'account-password', '_route' => 'customer.password.change.view',);
}
not_customerpasswordchangeview:
}
if (0 === strpos($pathinfo, '/account/order')) {
// customer.order
if (preg_match('#^/account/order/(?P<order_id>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.order')), array ( '_controller' => 'Front\\Controller\\OrderController::viewAction',));
}
if (0 === strpos($pathinfo, '/account/order/pdf')) {
// customer.order.pdf.delivery
if (0 === strpos($pathinfo, '/account/order/pdf/delivery') && preg_match('#^/account/order/pdf/delivery/(?P<order_id>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.order.pdf.delivery')), array ( '_controller' => 'Front\\Controller\\OrderController::generateDeliveryPdf',));
}
// customer.order.pdf.invoice
if (0 === strpos($pathinfo, '/account/order/pdf/invoice') && preg_match('#^/account/order/pdf/invoice/(?P<order_id>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.order.pdf.invoice')), array ( '_controller' => 'Front\\Controller\\OrderController::generateInvoicePdf',));
}
}
}
// customer.order.product.download
if (0 === strpos($pathinfo, '/account/download') && preg_match('#^/account/download/(?P<order_product_id>\\d+)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'customer.order.product.download')), array ( '_controller' => 'Front\\Controller\\OrderController::downloadVirtualProduct',));
}
}
if (0 === strpos($pathinfo, '/address')) {
if (0 === strpos($pathinfo, '/address/create')) {
// address.create.view
if ($pathinfo === '/address/create') {
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
$allow = array_merge($allow, array('GET', 'HEAD'));
goto not_addresscreateview;
}
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'address', '_route' => 'address.create.view',);
}
not_addresscreateview:
// address.create
if ($pathinfo === '/address/create') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_addresscreate;
}
return array ( '_controller' => 'Front\\Controller\\AddressController::createAction', '_view' => 'address', '_route' => 'address.create',);
}
not_addresscreate:
}
if (0 === strpos($pathinfo, '/address/update')) {
// address.edit
if (preg_match('#^/address/update/(?P<address_id>[^/]++)$#s', $pathinfo, $matches)) {
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
$allow = array_merge($allow, array('GET', 'HEAD'));
goto not_addressedit;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'address.edit')), array ( '_controller' => 'Front\\Controller\\AddressController::updateViewAction', '_view' => 'address-update',));
}
not_addressedit:
// address.update
if (preg_match('#^/address/update/(?P<address_id>[^/]++)$#s', $pathinfo, $matches)) {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_addressupdate;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'address.update')), array ( '_controller' => 'Front\\Controller\\AddressController::processUpdateAction', '_view' => 'address-update',));
}
not_addressupdate:
}
// address.delete
if (0 === strpos($pathinfo, '/address/delete') && preg_match('#^/address/delete/(?P<address_id>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'address.delete')), array ( '_controller' => 'Front\\Controller\\AddressController::deleteAction', '_view' => 'account',));
}
// address.generateModal
if (0 === strpos($pathinfo, '/address/modal') && preg_match('#^/address/modal/(?P<address_id>\\d+)$#s', $pathinfo, $matches)) {
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
$allow = array_merge($allow, array('GET', 'HEAD'));
goto not_addressgenerateModal;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'address.generateModal')), array ( '_controller' => 'Front\\Controller\\AddressController::generateModalAction', '_view' => 'modal-address',));
}
not_addressgenerateModal:
// address.make.default
if (0 === strpos($pathinfo, '/address/default') && preg_match('#^/address/default/(?P<addressId>\\d+)$#s', $pathinfo, $matches)) {
if (!in_array($this->context->getMethod(), array('GET', 'HEAD'))) {
$allow = array_merge($allow, array('GET', 'HEAD'));
goto not_addressmakedefault;
}
return $this->mergeDefaults(array_replace($matches, array('_route' => 'address.make.default')), array ( '_controller' => 'Front:Address:makeAddressDefault',));
}
not_addressmakedefault:
}
}
if (0 === strpos($pathinfo, '/cart')) {
// cart.view
if ($pathinfo === '/cart') {
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'cart', '_route' => 'cart.view',);
}
// cart.add.process
if ($pathinfo === '/cart/add') {
return array ( '_controller' => 'Front\\Controller\\CartController::addItem', '_route' => 'cart.add.process',);
}
// cart.delete.process
if (0 === strpos($pathinfo, '/cart/delete') && preg_match('#^/cart/delete/(?P<cart_item>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'cart.delete.process')), array ( '_controller' => 'Front\\Controller\\CartController::deleteItem', '_view' => 'cart',));
}
// cart.update.quantity
if ($pathinfo === '/cart/update') {
return array ( '_controller' => 'Front\\Controller\\CartController::changeItem', '_view' => 'cart', '_route' => 'cart.update.quantity',);
}
// cart.update.country
if ($pathinfo === '/cart/country') {
return array ( '_controller' => 'Front\\Controller\\CartController::changeCountry', '_view' => 'cart', '_route' => 'cart.update.country',);
}
}
if (0 === strpos($pathinfo, '/order')) {
if (0 === strpos($pathinfo, '/order/delivery')) {
// order.delivery.process
if ($pathinfo === '/order/delivery') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_orderdeliveryprocess;
}
return array ( '_controller' => 'Front\\Controller\\OrderController::deliver', '_view' => 'order-delivery', '_route' => 'order.delivery.process',);
}
not_orderdeliveryprocess:
// order.delivery
if ($pathinfo === '/order/delivery') {
return array ( '_controller' => 'Front\\Controller\\OrderController::deliverView', '_view' => 'order-delivery', '_route' => 'order.delivery',);
}
// admin.delivery.ajax-module-list
if ($pathinfo === '/order/deliveryModuleList') {
return array ( '_controller' => 'Front\\Controller\\OrderController::getDeliveryModuleListAjaxAction', '_route' => 'admin.delivery.ajax-module-list',);
}
}
if (0 === strpos($pathinfo, '/order/invoice')) {
// order.invoice.process
if ($pathinfo === '/order/invoice') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_orderinvoiceprocess;
}
return array ( '_controller' => 'Front\\Controller\\OrderController::invoice', '_view' => 'order-invoice', '_route' => 'order.invoice.process',);
}
not_orderinvoiceprocess:
// order.invoice
if ($pathinfo === '/order/invoice') {
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'order-invoice', '_route' => 'order.invoice',);
}
}
if (0 === strpos($pathinfo, '/order/c')) {
// order.coupon.process
if ($pathinfo === '/order/coupon') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_ordercouponprocess;
}
return array ( '_controller' => 'Front\\Controller\\CouponController::consumeAction', '_view' => 'order-invoice', '_route' => 'order.coupon.process',);
}
not_ordercouponprocess:
// order.coupon.clear
if ($pathinfo === '/order/clear-coupons') {
return array ( '_controller' => 'Front\\Controller\\CouponController::clearAllCouponsAction', '_view' => 'order-invoice', '_route' => 'order.coupon.clear',);
}
}
if (0 === strpos($pathinfo, '/order/p')) {
// order.payment.process
if ($pathinfo === '/order/pay') {
return array ( '_controller' => 'Front\\Controller\\OrderController::pay', '_route' => 'order.payment.process',);
}
// order.placed
if (0 === strpos($pathinfo, '/order/placed') && preg_match('#^/order/placed/(?P<order_id>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'order.placed')), array ( '_controller' => 'Front\\Controller\\OrderController::orderPlaced', '_view' => 'order-placed',));
}
}
// order.failed
if (0 === strpos($pathinfo, '/order/failed') && preg_match('#^/order/failed/(?P<order_id>[^/]++)/(?P<message>[^/]++)$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'order.failed')), array ( '_controller' => 'Front\\Controller\\OrderController::orderFailed', '_view' => 'order-failed',));
}
}
if (0 === strpos($pathinfo, '/contact')) {
// contact.send
if ($pathinfo === '/contact') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_contactsend;
}
return array ( '_controller' => 'Front\\Controller\\ContactController::sendAction', '_view' => 'contact', '_route' => 'contact.send',);
}
not_contactsend:
// contact.success
if ($pathinfo === '/contact/success') {
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'contact-success', '_route' => 'contact.success',);
}
}
if (0 === strpos($pathinfo, '/newsletter')) {
// newsletter.process
if ($pathinfo === '/newsletter') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_newsletterprocess;
}
return array ( '_controller' => 'Front\\Controller\\NewsletterController::subscribeAction', '_view' => 'newsletter', '_route' => 'newsletter.process',);
}
not_newsletterprocess:
// newsletter.unsubscribe
if ($pathinfo === '/newsletter-unsubscribe') {
if ($this->context->getMethod() != 'POST') {
$allow[] = 'POST';
goto not_newsletterunsubscribe;
}
return array ( '_controller' => 'Front\\Controller\\NewsletterController::unsubscribeAction', '_view' => 'newsletter-unsubscribe', '_route' => 'newsletter.unsubscribe',);
}
not_newsletterunsubscribe:
}
// sitemap.process
if ($pathinfo === '/sitemap') {
return array ( '_controller' => 'Front\\Controller\\SitemapController::generateAction', '_route' => 'sitemap.process',);
}
// feed.process
if (0 === strpos($pathinfo, '/feed') && preg_match('#^/feed(?:/(?P<context>[^/]++)(?:/(?P<lang>[^/]++)(?:/(?P<id>[^/]++))?)?)?$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'feed.process')), array ( '_controller' => 'Front\\Controller\\FeedController::generateAction', 'context' => 'catalog', 'lang' => '', 'id' => '',));
}
// empty
if ($pathinfo === '/empty') {
return array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::emptyRoute', '_route' => 'empty',);
}
// default
if (preg_match('#^/(?P<_view>(?!admin|api)[^/]+)?$#s', $pathinfo, $matches)) {
return $this->mergeDefaults(array_replace($matches, array('_route' => 'default')), array ( '_controller' => 'Thelia\\Controller\\Front\\DefaultController::noAction', '_view' => 'index',));
}
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}

View File

@@ -0,0 +1 @@
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":94:{s:86:"/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/Front/Config/front.xml";}}

13
cache/prod/PropelConfig.php vendored Normal file
View File

@@ -0,0 +1,13 @@
<?php return array (
'dsn' => 'mysql:host=localhost;dbname=clients2_thel810;port=3306',
'user' => 'clients2_thel810',
'password' => '79SF)1RK(p',
'classname' => '\\Propel\\Runtime\\Connection\\ConnectionWrapper',
'options' =>
array (
1002 =>
array (
'value' => 'SET NAMES \'UTF8\'',
),
),
);

1
cache/prod/PropelConfig.php.meta vendored Normal file
View File

@@ -0,0 +1 @@
a:1:{i:0;C:46:"Symfony\Component\Config\Resource\FileResource":83:{s:75:"/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/config/database.yml";}}

2
cache/prod/classes.map vendored Normal file
View File

@@ -0,0 +1,2 @@
<?php return array (
);

View File

@@ -0,0 +1,118 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:18
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/HookContact/main-footer-body.html" */ ?>
<?php /*%%SmartyHeaderCode:20975014116059d2ee88e662-28733999%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'279d01396e3f910791d96b17e1d3ab000683e306' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/HookContact/main-footer-body.html',
1 => 1613761751,
2 => 'file',
),
),
'nocache_hash' => '20975014116059d2ee88e662-28733999',
'function' =>
array (
),
'variables' =>
array (
'store_name' => 0,
'MEDIA_URL' => 0,
'TITLE' => 0,
'label_attr' => 0,
'name' => 0,
'required' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2ee8fcd09_99227362',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2ee8fcd09_99227362')) {function content_6059d2ee8fcd09_99227362($_smarty_tpl) {?><div itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['store_name']->value,$_smarty_tpl);?>
">
<ul>
<li id="logo-menu-footer">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('local_media', array('type'=>"logo")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0]->storeMediaDataAccess(array('type'=>"logo"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['navigate'][0][0]->navigateToUrlFunction(array('to'=>"index"),$_smarty_tpl);?>
">
<img src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['MEDIA_URL']->value,$_smarty_tpl);?>
" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
" class="img-responsive" itemprop="image" data-toggle="magnify">
</a>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0]->storeMediaDataAccess(array('type'=>"logo"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</li>
<li class="contact-address">
<address class="adr" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span class="street-address" itemprop="streetAddress"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"store_address1"),$_smarty_tpl);?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"store_address2"),$_smarty_tpl);?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"store_address3"),$_smarty_tpl);?>
</span><br>
<span class="postal-code" itemprop="postalCode"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"store_zipcode"),$_smarty_tpl);?>
</span>
<span class="locality" itemprop="addressLocality">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"store_city"),$_smarty_tpl);?>
<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"store_country"),$_smarty_tpl);?>
<?php $_tmp14=ob_get_clean();?><?php if ($_tmp14) {?>
<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"store_country"),$_smarty_tpl);?>
<?php $_tmp15=ob_get_clean();?><?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"country",'name'=>"address.country.title",'id'=>$_tmp15)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"country",'name'=>"address.country.title",'id'=>$_tmp15), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
, <span class="country-name"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
</span><?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"country",'name'=>"address.country.title",'id'=>$_tmp15), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php }?>
</span>
</address>
</li>
<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"store_phone"),$_smarty_tpl);?>
<?php $_tmp16=ob_get_clean();?><?php if ($_tmp16) {?>
<li class="contact-phone">
<a href="tel:<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"store_phone"),$_smarty_tpl);?>
" class="tel" itemprop="telephone"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"store_phone"),$_smarty_tpl);?>
</a>
</li>
<?php }?>
<li class="contact-contact">
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>'/contact'),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Find us, Contact us",'d'=>"hookcontact.fo.default"),$_smarty_tpl);?>
</a>
</li>
</ul>
<br>
<section class="block block-newsletter">
<div class="block-heading">
<h3 class="block-title">Newsletter</h3>
</div>
<div class="block-content">
<p id="newsletter-describe"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Abonnez-vous pour recevoir notre newletter"),$_smarty_tpl);?>
</p>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name'=>"thelia.front.newsletter")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]->generateForm(array('name'=>"thelia.front.newsletter"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<form id="form-newsletter-mini" class="form-inline" action="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/newsletter"),$_smarty_tpl);?>
" method="post">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_hidden_fields'][0][0]->renderHiddenFormField(array(),$_smarty_tpl);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form_field', array('field'=>"email")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"email"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<div class="form-group">
<label for="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
-mini" class="sr-only"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Adresse e-mail"),$_smarty_tpl);?>
</label>
<input type="email" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
" id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
-mini" class="form-control" maxlength="255" placeholder="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Votre adresse e-mail"),$_smarty_tpl);?>
" aria-describedby="newsletter-describe" <?php if ($_smarty_tpl->tpl_vars['required']->value) {?> aria-required="true" required<?php }?> autocomplete="off">
</div>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"email"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<button type="submit" class="btn btn-subscribe btn-primary"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"S'inscrire",'d'=>"hooknewsletter.fo.default"),$_smarty_tpl);?>
</button>
</form>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]->generateForm(array('name'=>"thelia.front.newsletter"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</div>
</section>
</div>
<?php }} ?>

View File

@@ -0,0 +1,25 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:10
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/HookCart/templates/frontOffice/default/main-navbar-secondary.html" */ ?>
<?php /*%%SmartyHeaderCode:11021621496059d2e61b7821-99310529%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'28f1b504f59f0e5086c473a5c27e2da41a51eb57' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/HookCart/templates/frontOffice/default/main-navbar-secondary.html',
1 => 1613761617,
2 => 'file',
),
),
'nocache_hash' => '11021621496059d2e61b7821-99310529',
'function' =>
array (
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2e61bde59_88366333',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2e61bde59_88366333')) {function content_6059d2e61bde59_88366333($_smarty_tpl) {?><ul class="nav navbar-nav navbar-cart navbar-right">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"mini-cart"),$_smarty_tpl);?>
</ul><?php }} ?>

View File

@@ -0,0 +1,289 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:13
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/includes/single-product.html" */ ?>
<?php /*%%SmartyHeaderCode:6962105306059d2e9e7a289-97887630%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'4353f24310e666e962b9244c5312f771bb036b3e' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/includes/single-product.html',
1 => 1613762500,
2 => 'file',
),
),
'nocache_hash' => '6962105306059d2e9e7a289-97887630',
'function' =>
array (
),
'variables' =>
array (
'colClass' => 0,
'PSE_COUNT' => 0,
'TITLE' => 0,
'product_id' => 0,
'ID' => 0,
'URL' => 0,
'hasQuickView' => 0,
'width' => 0,
'height' => 0,
'IMAGE_URL' => 0,
'productTitle' => 0,
'hasDescription' => 0,
'DESCRIPTION' => 0,
'VIRTUAL' => 0,
'QUANTITY' => 0,
'current_stock_href' => 0,
'current_stock_content' => 0,
'ROOM_ID' => 0,
'PRICE' => 0,
'CHECK_IN' => 0,
'CHECK_OUT' => 0,
'NUM_ADULTS' => 0,
'NUM_CHILDREN' => 0,
'MIN_PRICE' => 0,
'IS_PROMO' => 0,
'combination_count' => 0,
'BEST_TAXED_PRICE' => 0,
'SHOW_ORIGINAL_PRICE' => 0,
'TAXED_PRICE' => 0,
'hasBtn' => 0,
'hasSubmit' => 0,
'name' => 0,
'form_error' => 0,
'form_error_message' => 0,
'PRODUCT_SALE_ELEMENT' => 0,
'attr' => 0,
'label_attr' => 0,
'error' => 0,
'value' => 0,
'label' => 0,
'message' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2ea0dff60_55247550',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2ea0dff60_55247550')) {function content_6059d2ea0dff60_55247550($_smarty_tpl) {?><li class="item <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape((($tmp = @$_smarty_tpl->tpl_vars['colClass']->value)===null||$tmp==='' ? "col-md-4" : $tmp),$_smarty_tpl);?>
">
<?php if ($_smarty_tpl->tpl_vars['PSE_COUNT']->value>1) {?>
<?php $_smarty_tpl->tpl_vars["hasSubmit"] = new Smarty_variable(false, null, 0);?>
<?php } else { ?>
<?php $_smarty_tpl->tpl_vars["hasSubmit"] = new Smarty_variable(true, null, 0);?>
<?php }?>
<?php $_smarty_tpl->tpl_vars["productTitle"] = new Smarty_variable(((string)$_smarty_tpl->tpl_vars['TITLE']->value), null, 0);?>
<?php if (!$_smarty_tpl->tpl_vars['product_id']->value) {?>
<?php $_smarty_tpl->tpl_vars["product_id"] = new Smarty_variable($_smarty_tpl->tpl_vars['ID']->value, null, 0);?>
<?php }?>
<article class="row" itemscope itemtype="http://schema.org/Product">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"singleproduct.top",'product'=>((string)$_smarty_tpl->tpl_vars['product_id']->value)),$_smarty_tpl);?>
<a href="<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
" itemprop="url" tabindex="-1" class="product-image<?php if ($_smarty_tpl->tpl_vars['hasQuickView']->value==true) {?> product-quickview<?php }?> overlay col-sm-3">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('name'=>"product_thumbnail",'type'=>"image",'product'=>$_smarty_tpl->tpl_vars['product_id']->value,'width'=>((string)$_smarty_tpl->tpl_vars['width']->value),'height'=>((string)$_smarty_tpl->tpl_vars['height']->value),'resize_mode'=>"crop",'limit'=>"1")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"product_thumbnail",'type'=>"image",'product'=>$_smarty_tpl->tpl_vars['product_id']->value,'width'=>((string)$_smarty_tpl->tpl_vars['width']->value),'height'=>((string)$_smarty_tpl->tpl_vars['height']->value),'resize_mode'=>"crop",'limit'=>"1"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<img itemprop="image" src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
" class="img-responsive" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['productTitle']->value,$_smarty_tpl);?>
">
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"product_thumbnail",'type'=>"image",'product'=>$_smarty_tpl->tpl_vars['product_id']->value,'width'=>((string)$_smarty_tpl->tpl_vars['width']->value),'height'=>((string)$_smarty_tpl->tpl_vars['height']->value),'resize_mode'=>"crop",'limit'=>"1"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('elseloop', array('rel'=>"product_thumbnail")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"product_thumbnail"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<img itemprop="image" src="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['image'][0][0]->functionImage(array('file'=>'assets/dist/img/218x146.png'),$_smarty_tpl);?>
" class="img-responsive" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['productTitle']->value,$_smarty_tpl);?>
">
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"product_thumbnail"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</a>
<div class="product-info col-sm-6">
<h2 class="name"><a href="<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
"><span itemprop="name"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['productTitle']->value,$_smarty_tpl);?>
</span></a></h2>
<?php if ($_smarty_tpl->tpl_vars['hasDescription']->value) {?>
<div class="description" itemprop="description">
<p><?php echo $_smarty_tpl->tpl_vars['DESCRIPTION']->value;?>
</p>
</div>
<?php }?>
</div>
<?php $_smarty_tpl->tpl_vars["current_stock_content"] = new Smarty_variable("in_stock", null, 0);?>
<?php $_smarty_tpl->tpl_vars["current_stock_href"] = new Smarty_variable("http://schema.org/InStock", null, 0);?>
<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"check-available-stock"),$_smarty_tpl);?>
<?php $_tmp8=ob_get_clean();?><?php if ($_tmp8!=0) {?>
<?php if ($_smarty_tpl->tpl_vars['VIRTUAL']->value==0&&$_smarty_tpl->tpl_vars['QUANTITY']->value<=0) {?>
<?php $_smarty_tpl->tpl_vars["current_stock_content"] = new Smarty_variable("out_stock", null, 0);?>
<?php $_smarty_tpl->tpl_vars["current_stock_href"] = new Smarty_variable("http://schema.org/OutOfStock", null, 0);?>
<?php }?>
<?php }?>
<div class="product-price col-sm-3">
<div class="price-container row" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<meta itemprop="category" content="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['category'][0][0]->categoryDataAccess(array('attr'=>"title"),$_smarty_tpl);?>
">
<meta itemprop="itemCondition" itemscope itemtype="http://schema.org/NewCondition">
<meta itemprop="priceCurrency" content="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['currency'][0][0]->currencyDataAccess(array('attr'=>"symbol"),$_smarty_tpl);?>
">
<link itemprop="availability" href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['current_stock_href']->value,$_smarty_tpl);?>
" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['current_stock_content']->value,$_smarty_tpl);?>
" />
<?php if (!empty($_smarty_tpl->tpl_vars['ROOM_ID']->value)) {?>
<?php $_smarty_tpl->tpl_vars['price'] = new Smarty_variable('', null, 0);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"beds24.availability",'name'=>"disponibilites",'product_id'=>$_smarty_tpl->tpl_vars['ID']->value,'use_saved_search_criteria'=>true)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"beds24.availability",'name'=>"disponibilites",'product_id'=>$_smarty_tpl->tpl_vars['ID']->value,'use_saved_search_criteria'=>true), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<span class="regular-price col-xs-12">
<span itemprop="price" class="price">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0][0]->formatMoney(array('number'=>$_smarty_tpl->tpl_vars['PRICE']->value),$_smarty_tpl);?>
<br>
<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_date'][0][0]->formatDate(array('date'=>$_smarty_tpl->tpl_vars['CHECK_IN']->value,'output'=>"date"),$_smarty_tpl);?>
<?php $_tmp9=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_date'][0][0]->formatDate(array('date'=>$_smarty_tpl->tpl_vars['CHECK_OUT']->value,'output'=>"date"),$_smarty_tpl);?>
<?php $_tmp10=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"du %debut au %fin pour %adults adulte%s",'debut'=>$_tmp9,'fin'=>$_tmp10,'adults'=>$_smarty_tpl->tpl_vars['NUM_ADULTS']->value,'s'=>$_smarty_tpl->tpl_vars['NUM_ADULTS']->value>1 ? 's' : ''),$_smarty_tpl);?>
<?php if ($_smarty_tpl->tpl_vars['NUM_CHILDREN']->value>0) {?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>" et %enfant enfant%s",'enfant'=>$_smarty_tpl->tpl_vars['NUM_CHILDREN']->value,'s'=>$_smarty_tpl->tpl_vars['NUM_CHILDREN']->value>1 ? 's' : ''),$_smarty_tpl);?>
<?php }?>
</span>
</span>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"beds24.availability",'name'=>"disponibilites",'product_id'=>$_smarty_tpl->tpl_vars['ID']->value,'use_saved_search_criteria'=>true), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('elseloop', array('rel'=>'disponibilites')); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>'disponibilites'), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"beds24.description",'name'=>"description",'product_id'=>$_smarty_tpl->tpl_vars['ID']->value)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"beds24.description",'name'=>"description",'product_id'=>$_smarty_tpl->tpl_vars['ID']->value), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<?php if (!empty($_smarty_tpl->tpl_vars['MIN_PRICE']->value)) {?>
<span class="regular-price col-xs-12"><span itemprop="price" class="price"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0][0]->formatMoney(array('number'=>$_smarty_tpl->tpl_vars['MIN_PRICE']->value),$_smarty_tpl);?>
</span></span>
<?php }?>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"beds24.description",'name'=>"description",'product_id'=>$_smarty_tpl->tpl_vars['ID']->value), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>'disponibilites'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['IS_PROMO']->value) {?>
<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['count'][0][0]->theliaCount(array('type'=>"product_sale_elements",'promo'=>"1",'product'=>$_smarty_tpl->tpl_vars['ID']->value),$_smarty_tpl);?>
<?php $_tmp11=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["combination_count"] = new Smarty_variable($_tmp11, null, 0);?>
<span class="special-price col-xs-6"><span itemprop="price" class="price-label"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Special Price:"),$_smarty_tpl);?>
</span><span class="price">
<?php if ($_smarty_tpl->tpl_vars['combination_count']->value>1) {?>
<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0][0]->formatMoney(array('number'=>$_smarty_tpl->tpl_vars['BEST_TAXED_PRICE']->value),$_smarty_tpl);?>
<?php $_tmp12=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"From %price",'price'=>$_tmp12),$_smarty_tpl);?>
<?php } else { ?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0][0]->formatMoney(array('number'=>$_smarty_tpl->tpl_vars['BEST_TAXED_PRICE']->value),$_smarty_tpl);?>
<?php }?>
</span></span>
<?php if ($_smarty_tpl->tpl_vars['SHOW_ORIGINAL_PRICE']->value) {?>
<span class="old-price col-xs-6"><span class="price-label"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Regular Price:"),$_smarty_tpl);?>
</span><span class="price"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0][0]->formatMoney(array('number'=>$_smarty_tpl->tpl_vars['TAXED_PRICE']->value),$_smarty_tpl);?>
</span></span>
<?php }?>
<?php } else { ?>
<span class="regular-price col-xs-12"><span itemprop="price" class="price"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0][0]->formatMoney(array('number'=>$_smarty_tpl->tpl_vars['BEST_TAXED_PRICE']->value),$_smarty_tpl);?>
</span></span>
<?php }?>
<?php }?>
</div>
<?php if ($_smarty_tpl->tpl_vars['hasBtn']->value==true) {?>
<?php if (false&&$_smarty_tpl->tpl_vars['hasSubmit']->value==true&&$_smarty_tpl->tpl_vars['current_stock_content']->value=="in_stock") {?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name'=>"thelia.cart.add")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]->generateForm(array('name'=>"thelia.cart.add"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<form id="form-product-details<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['product_id']->value,$_smarty_tpl);?>
" action="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/cart/add"),$_smarty_tpl);?>
" method="post" class="form-product">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_hidden_fields'][0][0]->renderHiddenFormField(array(),$_smarty_tpl);?>
<input type="hidden" name="view" value="product">
<input type="hidden" name="product_id" value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['product_id']->value,$_smarty_tpl);?>
">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form_field', array('field'=>"append")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"append"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<input type="hidden" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
" value="1">
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"append"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php if ($_smarty_tpl->tpl_vars['form_error']->value) {?><div class="alert alert-error"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['form_error_message']->value,$_smarty_tpl);?>
</div><?php }?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form_field', array('field'=>'product_sale_elements_id')); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>'product_sale_elements_id'), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<input type="hidden" class="pse-id" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
" value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['PRODUCT_SALE_ELEMENT']->value,$_smarty_tpl);?>
" <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['attr']->value,$_smarty_tpl);?>
>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>'product_sale_elements_id'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form_field', array('field'=>"product")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"product"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<input id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
" type="hidden" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
" value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['product_id']->value,$_smarty_tpl);?>
" <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['attr']->value,$_smarty_tpl);?>
>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"product"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<fieldset class="product-cart form-inline">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form_field', array('field'=>'quantity')); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>'quantity'), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<div class="form-group group-qty hide <?php if ($_smarty_tpl->tpl_vars['error']->value) {?>has-error<?php } elseif ($_smarty_tpl->tpl_vars['value']->value!=''&&!$_smarty_tpl->tpl_vars['error']->value) {?>has-success<?php }?>">
<label for="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label']->value,$_smarty_tpl);?>
</label>
<input type="number" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
" id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
" class="form-control" value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape((($tmp = @$_smarty_tpl->tpl_vars['value']->value)===null||$tmp==='' ? 1 : $tmp),$_smarty_tpl);?>
" min="0" required>
<?php if ($_smarty_tpl->tpl_vars['error']->value) {?>
<span class="help-block"><i class="fa fa-remove"></i> <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['message']->value,$_smarty_tpl);?>
</span>
<?php } elseif ($_smarty_tpl->tpl_vars['value']->value!=''&&!$_smarty_tpl->tpl_vars['error']->value) {?>
<span class="help-block"><i class="fa fa"></i></span>
<?php }?>
</div>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>'quantity'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<div>
<div class="product-btn">
<button type="submit" class="btn btn-primary btn-block"><i class="fa fa-shopping-cart"></i> <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Add to cart"),$_smarty_tpl);?>
</button>
</div>
</div>
</fieldset>
</form>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]->generateForm(array('name'=>"thelia.cart.add"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php } else { ?>
<div>
<div class="product-btn">
<a href="<?php echo $_smarty_tpl->tpl_vars['URL']->value;?>
" class="btn btn-primary btn-block"><i class="fa fa-calendar"></i> <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Voir le détail et réserver"),$_smarty_tpl);?>
</a>
</div>
</div>
<?php }?>
<?php }?>
</div>
<?php ob_start();?><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['product_id']->value,$_smarty_tpl);?>
<?php $_tmp13=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"singleproduct.bottom",'product'=>$_tmp13),$_smarty_tpl);?>
</article><!-- /product -->
</li>
<?php }} ?>

View File

@@ -0,0 +1,19 @@
<?php $_config_vars = array (
'sections' =>
array (
),
'vars' =>
array (
'category_display_detail' => true,
'category_display_subcategories' => false,
'folder_display_detail' => true,
'folder_display_subfolders' => false,
'max_displayed_orders' => 20,
'max_displayed_customers' => 20,
'order_not_paid' => 'warning',
'order_paid' => 'success',
'order_processing' => 'primary',
'order_sent' => 'info',
'order_canceled' => 'danger',
),
); ?>

View File

@@ -0,0 +1,544 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:09
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/index.html" */ ?>
<?php /*%%SmartyHeaderCode:3806603956059d2e56ff294-20925637%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'4e8c0a15e3933970db9852988a33f3f2f8be902a' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/index.html',
1 => 1613761737,
2 => 'file',
),
'25406e7fabe47de1269cedbc3605e3d4e0e5c925' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/layout.tpl',
1 => 1613761737,
2 => 'file',
),
),
'nocache_hash' => '3806603956059d2e56ff294-20925637',
'function' =>
array (
),
'variables' =>
array (
'store_name' => 0,
'store_description' => 0,
'lang_code' => 0,
'page_title' => 0,
'breadcrumbs' => 0,
'breadcrumb' => 0,
'page_description' => 0,
'asset_url' => 0,
'MEDIA_MIME_TYPE' => 0,
'MEDIA_URL' => 0,
'lang_locale' => 0,
'TITLE' => 0,
'id' => 0,
'class' => 0,
'title' => 0,
'content' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2e59ea992_15331422',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2e59ea992_15331422')) {function content_6059d2e59ea992_15331422($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include '/Volumes/Dev/Sources/Clients/apartmoment/site_web/core/vendor/smarty/smarty/libs/plugins/modifier.truncate.php';
?><!doctype html>
<!--
______ __ __ ______ __ __ ______
/\__ _\ /\ \_\ \ /\ ___\ /\ \ /\ \ /\ __ \
\/_/\ \/ \ \ __ \ \ \ __\ \ \ \____ \ \ \ \ \ __ \
\ \_\ \ \_\ \_\ \ \_____\ \ \_____\ \ \_\ \ \_\ \_\
\/_/ \/_/\/_/ \/_____/ \/_____/ \/_/ \/_/\/_/
Copyright (c) OpenStudio
email : info@thelia.net
web : http://www.thelia.net
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 3 of the
GNU General Public License : http://www.gnu.org/licenses/
-->
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['declare_assets'][0][0]->declareAssets(array('directory'=>'assets/dist'),$_smarty_tpl);?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['default_translation_domain'][0][0]->setDefaultTranslationDomain(array('domain'=>'fo.am'),$_smarty_tpl);?>
<?php $_config = new Smarty_Internal_Config('variables.conf', $_smarty_tpl->smarty, $_smarty_tpl);$_config->loadConfigVars(null, 'local'); ?>
<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"store_name"),$_smarty_tpl);?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['page_title'] = new Smarty_variable($_tmp1, null, 0);?>
<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"store_name"),$_smarty_tpl);?>
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["store_name"] = new Smarty_variable($_tmp2, null, 0);?>
<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['config'][0][0]->configDataAccess(array('key'=>"store_description"),$_smarty_tpl);?>
<?php $_tmp3=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["store_description"] = new Smarty_variable($_tmp3, null, 0);?>
<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0][0]->langDataAccess(array('attr'=>"code"),$_smarty_tpl);?>
<?php $_tmp4=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["lang_code"] = new Smarty_variable($_tmp4, null, 0);?>
<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0][0]->langDataAccess(array('attr'=>"locale"),$_smarty_tpl);?>
<?php $_tmp5=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["lang_locale"] = new Smarty_variable($_tmp5, null, 0);?>
<?php if (!$_smarty_tpl->tpl_vars['store_name']->value) {?><?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>'Thelia V2'),$_smarty_tpl);?>
<?php $_tmp6=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["store_name"] = new Smarty_variable($_tmp6, null, 0);?><?php }?>
<?php if (!$_smarty_tpl->tpl_vars['store_description']->value) {?><?php ob_start();?><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['store_name']->value,$_smarty_tpl);?>
<?php $_tmp7=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["store_description"] = new Smarty_variable($_tmp7, null, 0);?><?php }?>
<!--[if lt IE 7 ]><html class="no-js oldie ie6" lang="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['lang_code']->value,$_smarty_tpl);?>
"> <![endif]-->
<!--[if IE 7 ]><html class="no-js oldie ie7" lang="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['lang_code']->value,$_smarty_tpl);?>
"> <![endif]-->
<!--[if IE 8 ]><html class="no-js oldie ie8" lang="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['lang_code']->value,$_smarty_tpl);?>
"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['lang_code']->value,$_smarty_tpl);?>
" class="no-js"> <!--<![endif]-->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-167113330-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-167113330-1');
</script>
<head>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.head-top"),$_smarty_tpl);?>
<script>(function(H) { H.className=H.className.replace(/\bno-js\b/,'js') } )(document.documentElement);</script>
<meta charset="utf-8">
<title><?php if ($_smarty_tpl->tpl_vars['page_title']->value) {?><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['page_title']->value,$_smarty_tpl);?>
<?php } elseif ($_smarty_tpl->tpl_vars['breadcrumbs']->value) {?><?php $_smarty_tpl->tpl_vars['breadcrumb'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['breadcrumb']->_loop = false;
$_from = array_reverse($_smarty_tpl->tpl_vars['breadcrumbs']->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['breadcrumb']->key => $_smarty_tpl->tpl_vars['breadcrumb']->value) {
$_smarty_tpl->tpl_vars['breadcrumb']->_loop = true;
?><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(htmlspecialchars_decode($_smarty_tpl->tpl_vars['breadcrumb']->value['title'], ENT_QUOTES),$_smarty_tpl);?>
- <?php } ?><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['store_name']->value,$_smarty_tpl);?>
<?php } else { ?><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['store_name']->value,$_smarty_tpl);?>
<?php }?></title>
<meta name="generator" content="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>'Thelia V2'),$_smarty_tpl);?>
">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="description" content="<?php if ($_smarty_tpl->tpl_vars['page_description']->value) {?><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['page_description']->value,$_smarty_tpl);?>
<?php } else { ?><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(smarty_modifier_truncate(preg_replace('!\s+!u', ' ',$_smarty_tpl->tpl_vars['store_description']->value),120),$_smarty_tpl);?>
<?php }?>">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('stylesheets', array('file'=>'assets/dist/css/thelia.min.css')); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['stylesheets'][0][0]->blockStylesheets(array('file'=>'assets/dist/css/thelia.min.css'), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<link rel="stylesheet" href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['asset_url']->value,$_smarty_tpl);?>
">
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['stylesheets'][0][0]->blockStylesheets(array('file'=>'assets/dist/css/thelia.min.css'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.stylesheet"),$_smarty_tpl);?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"home.stylesheet"),$_smarty_tpl);?>
<!--[if lt IE 11]>
<link rel="shortcut icon" type="image/x-icon" href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['image'][0][0]->functionImage(array('file'=>'assets/dist/img/favicon.ico'),$_smarty_tpl);?>
" />
<![endif]-->
<?php $_smarty_tpl->smarty->_tag_stack[] = array('local_media', array('type'=>"favicon",'width'=>32,'height'=>32)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0]->storeMediaDataAccess(array('type'=>"favicon",'width'=>32,'height'=>32), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<link rel="icon" type="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['MEDIA_MIME_TYPE']->value,$_smarty_tpl);?>
" href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['MEDIA_URL']->value,$_smarty_tpl);?>
" />
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0]->storeMediaDataAccess(array('type'=>"favicon",'width'=>32,'height'=>32), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<link rel="alternate" type="application/rss+xml" title="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>'All products'),$_smarty_tpl);?>
" href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/feed/catalog/%lang",'lang'=>$_smarty_tpl->tpl_vars['lang_locale']->value),$_smarty_tpl);?>
" />
<link rel="alternate" type="application/rss+xml" title="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>'All contents'),$_smarty_tpl);?>
" href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/feed/content/%lang",'lang'=>$_smarty_tpl->tpl_vars['lang_locale']->value),$_smarty_tpl);?>
" />
<link rel="alternate" type="application/rss+xml" title="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>'All brands'),$_smarty_tpl);?>
" href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/feed/brand/%lang",'lang'=>$_smarty_tpl->tpl_vars['lang_locale']->value),$_smarty_tpl);?>
" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('javascripts', array('file'=>"assets/dist/js/vendors/html5shiv.min.js")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]->blockJavascripts(array('file'=>"assets/dist/js/vendors/html5shiv.min.js"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<script>window.html5 || document.write('<script src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['asset_url']->value,$_smarty_tpl);?>
"><\/script>');</script>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]->blockJavascripts(array('file'=>"assets/dist/js/vendors/html5shiv.min.js"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('javascripts', array('file'=>"assets/dist/js/vendors/respond.min.js")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]->blockJavascripts(array('file'=>"assets/dist/js/vendors/respond.min.js"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<script>window.respond || document.write('<script src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['asset_url']->value,$_smarty_tpl);?>
"><\/script>');</script>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]->blockJavascripts(array('file'=>"assets/dist/js/vendors/respond.min.js"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<![endif]-->
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.head-bottom"),$_smarty_tpl);?>
<link href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['stylesheet'][0][0]->functionStylesheet(array('file'=>'assets/node_modules/flatpickr/dist/flatpickr.min.css'),$_smarty_tpl);?>
" rel="stylesheet">
<script src="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['javascript'][0][0]->functionJavascript(array('file'=>"assets/node_modules/flatpickr/dist/flatpickr.min.js"),$_smarty_tpl);?>
"></script>
<?php if ($_smarty_tpl->tpl_vars['lang_code']->value!=='en') {?>
<script src="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['javascript'][0][0]->functionJavascript(array('file'=>"assets/node_modules/flatpickr/dist/l10n/".((string)$_smarty_tpl->tpl_vars['lang_code']->value).".js"),$_smarty_tpl);?>
"></script>
<?php }?>
</head>
<body class="page-home" itemscope itemtype="http://schema.org/WebPage">
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v6.0"></script>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.body-top"),$_smarty_tpl);?>
<!-- Accessibility -->
<a class="sr-only" href="#content"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Skip to content"),$_smarty_tpl);?>
</a>
<div class="page" role="document">
<div class="header-container" itemscope itemtype="http://schema.org/WPHeader">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.header-top"),$_smarty_tpl);?>
<div class="navbar navbar-default navbar-secondary" id="navbar-secondary" itemscope itemtype="http://schema.org/SiteNavigationElement">
<div>
<div class="navbar-header">
<!-- .navbar-toggle is used as the toggle for collapsed navbar content -->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-secondary">
<span class="sr-only"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Toggle navigation"),$_smarty_tpl);?>
</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('local_media', array('type'=>"logo")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0]->storeMediaDataAccess(array('type'=>"logo"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<a class="responsive-logo" href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['navigate'][0][0]->navigateToUrlFunction(array('to'=>"index"),$_smarty_tpl);?>
" id="logo-menu">
<img src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['MEDIA_URL']->value,$_smarty_tpl);?>
" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
" class="img-responsive" itemprop="image" data-toggle="magnify">
</a>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0]->storeMediaDataAccess(array('type'=>"logo"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</div>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('ifhook', array('rel'=>"main.navbar-secondary")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]->ifHook(array('rel'=>"main.navbar-secondary"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<nav class="navbar-collapse collapse nav-secondary" role="navigation" aria-label="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Secondary Navigation"),$_smarty_tpl);?>
">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.navbar-secondary"),$_smarty_tpl);?>
</nav>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]->ifHook(array('rel'=>"main.navbar-secondary"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</div>
</div>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.header-bottom"),$_smarty_tpl);?>
</div><!-- /.header-container -->
<section id="lead">
<div class="container">
<div class="row">
<div class="col-lg-3">
<?php if (basename($_smarty_tpl->source->filepath)!="index.html") {?>
<h1 id="main-label" class="page-header">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['category'][0][0]->categoryDataAccess(array('attr'=>"title"),$_smarty_tpl);?>
<?php if (basename($_smarty_tpl->source->filepath)==="folder.html") {?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['folder'][0][0]->folderDataAccess(array('attr'=>"title"),$_smarty_tpl);?>
<?php }?>
<?php if (basename($_smarty_tpl->source->filepath)==="content.html") {?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['content'][0][0]->contentDataAccess(array('attr'=>"title"),$_smarty_tpl);?>
<?php }?>
<?php if (basename($_smarty_tpl->source->filepath)==="contact.html") {?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Contactez-nous"),$_smarty_tpl);?>
<?php }?>
<?php if (basename($_smarty_tpl->source->filepath)==="contact-success.html") {?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Contactez-nous"),$_smarty_tpl);?>
<?php }?>
</h1>
<?php } else { ?>
<h1 id="main-label" class="page-header logo-menu">Apart'Moment</h1>
<?php }?>
</div>
<?php if (basename($_smarty_tpl->source->filepath)==="category.html"||basename($_smarty_tpl->source->filepath)==="product.html"||basename($_smarty_tpl->source->filepath)==="index.html") {?>
<div class="col-lg-6 logo-menu">
<p><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"<em>5 à 10% moins cher</em> que sur les plateformes de réservation."),$_smarty_tpl);?>
</p>
</div>
<?php } else { ?>
<div class="col-lg-6">
&nbsp;
</div>
<?php }?>
<div class="col-lg-3 telephone">
<a href="tel:<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"contact_tel"),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"contact_tel"),$_smarty_tpl);?>
<br><em>&nbsp;<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Prix d'un appel local"),$_smarty_tpl);?>
</em></a><small><p><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"7/7 jours de 8h à 22h"),$_smarty_tpl);?>
<br><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Heure de Paris"),$_smarty_tpl);?>
</p></small>
</div>
</div>
</div>
</section>
<main class="main-container" role="main">
<div class="container">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.content-top"),$_smarty_tpl);?>
<div id="content">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"home.body"),$_smarty_tpl);?>
</div>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.content-bottom"),$_smarty_tpl);?>
</div><!-- /.container -->
</main><!-- /.main-container -->
<section class="footer-container" itemscope itemtype="http://schema.org/WPFooter">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('ifhook', array('rel'=>"main.footer-top")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]->ifHook(array('rel'=>"main.footer-top"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<section class="footer-block">
<div class="container">
<div class="blocks row">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.footer-top"),$_smarty_tpl);?>
</div>
</div>
</section>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]->ifHook(array('rel'=>"main.footer-top"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('elsehook', array('rel'=>"main.footer-top")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['elsehook'][0][0]->elseHook(array('rel'=>"main.footer-top"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<section class="footer-banner">
<div class="container">
<div class="banner row banner-col-6">
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-2">
<span class="fa fa-key"></span>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Entrée autonome"),$_smarty_tpl);?>
<small><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Pas de contrainte horaire à l'arrivée."),$_smarty_tpl);?>
</small>
</div>
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-2">
<span class="fa fa-group"></span>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Jusqu'à 5 pers."),$_smarty_tpl);?>
<small><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"par appartement."),$_smarty_tpl);?>
</small>
</div>
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-2">
<span class="fa fa-cutlery"></span>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Cuisine équipée"),$_smarty_tpl);?>
<small><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Des cuisines entièrement équipées !"),$_smarty_tpl);?>
</small>
</div>
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-2">
<span class="fa fa-car"></span>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Parking"),$_smarty_tpl);?>
<small><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Place de parking interne et privé."),$_smarty_tpl);?>
</small>
</div>
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-2" id="last-box">
<span class="fa fa-sun-o"></span>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Terrasse"),$_smarty_tpl);?>
<small><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Profitez des beaux jours en terrasse !"),$_smarty_tpl);?>
</small>
</div>
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-2" id="last-box">
<span class="fa fa-wifi"></span>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Wi-Fi"),$_smarty_tpl);?>
<small><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Wi-Fi gratuit et sécurisé."),$_smarty_tpl);?>
</small>
</div>
</div>
</div>
</section><!-- /.footer-banner -->
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['elsehook'][0][0]->elseHook(array('rel'=>"main.footer-top"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('ifhook', array('rel'=>"main.footer-body")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]->ifHook(array('rel'=>"main.footer-body"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<section class="footer-block">
<div class="container">
<div class="blocks row">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('hookblock', array('name'=>"main.footer-body",'fields'=>"id,class,title,content")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['hookblock'][0][0]->processHookBlock(array('name'=>"main.footer-body",'fields'=>"id,class,title,content"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('forhook', array('rel'=>"main.footer-body")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['forhook'][0][0]->processForHookBlock(array('rel'=>"main.footer-body"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<div class="col col-sm-3">
<section <?php if ($_smarty_tpl->tpl_vars['id']->value) {?> id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['id']->value,$_smarty_tpl);?>
"<?php }?> class="block <?php if ($_smarty_tpl->tpl_vars['class']->value) {?> block-<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['class']->value,$_smarty_tpl);?>
<?php }?>">
<?php if ($_smarty_tpl->tpl_vars['class']->value=="default"||$_smarty_tpl->tpl_vars['class']->value=="newsletter") {?>
<div class="block-heading"><h3 class="block-title"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['title']->value,$_smarty_tpl);?>
</h3></div>
<?php }?>
<div class="block-content">
<?php echo $_smarty_tpl->tpl_vars['content']->value;?>
</div>
</section>
</div>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['forhook'][0][0]->processForHookBlock(array('rel'=>"main.footer-body"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['hookblock'][0][0]->processHookBlock(array('name'=>"main.footer-body",'fields'=>"id,class,title,content"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</div>
</div>
</section>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]->ifHook(array('rel'=>"main.footer-body"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('ifhook', array('rel'=>"main.footer-bottom")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]->ifHook(array('rel'=>"main.footer-bottom"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<footer class="footer-info" role="contentinfo">
<div class="container">
<div class="info row">
<div class="col-lg-9">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.footer-bottom"),$_smarty_tpl);?>
</div>
<div class="col-lg-3">
<section class="copyright"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Copyright"),$_smarty_tpl);?>
&copy; <time datetime="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(date('Y-m-d'),$_smarty_tpl);?>
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(date('Y'),$_smarty_tpl);?>
</time> <a href="http://www.id-media.fr" rel="external">ID Média</a></section>
</div>
</div>
</div>
</footer>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['ifhook'][0][0]->ifHook(array('rel'=>"main.footer-bottom"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('elsehook', array('rel'=>"main.footer-bottom")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['elsehook'][0][0]->elseHook(array('rel'=>"main.footer-bottom"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<footer class="footer-info" role="contentinfo">
<div class="container">
<div class="info row">
<div class="col-lg-9">
<div class="appart-moment-copy"><strong>Apart'Moment</strong> <span>&reg;</span></div>
</div>
<div class="col-lg-3">
<section class="copyright"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Copyright"),$_smarty_tpl);?>
&copy; <time datetime="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(date('Y-m-d'),$_smarty_tpl);?>
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape(date('Y'),$_smarty_tpl);?>
</time> <a href="http://www.id-media.fr" target="_blanck" rel="external">ID Média</a></section>
</div>
</div>
</div>
</footer><!-- /.footer-info -->
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['elsehook'][0][0]->elseHook(array('rel'=>"main.footer-bottom"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</section><!-- /.footer-container -->
</div><!-- /.page -->
<!-- JavaScript -->
<!-- Jquery -->
<!--[if lt IE 9]><script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script><!--<![endif]-->
<?php $_smarty_tpl->smarty->_tag_stack[] = array('javascripts', array('file'=>"assets/dist/js/vendors/jquery.min.js")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]->blockJavascripts(array('file'=>"assets/dist/js/vendors/jquery.min.js"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<script>window.jQuery || document.write('<script src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['asset_url']->value,$_smarty_tpl);?>
"><\/script>');</script>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]->blockJavascripts(array('file'=>"assets/dist/js/vendors/jquery.min.js"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<script src="//ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/jquery.validate.min.js"></script>
<?php if ($_smarty_tpl->tpl_vars['lang_code']->value!='en') {?>
<script src="//ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/localization/messages_<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['lang_code']->value,$_smarty_tpl);?>
.js"></script>
<?php }?>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('javascripts', array('file'=>"assets/dist/js/vendors/bootstrap.min.js")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]->blockJavascripts(array('file'=>"assets/dist/js/vendors/bootstrap.min.js"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<script>if(typeof($.fn.modal) === 'undefined') { document.write('<script src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['asset_url']->value,$_smarty_tpl);?>
"><\/script>'); }</script>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]->blockJavascripts(array('file'=>"assets/dist/js/vendors/bootstrap.min.js"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('javascripts', array('file'=>"assets/dist/js/vendors/bootbox.js")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]->blockJavascripts(array('file'=>"assets/dist/js/vendors/bootbox.js"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<script src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['asset_url']->value,$_smarty_tpl);?>
"></script>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['javascripts'][0][0]->blockJavascripts(array('file'=>"assets/dist/js/vendors/bootbox.js"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.after-javascript-include"),$_smarty_tpl);?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"home.after-javascript-include"),$_smarty_tpl);?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.javascript-initialization"),$_smarty_tpl);?>
<script>
// fix path for addCartMessage
// if you use '/' in your URL rewriting, the cart message is not displayed
// addCartMessageUrl is used in thelia.js to update the mini-cart content
var addCartMessageUrl = "<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>'ajax/addCartMessage'),$_smarty_tpl);?>
";
</script>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"home.javascript-initialization"),$_smarty_tpl);?>
<!-- Custom scripts -->
<script src="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['javascript'][0][0]->functionJavascript(array('file'=>'assets/dist/js/thelia.min.js'),$_smarty_tpl);?>
?v=3"></script>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->processHookFunction(array('name'=>"main.body-bottom"),$_smarty_tpl);?>
</body>
</html>
<?php }} ?>

View File

@@ -0,0 +1,27 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:18
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/HookNavigation/main-footer-body.html" */ ?>
<?php /*%%SmartyHeaderCode:17633048416059d2eeac8366-34265876%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'67819c2d150b00f4ab6df2f9caffa6aff01c8542' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/HookNavigation/main-footer-body.html',
1 => 1613761751,
2 => 'file',
),
),
'nocache_hash' => '17633048416059d2eeac8366-34265876',
'function' =>
array (
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2eeacb862_51675235',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2eeacb862_51675235')) {function content_6059d2eeacb862_51675235($_smarty_tpl) {?><ul>
<li>
<div class="fb-page" data-href="https://www.facebook.com/ApartMomentSaintOmerCentre" data-tabs="timeline" data-width="320" data-height="300" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/ApartMomentSaintOmerCentre" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/ApartMomentSaintOmerCentre">Apart Moment Saint-Omer Centre</a></blockquote></div>
</li>
</ul>
<?php }} ?>

View File

@@ -0,0 +1,36 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:18
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/HookLiensProduits/templates/frontOffice/default/main-footer-body.html" */ ?>
<?php /*%%SmartyHeaderCode:18420191666059d2eea2fa56-46727414%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6e2896db3f5e61df70f2fede5ea61229eef33687' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/HookLiensProduits/templates/frontOffice/default/main-footer-body.html',
1 => 1613761652,
2 => 'file',
),
),
'nocache_hash' => '18420191666059d2eea2fa56-46727414',
'function' =>
array (
),
'variables' =>
array (
'URL' => 0,
'TITLE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2eea3f9a2_36724990',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2eea3f9a2_36724990')) {function content_6059d2eea3f9a2_36724990($_smarty_tpl) {?><ul>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"product",'name'=>"liens.produits",'category'=>2)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"product",'name'=>"liens.produits",'category'=>2), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li><a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
</a></li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"product",'name'=>"liens.produits",'category'=>2), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</ul>
<?php }} ?>

View File

@@ -0,0 +1,89 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:13
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/HookProductsOffer/templates/frontOffice/default/home-body.html" */ ?>
<?php /*%%SmartyHeaderCode:18786416366059d2e9d93f82-41621812%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'7d46e1881108b70f523197464c37663463ebf1e2' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/HookProductsOffer/templates/frontOffice/default/home-body.html',
1 => 1613761640,
2 => 'file',
),
),
'nocache_hash' => '18786416366059d2e9d93f82-41621812',
'function' =>
array (
),
'variables' =>
array (
'ID' => 0,
'SALE_LABEL' => 0,
'CHAPO' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2e9df85d2_01427947',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2e9df85d2_01427947')) {function content_6059d2e9df85d2_01427947($_smarty_tpl) {?><?php $_smarty_tpl->smarty->_tag_stack[] = array('ifloop', array('rel'=>"current-sales")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"current-sales"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<section id="products-offer" class="grid">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('name'=>"current-sales",'type'=>"sale",'limit'=>"2")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"current-sales",'type'=>"sale",'limit'=>"2"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<section id="product-sale-<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ID']->value,$_smarty_tpl);?>
">
<div class="products-heading">
<h2><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['SALE_LABEL']->value,$_smarty_tpl);?>
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/sale",'sale'=>$_smarty_tpl->tpl_vars['ID']->value),$_smarty_tpl);?>
" class="btn-all"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"+ View All",'d'=>"hookproductsoffer.fo.default"),$_smarty_tpl);?>
</a></h2>
<div class="short-description" itemprop="description"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['CHAPO']->value,$_smarty_tpl);?>
</div>
</div>
<div class="products-content">
<ul class="products-grid list-unstyled row">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('name'=>"products_in_sale",'type'=>"product",'limit'=>"4",'sale'=>$_smarty_tpl->tpl_vars['ID']->value)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"products_in_sale",'type'=>"product",'limit'=>"4",'sale'=>$_smarty_tpl->tpl_vars['ID']->value), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<?php echo $_smarty_tpl->getSubTemplate ("includes/single-product.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('colClass'=>"col-md-3 col-sm-4",'product_id'=>$_smarty_tpl->tpl_vars['ID']->value,'hasBtn'=>false,'hasDescription'=>false,'width'=>"218",'height'=>"146"), 0);?>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"products_in_sale",'type'=>"product",'limit'=>"4",'sale'=>$_smarty_tpl->tpl_vars['ID']->value), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</ul>
</div>
</section><!-- #products-sale-XX -->
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"current-sales",'type'=>"sale",'limit'=>"2"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</section>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"current-sales"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('elseloop', array('rel'=>"current-sales")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"current-sales"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('ifloop', array('rel'=>"product_promo")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"product_promo"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<section id="products-offer" class="grid">
<div class="products-heading">
<h2><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Offers",'d'=>"hookproductsoffer.fo.default"),$_smarty_tpl);?>
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/view_all",'type'=>"offers"),$_smarty_tpl);?>
" class="btn-all"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"+ View All",'d'=>"hookproductsoffer.fo.default"),$_smarty_tpl);?>
</a></h2>
</div>
<div class="products-content">
<ul class="products-grid list-unstyled row">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('name'=>"product_promo",'type'=>"product",'limit'=>"4",'promo'=>"yes")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"product_promo",'type'=>"product",'limit'=>"4",'promo'=>"yes"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<?php echo $_smarty_tpl->getSubTemplate ("includes/single-product.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('colClass'=>"col-md-3 col-sm-4",'product_id'=>$_smarty_tpl->tpl_vars['ID']->value,'hasBtn'=>false,'hasDescription'=>false,'width'=>"218",'height'=>"146"), 0);?>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"product_promo",'type'=>"product",'limit'=>"4",'promo'=>"yes"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</ul>
</div>
</section><!-- #products-offer -->
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"product_promo"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"current-sales"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php }} ?>

View File

@@ -0,0 +1,157 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:10
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/HookCart/mini-cart.html" */ ?>
<?php /*%%SmartyHeaderCode:12687335546059d2e61c4856-17582937%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'80c2cafc962af84ec42df268dff09a5ac3859c1d' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/HookCart/mini-cart.html',
1 => 1613761751,
2 => 'file',
),
),
'nocache_hash' => '12687335546059d2e61c4856-17582937',
'function' =>
array (
),
'variables' =>
array (
'PRODUCT_SALE_ELEMENTS_ID' => 0,
'PRODUCT_IMAGE_ID' => 0,
'PRODUCT_ID' => 0,
'IMAGE_URL' => 0,
'TITLE' => 0,
'IS_PROMO' => 0,
'PROMO_TAXED_PRICE' => 0,
'TOTAL_PROMO_TAXED_PRICE' => 0,
'TAXED_PRICE' => 0,
'TOTAL_TAXED_PRICE' => 0,
'QUANTITY' => 0,
'real_price' => 0,
'total_price' => 0,
'real_total_price' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2e627b690_55440656',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2e627b690_55440656')) {function content_6059d2e627b690_55440656($_smarty_tpl) {?><?php $_smarty_tpl->smarty->_tag_stack[] = array('ifloop', array('rel'=>"cartloop")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"cartloop"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li class="dropdown pull-right cart-not-empty cart-container">
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/cart"),$_smarty_tpl);?>
" rel="nofollow" class="cart">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Cart",'d'=>"hookcart.fo.default"),$_smarty_tpl);?>
<span class="badge"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['cart'][0][0]->cartDataAccess(array('attr'=>"count_item"),$_smarty_tpl);?>
</span>
</a>
<div class="dropdown-menu cart-content">
<form id="form-cart-mini" action="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/order/delivery"),$_smarty_tpl);?>
" method="post">
<table class="table table-cart-mini">
<colgroup>
<col width="70">
<col>
<col width="100">
</colgroup>
<tbody>
<?php $_smarty_tpl->tpl_vars["total_price"] = new Smarty_variable(0, null, 0);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"cart",'name'=>"cartloop")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"cart",'name'=>"cartloop"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<tr>
<td class="image">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('ifloop', array('rel'=>"pse-first-image")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"pse-first-image"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"product-sale-elements-image",'name'=>"pse-first-image",'product_sale_elements_id'=>$_smarty_tpl->tpl_vars['PRODUCT_SALE_ELEMENTS_ID']->value,'limit'=>"1")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"product-sale-elements-image",'name'=>"pse-first-image",'product_sale_elements_id'=>$_smarty_tpl->tpl_vars['PRODUCT_SALE_ELEMENTS_ID']->value,'limit'=>"1"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"image",'name'=>"product-image",'id'=>$_smarty_tpl->tpl_vars['PRODUCT_IMAGE_ID']->value,'product'=>$_smarty_tpl->tpl_vars['PRODUCT_ID']->value,'limit'=>"1",'width'=>"236",'height'=>"120",'resize_mode'=>"crop")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"image",'name'=>"product-image",'id'=>$_smarty_tpl->tpl_vars['PRODUCT_IMAGE_ID']->value,'product'=>$_smarty_tpl->tpl_vars['PRODUCT_ID']->value,'limit'=>"1",'width'=>"236",'height'=>"120",'resize_mode'=>"crop"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<?php $_smarty_tpl->tpl_vars["product_image_url"] = new Smarty_variable($_smarty_tpl->tpl_vars['IMAGE_URL']->value, null, 0);?>
<img src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
">
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"image",'name'=>"product-image",'id'=>$_smarty_tpl->tpl_vars['PRODUCT_IMAGE_ID']->value,'product'=>$_smarty_tpl->tpl_vars['PRODUCT_ID']->value,'limit'=>"1",'width'=>"236",'height'=>"120",'resize_mode'=>"crop"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"product-sale-elements-image",'name'=>"pse-first-image",'product_sale_elements_id'=>$_smarty_tpl->tpl_vars['PRODUCT_SALE_ELEMENTS_ID']->value,'limit'=>"1"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"pse-first-image"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('elseloop', array('rel'=>"pse-first-image")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"pse-first-image"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"image",'name'=>"product-image",'product'=>$_smarty_tpl->tpl_vars['PRODUCT_ID']->value,'limit'=>"1",'width'=>"236",'height'=>"120",'resize_mode'=>"crop")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"image",'name'=>"product-image",'product'=>$_smarty_tpl->tpl_vars['PRODUCT_ID']->value,'limit'=>"1",'width'=>"236",'height'=>"120",'resize_mode'=>"crop"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<img src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_URL']->value;?>
" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
">
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"image",'name'=>"product-image",'product'=>$_smarty_tpl->tpl_vars['PRODUCT_ID']->value,'limit'=>"1",'width'=>"236",'height'=>"120",'resize_mode'=>"crop"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"pse-first-image"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</td>
<td class="product">
<h3 class="name" style="margin:0">
<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
</h3>
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['token_url'][0][0]->generateUrlWithToken(array('path'=>"/cart/delete/".((string)$_smarty_tpl->tpl_vars['ITEM_ID']->value)),$_smarty_tpl);?>
" class="btn btn-remove" data-tip="tooltip" data-title="Delete" data-original-title=""><i class="fa fa-trash"></i> <span><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Remove",'d'=>"hookcart.fo.default"),$_smarty_tpl);?>
</span></a>
</td>
<td class="unitprice text-center">
<?php if ($_smarty_tpl->tpl_vars['IS_PROMO']->value==1) {?>
<?php $_smarty_tpl->tpl_vars["real_price"] = new Smarty_variable($_smarty_tpl->tpl_vars['PROMO_TAXED_PRICE']->value, null, 0);?>
<?php $_smarty_tpl->tpl_vars["real_total_price"] = new Smarty_variable($_smarty_tpl->tpl_vars['TOTAL_PROMO_TAXED_PRICE']->value, null, 0);?>
<?php } else { ?>
<?php $_smarty_tpl->tpl_vars["real_price"] = new Smarty_variable($_smarty_tpl->tpl_vars['TAXED_PRICE']->value, null, 0);?>
<?php $_smarty_tpl->tpl_vars["real_total_price"] = new Smarty_variable($_smarty_tpl->tpl_vars['TOTAL_TAXED_PRICE']->value, null, 0);?>
<?php }?>
<span class="qty"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['QUANTITY']->value,$_smarty_tpl);?>
</span> X <span class="price" style="font-size:1em;"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0][0]->formatMoney(array('number'=>$_smarty_tpl->tpl_vars['real_price']->value),$_smarty_tpl);?>
</span>
<?php $_smarty_tpl->tpl_vars["total_price"] = new Smarty_variable($_smarty_tpl->tpl_vars['total_price']->value+$_smarty_tpl->tpl_vars['real_total_price']->value, null, 0);?>
</td>
</tr>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"cart",'name'=>"cartloop"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</tbody>
<tfoot>
<tr>
<td colspan="2" class="empty">
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/cart"),$_smarty_tpl);?>
" role="button" class="btn btn-primary btn-sm""><i class="fa fa-eye"></i> <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"View Cart",'d'=>"hookcart.fo.default"),$_smarty_tpl);?>
</a>
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/order/delivery"),$_smarty_tpl);?>
" role="button" class="btn btn-primary btn-sm"><i class="fa fa-chevron-right"></i> <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Checkout",'d'=>"hookcart.fo.default"),$_smarty_tpl);?>
</a>
</td>
<td class="total">
<div class="total-price">
<span class="price"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0][0]->formatMoney(array('number'=>$_smarty_tpl->tpl_vars['total_price']->value),$_smarty_tpl);?>
</span>
</div>
</td>
</tr>
</tfoot>
</table>
</form>
</div>
</li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"cartloop"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('elseloop', array('rel'=>"cartloop")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"cartloop"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li class="dropdown pull-right cart-container">
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/cart"),$_smarty_tpl);?>
" rel="nofollow" class="cart">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Cart",'d'=>"hookcart.fo.default"),$_smarty_tpl);?>
<span class="badge">0</span>
</a>
<div class="dropdown-menu cart-content">
<p><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"You have no items in your shopping cart.",'d'=>"hookcart.fo.default"),$_smarty_tpl);?>
</p>
</div>
</li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"cartloop"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php }} ?>

View File

@@ -0,0 +1,71 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:18
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/Beds24/templates/frontOffice/default/hook/search.js.html" */ ?>
<?php /*%%SmartyHeaderCode:15226385866059d2eead92e0-25680659%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'abe1b471791ff0dc845cc98780130aeb143c4270' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/Beds24/templates/frontOffice/default/hook/search.js.html',
1 => 1613761613,
2 => 'file',
),
),
'nocache_hash' => '15226385866059d2eead92e0-25680659',
'function' =>
array (
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2eeaec5f9_02703684',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2eeaec5f9_02703684')) {function content_6059d2eeaec5f9_02703684($_smarty_tpl) {?><script>
$(function() {
flatpickr.localize(flatpickr.l10ns.<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0][0]->langDataAccess(array('attr'=>"code"),$_smarty_tpl);?>
);
var startPicker, endPicker, flatpickrOptions = {
enableTime: false,
dateFormat: "Y-m-d",
minDate: "today",
allowInput: true,
altFormat: "l j F Y",
altInput: true
};
endPicker = flatpickr(".date-fin", flatpickrOptions);
flatpickrOptions.onChange = function(selectedDates) {
endPicker.set('minDate', selectedDates[0]);
};
startPicker = flatpickr(".date-debut", flatpickrOptions);
$('#beds24-search-form').submit(function(ev) {
var $zeForm = $(this);
ev.preventDefault();
setSearchResultHtml('<div class="well well-sm"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>'Nous recherchons les disponibilités...','js'=>1),$_smarty_tpl);?>
</div>');
$.ajax({
url: $zeForm.attr('action'),
data: $zeForm.serialize(),
method: $zeForm.attr('method'),
success: function (htmlData) {
setSearchResultHtml(htmlData);
},
error: function () {
setSearchResultHtml('<div class="alert alert-danger"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>'Désolé, quelque chose n\'a pas fonctionné. Merci de ré-essayer.','js'=>1),$_smarty_tpl);?>
</div>');
}
});
});
function setSearchResultHtml(htmlText) {
$('#beds24-search-results').html(htmlText);
}
});
</script>
<?php }} ?>

View File

@@ -0,0 +1,105 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:09
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/MainMenuHook/main-navbar-secondary.html" */ ?>
<?php /*%%SmartyHeaderCode:18652243526059d2e5bb3120-69319978%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'b0014f3f5670de8646ccff98e68c78974227c234' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/MainMenuHook/main-navbar-secondary.html',
1 => 1613761751,
2 => 'file',
),
),
'nocache_hash' => '18652243526059d2e5bb3120-69319978',
'function' =>
array (
),
'variables' =>
array (
'MEDIA_URL' => 0,
'TITLE' => 0,
'URL' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2e5c20903_30105783',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2e5c20903_30105783')) {function content_6059d2e5c20903_30105783($_smarty_tpl) {?><ul class="nav navbar-nav navbar-categories">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('local_media', array('type'=>"logo")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0]->storeMediaDataAccess(array('type'=>"logo"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li class="logo-menu"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['navigate'][0][0]->navigateToUrlFunction(array('to'=>"index"),$_smarty_tpl);?>
" id="logo-menu">
<img src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['MEDIA_URL']->value,$_smarty_tpl);?>
" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
" class="img-responsive" itemprop="image" data-toggle="magnify">
</a>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['local_media'][0][0]->storeMediaDataAccess(array('type'=>"logo"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</li>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"category",'name'=>"navigation.apparts",'id'=>2)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"category",'name'=>"navigation.apparts",'id'=>2), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li>
<a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
</a>
</li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"category",'name'=>"navigation.apparts",'id'=>2), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"content",'name'=>"menu",'id'=>23)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"content",'name'=>"menu",'id'=>23), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li class="nav-item">
<a class="nav-link" href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
">
<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
</a>
</li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"content",'name'=>"menu",'id'=>23), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"category",'name'=>"navigation.extras",'id'=>8)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"category",'name'=>"navigation.extras",'id'=>8), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li>
<a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
</a>
</li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"category",'name'=>"navigation.extras",'id'=>8), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"category",'name'=>"navigation.cadeau",'id'=>9)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"category",'name'=>"navigation.cadeau",'id'=>9), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li>
<a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
</a>
</li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"category",'name'=>"navigation.cadeau",'id'=>9), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"folder",'name'=>"menu",'id'=>9)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"folder",'name'=>"menu",'id'=>9), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li class="nav-item">
<a class="nav-link" href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
">
<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
</a>
</li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"folder",'name'=>"menu",'id'=>9), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"content",'name'=>"menu",'id'=>22,'exclude'=>"24")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"content",'name'=>"menu",'id'=>22,'exclude'=>"24"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li class="nav-item">
<a class="nav-link" href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
">
<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
</a>
</li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"content",'name'=>"menu",'id'=>22,'exclude'=>"24"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<li<?php if (strpos($_SERVER['REQUEST_URI'],"contact")) {?> class="active"<?php }?> id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_SERVER['REQUEST_URI'],$_smarty_tpl);?>
"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/contact"),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Contact"),$_smarty_tpl);?>
</a></li>
</ul>
<?php }} ?>

View File

@@ -0,0 +1,110 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:09
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/HookCustomer/templates/frontOffice/default/main-navbar-secondary.html" */ ?>
<?php /*%%SmartyHeaderCode:18304891306059d2e5e54526-31942051%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'b8d1298c430bcdb34dc779ed812b6ae36f57b069' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/HookCustomer/templates/frontOffice/default/main-navbar-secondary.html',
1 => 1613761614,
2 => 'file',
),
),
'nocache_hash' => '18304891306059d2e5e54526-31942051',
'function' =>
array (
),
'variables' =>
array (
'name' => 0,
'label_attr' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2e5ed42d9_33812134',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2e5ed42d9_33812134')) {function content_6059d2e5ed42d9_33812134($_smarty_tpl) {?><ul class="nav navbar-nav navbar-customer navbar-right">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"auth",'name'=>"customer_info_block",'role'=>"CUSTOMER")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"auth",'name'=>"customer_info_block",'role'=>"CUSTOMER"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/logout"),$_smarty_tpl);?>
" class="logout"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Log out!",'d'=>"hookcustomer.fo.default"),$_smarty_tpl);?>
</a></li>
<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/account"),$_smarty_tpl);?>
" class="account"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"My Account",'d'=>"hookcustomer.fo.default"),$_smarty_tpl);?>
</a></li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"auth",'name'=>"customer_info_block",'role'=>"CUSTOMER"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('elseloop', array('rel'=>"customer_info_block")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"customer_info_block"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/register"),$_smarty_tpl);?>
" class="register"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Register!",'d'=>"hookcustomer.fo.default"),$_smarty_tpl);?>
</a></li>
<li class="dropdown">
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/login"),$_smarty_tpl);?>
" class="login dropdown-toggle"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Log In!",'d'=>"hookcustomer.fo.default"),$_smarty_tpl);?>
</a>
<div class="dropdown-menu">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name'=>"thelia.front.customer.login")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]->generateForm(array('name'=>"thelia.front.customer.login"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<form id="form-login-mini" action="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/login"),$_smarty_tpl);?>
" method="post" <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_enctype'][0][0]->formEnctype(array(),$_smarty_tpl);?>
>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_hidden_fields'][0][0]->renderHiddenFormField(array(),$_smarty_tpl);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form_field', array('field'=>"success_url")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"success_url"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<input type="hidden" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
" value="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['navigate'][0][0]->navigateToUrlFunction(array('to'=>"current"),$_smarty_tpl);?>
">
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"success_url"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form_field', array('field'=>"email")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"email"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<div class="form-group group-email">
<label for="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
-mini"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Email address",'d'=>"hookcustomer.fo.default"),$_smarty_tpl);?>
</label>
<input type="email" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
" id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
-mini" class="form-control input-sm" maxlength="255" aria-required="true" required>
</div>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"email"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form_field', array('field'=>"password")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"password"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<div class="form-group group-password">
<label for="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
-mini"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Password",'d'=>"hookcustomer.fo.default"),$_smarty_tpl);?>
</label>
<input type="password" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
" id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
-mini" class="form-control input-sm" maxlength="255" aria-required="true" required>
</div>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"password"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form_field', array('field'=>"account")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"account"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<input type="hidden" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
" value="1">
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"account"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<div class="form-group group-btn">
<button type="submit" class="btn btn-login-mini btn-sm btn-primary"><i class="fa fa-sign-in"></i> <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Sign In",'d'=>"hookcustomer.fo.default"),$_smarty_tpl);?>
</button>
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/register"),$_smarty_tpl);?>
" class="btn btn-register-mini btn-default btn-sm"><i class="fa fa-user-plus"></i> <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Register",'d'=>"hookcustomer.fo.default"),$_smarty_tpl);?>
</a>
</div>
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/password"),$_smarty_tpl);?>
" class="mini-forgot-password"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Forgot your Password?",'d'=>"hookcustomer.fo.default"),$_smarty_tpl);?>
</a>
</form>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]->generateForm(array('name'=>"thelia.front.customer.login"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</div>
</li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"customer_info_block"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</ul><?php }} ?>

View File

@@ -0,0 +1,66 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:10
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/Carousel/carousel.html" */ ?>
<?php /*%%SmartyHeaderCode:269258686059d2e64775f0-78460258%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'bd5abb5137e72d123a729a3e13d870e8ecebfeca' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/Carousel/carousel.html',
1 => 1613761751,
2 => 'file',
),
),
'nocache_hash' => '269258686059d2e64775f0-78460258',
'function' =>
array (
),
'variables' =>
array (
'LOOP_COUNT' => 0,
'URL' => 0,
'IMAGE_URL' => 0,
'ALT' => 0,
'TITLE' => 0,
'DESCRIPTION' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2e64b23d8_84718879',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2e64b23d8_84718879')) {function content_6059d2e64b23d8_84718879($_smarty_tpl) {?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('ifloop', array('rel'=>"carousel.front")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"carousel.front"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<section class="carousel-container">
<div id="carousel" class="carousel slide" data-ride="carousel">
<div class="carousel-wrapper">
<div class="carousel-inner">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"carousel",'name'=>"carousel.front",'resize_mode'=>"borders")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"carousel",'name'=>"carousel.front",'resize_mode'=>"borders"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<figure class="item <?php if ($_smarty_tpl->tpl_vars['LOOP_COUNT']->value==1) {?>active<?php }?>">
<?php if ($_smarty_tpl->tpl_vars['URL']->value) {?><a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape((($tmp = @$_smarty_tpl->tpl_vars['URL']->value)===null||$tmp==='' ? '#' : $tmp),$_smarty_tpl);?>
"><?php }?>
<img width="100%" src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['IMAGE_URL']->value,$_smarty_tpl);?>
" alt="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['ALT']->value,$_smarty_tpl);?>
" height="300">
<?php if ($_smarty_tpl->tpl_vars['URL']->value) {?></a><?php }?>
<div class="carousel-caption">
<?php if ($_smarty_tpl->tpl_vars['TITLE']->value) {?><h3><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
</h3><?php }?>
<?php if ($_smarty_tpl->tpl_vars['DESCRIPTION']->value) {?><?php echo $_smarty_tpl->tpl_vars['DESCRIPTION']->value;?>
<?php }?>
</div>
</figure>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"carousel",'name'=>"carousel.front",'resize_mode'=>"borders"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</div>
</div>
<a class="left carousel-control" href="#carousel" data-slide="prev"><span class="fa fa-arrow-circle-o-left"></span></a>
<a class="right carousel-control" href="#carousel" data-slide="next"><span class="fa fa-arrow-circle-o-right"></span></a>
</div>
</section><!-- #carousel -->
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"carousel.front"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php }} ?>

View File

@@ -0,0 +1,160 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:10
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/Beds24/hook/home-body.html" */ ?>
<?php /*%%SmartyHeaderCode:18323710066059d2e63259b4-13215836%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'c067b68470d23265e081e3634b0246482cf94589' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/Beds24/hook/home-body.html',
1 => 1613761751,
2 => 'file',
),
),
'nocache_hash' => '18323710066059d2e63259b4-13215836',
'function' =>
array (
),
'variables' =>
array (
'error' => 0,
'label_attr' => 0,
'label' => 0,
'required' => 0,
'name' => 0,
'value' => 0,
'error_focus' => 0,
'message' => 0,
'idx' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2e64324b7_51778906',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2e64324b7_51778906')) {function content_6059d2e64324b7_51778906($_smarty_tpl) {?><div class="reservations">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name'=>"beds24.form.search")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]->generateForm(array('name'=>"beds24.form.search"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<form id="beds24-search-form" method="post" action="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/search-availabilities"),$_smarty_tpl);?>
">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['form_hidden_fields'][0][0]->renderHiddenFormField(array(),$_smarty_tpl);?>
<div class="row">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form_field', array('field'=>"start_date")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"start_date"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<div class="form-group col-md-3<?php if ($_smarty_tpl->tpl_vars['error']->value) {?> has-error<?php }?>">
<label class="control-label" for="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
"><i class="fa fa-calendar"></i> <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label']->value,$_smarty_tpl);?>
<?php if ($_smarty_tpl->tpl_vars['required']->value) {?> <span class="required">*</span><?php }?></label>
<div class="control-input">
<input type="text" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
" id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
" class="date-debut form-control" maxlength="255" placeholder="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['placeholder'],$_smarty_tpl);?>
" value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['value']->value,$_smarty_tpl);?>
" <?php if ($_smarty_tpl->tpl_vars['required']->value) {?> aria-required="true" required<?php }?><?php if (!$_smarty_tpl->tpl_vars['error_focus']->value&&$_smarty_tpl->tpl_vars['error']->value) {?> autofocus<?php }?>>
<?php if ($_smarty_tpl->tpl_vars['error']->value) {?>
<span class="help-block"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['message']->value,$_smarty_tpl);?>
</span>
<?php $_smarty_tpl->tpl_vars['error_focus'] = new Smarty_variable(true, null, 0);?>
<?php }?>
</div>
</div>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"start_date"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form_field', array('field'=>"end_date")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"end_date"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<div class="form-group col-md-3<?php if ($_smarty_tpl->tpl_vars['error']->value) {?> has-error<?php }?>">
<label class="control-label" for="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
"><i class="fa fa-calendar"></i> <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label']->value,$_smarty_tpl);?>
<?php if ($_smarty_tpl->tpl_vars['required']->value) {?> <span class="required">*</span><?php }?></label>
<div class="control-input">
<input type="text" name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
" id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
" class="date-fin form-control" maxlength="255" placeholder="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['placeholder'],$_smarty_tpl);?>
" value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['value']->value,$_smarty_tpl);?>
" <?php if ($_smarty_tpl->tpl_vars['required']->value) {?> aria-required="true" required<?php }?><?php if (!$_smarty_tpl->tpl_vars['error_focus']->value&&$_smarty_tpl->tpl_vars['error']->value) {?> autofocus<?php }?>>
<?php if ($_smarty_tpl->tpl_vars['error']->value) {?>
<span class="help-block"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['message']->value,$_smarty_tpl);?>
</span>
<?php $_smarty_tpl->tpl_vars['error_focus'] = new Smarty_variable(true, null, 0);?>
<?php }?>
</div>
</div>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"end_date"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form_field', array('field'=>"adults")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"adults"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<div class="form-group col-md-2<?php if ($_smarty_tpl->tpl_vars['error']->value) {?> has-error<?php }?>">
<label class="control-label" for="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
"><i class="fa fa-male"></i> <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label']->value,$_smarty_tpl);?>
<?php if ($_smarty_tpl->tpl_vars['required']->value) {?> <span class="required">*</span><?php }?></label>
<div class="control-input">
<select name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
" id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
" class=" form-control" <?php if ($_smarty_tpl->tpl_vars['required']->value) {?> aria-required="true" required<?php }?><?php if (!$_smarty_tpl->tpl_vars['error_focus']->value&&$_smarty_tpl->tpl_vars['error']->value) {?> autofocus<?php }?>>
<?php $_smarty_tpl->tpl_vars['idx'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['idx']->step = 1;$_smarty_tpl->tpl_vars['idx']->total = (int) ceil(($_smarty_tpl->tpl_vars['idx']->step > 0 ? 5+1 - (1) : 1-(5)+1)/abs($_smarty_tpl->tpl_vars['idx']->step));
if ($_smarty_tpl->tpl_vars['idx']->total > 0) {
for ($_smarty_tpl->tpl_vars['idx']->value = 1, $_smarty_tpl->tpl_vars['idx']->iteration = 1;$_smarty_tpl->tpl_vars['idx']->iteration <= $_smarty_tpl->tpl_vars['idx']->total;$_smarty_tpl->tpl_vars['idx']->value += $_smarty_tpl->tpl_vars['idx']->step, $_smarty_tpl->tpl_vars['idx']->iteration++) {
$_smarty_tpl->tpl_vars['idx']->first = $_smarty_tpl->tpl_vars['idx']->iteration == 1;$_smarty_tpl->tpl_vars['idx']->last = $_smarty_tpl->tpl_vars['idx']->iteration == $_smarty_tpl->tpl_vars['idx']->total;?>
<option value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['idx']->value,$_smarty_tpl);?>
"<?php if ($_smarty_tpl->tpl_vars['value']->value==$_smarty_tpl->tpl_vars['idx']->value) {?> selected<?php }?>><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['idx']->value,$_smarty_tpl);?>
</option>
<?php }} ?>
</select>
<?php if ($_smarty_tpl->tpl_vars['error']->value) {?>
<span class="help-block"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['message']->value,$_smarty_tpl);?>
</span>
<?php $_smarty_tpl->tpl_vars['error_focus'] = new Smarty_variable(true, null, 0);?>
<?php }?>
</div>
</div>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"adults"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('form_field', array('field'=>"children")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"children"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<div class="form-group col-md-2<?php if ($_smarty_tpl->tpl_vars['error']->value) {?> has-error<?php }?>">
<label class="control-label" for="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
"><i class="fa fa-child"></i> <?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label']->value,$_smarty_tpl);?>
<?php if ($_smarty_tpl->tpl_vars['required']->value) {?> <span class="required">*</span><?php }?></label>
<div class="control-input">
<select name="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['name']->value,$_smarty_tpl);?>
" id="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['label_attr']->value['for'],$_smarty_tpl);?>
" class=" form-control" <?php if ($_smarty_tpl->tpl_vars['required']->value) {?> aria-required="true" required<?php }?><?php if (!$_smarty_tpl->tpl_vars['error_focus']->value&&$_smarty_tpl->tpl_vars['error']->value) {?> autofocus<?php }?>>
<?php $_smarty_tpl->tpl_vars['idx'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['idx']->step = 1;$_smarty_tpl->tpl_vars['idx']->total = (int) ceil(($_smarty_tpl->tpl_vars['idx']->step > 0 ? 5+1 - (0) : 0-(5)+1)/abs($_smarty_tpl->tpl_vars['idx']->step));
if ($_smarty_tpl->tpl_vars['idx']->total > 0) {
for ($_smarty_tpl->tpl_vars['idx']->value = 0, $_smarty_tpl->tpl_vars['idx']->iteration = 1;$_smarty_tpl->tpl_vars['idx']->iteration <= $_smarty_tpl->tpl_vars['idx']->total;$_smarty_tpl->tpl_vars['idx']->value += $_smarty_tpl->tpl_vars['idx']->step, $_smarty_tpl->tpl_vars['idx']->iteration++) {
$_smarty_tpl->tpl_vars['idx']->first = $_smarty_tpl->tpl_vars['idx']->iteration == 1;$_smarty_tpl->tpl_vars['idx']->last = $_smarty_tpl->tpl_vars['idx']->iteration == $_smarty_tpl->tpl_vars['idx']->total;?>
<option value="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['idx']->value,$_smarty_tpl);?>
"<?php if ($_smarty_tpl->tpl_vars['value']->value==$_smarty_tpl->tpl_vars['idx']->value) {?> selected<?php }?>><?php if ($_smarty_tpl->tpl_vars['idx']->value==0) {?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Aucun"),$_smarty_tpl);?>
<?php } else { ?><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['idx']->value,$_smarty_tpl);?>
<?php }?></option>
<?php }} ?>
</select>
<?php if ($_smarty_tpl->tpl_vars['error']->value) {?>
<span class="help-block"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['message']->value,$_smarty_tpl);?>
</span>
<?php $_smarty_tpl->tpl_vars['error_focus'] = new Smarty_variable(true, null, 0);?>
<?php }?>
</div>
</div>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form_field'][0][0]->renderFormField(array('field'=>"children"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<div class="col-md-2">
<button type="submit" class="btn btn-primary" id="book-now"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Réserver maintenant"),$_smarty_tpl);?>
</button>
</div>
</div>
</form>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['form'][0][0]->generateForm(array('name'=>"beds24.form.search"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<div id="beds24-search-results">
</div>
</div>
<?php }} ?>

View File

@@ -0,0 +1,83 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:18
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/HookLinks/main-footer-body.html" */ ?>
<?php /*%%SmartyHeaderCode:4847434136059d2ee963554-02461313%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'cc1bb70f9a8e2a79af433614228a2aace5ea9b94' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/HookLinks/main-footer-body.html',
1 => 1613761751,
2 => 'file',
),
),
'nocache_hash' => '4847434136059d2ee963554-02461313',
'function' =>
array (
),
'variables' =>
array (
'URL' => 0,
'TITLE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2ee9cf4a9_97205891',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2ee9cf4a9_97205891')) {function content_6059d2ee9cf4a9_97205891($_smarty_tpl) {?><ul>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"content",'name'=>"cgv",'id'=>20)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"content",'name'=>"cgv",'id'=>20), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li><a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Conditions Générales de Vente"),$_smarty_tpl);?>
</a></li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"content",'name'=>"cgv",'id'=>20), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"content",'name'=>"groupe",'id'=>21)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"content",'name'=>"groupe",'id'=>21), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li><a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Groupe"),$_smarty_tpl);?>
</a></li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"content",'name'=>"groupe",'id'=>21), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"content",'name'=>"pro",'id'=>22)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"content",'name'=>"pro",'id'=>22), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li><a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Pro"),$_smarty_tpl);?>
</a></li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"content",'name'=>"pro",'id'=>22), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('name'=>"footer_links",'type'=>"content",'folder'=>"2")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"footer_links",'type'=>"content",'folder'=>"2"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li><a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
</a></li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"footer_links",'type'=>"content",'folder'=>"2"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"auth",'name'=>"customer_is_logged",'role'=>"CUSTOMER")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"auth",'name'=>"customer_is_logged",'role'=>"CUSTOMER"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/logout"),$_smarty_tpl);?>
" class="logout"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Log out!",'d'=>"hooklinks.fo.default"),$_smarty_tpl);?>
</a></li>
<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/account"),$_smarty_tpl);?>
" class="account"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"My Account",'d'=>"hooklinks.fo.default"),$_smarty_tpl);?>
</a></li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"auth",'name'=>"customer_is_logged",'role'=>"CUSTOMER"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('elseloop', array('rel'=>"customer_is_logged")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"customer_is_logged"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/login"),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Login",'d'=>"hooklinks.fo.default"),$_smarty_tpl);?>
</a></li>
<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/register"),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Register",'d'=>"hooklinks.fo.default"),$_smarty_tpl);?>
</a></li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"customer_is_logged"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/cart"),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Cart",'d'=>"hooklinks.fo.default"),$_smarty_tpl);?>
</a></li>
<li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/order/delivery"),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Checkout",'d'=>"hooklinks.fo.default"),$_smarty_tpl);?>
</a></li>
</ul>
<?php }} ?>

View File

@@ -0,0 +1,129 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:10
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/HookProductsNew/home-body.html" */ ?>
<?php /*%%SmartyHeaderCode:17687942736059d2e653dee4-96763937%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'd81c328f6d9667c0257263a599e0717f3e65366d' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/templates/frontOffice/am/modules/HookProductsNew/home-body.html',
1 => 1613761751,
2 => 'file',
),
),
'nocache_hash' => '17687942736059d2e653dee4-96763937',
'function' =>
array (
),
'variables' =>
array (
'ID' => 0,
'TITLE' => 0,
'product_id' => 0,
'URL' => 0,
'IMAGE_URL' => 0,
'LOOP_COUNT' => 0,
'CHAPO' => 0,
'DEFAULT_CATEGORY' => 0,
'BEST_TAXED_PRICE' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2e65c72a6_28957512',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2e65c72a6_28957512')) {function content_6059d2e65c72a6_28957512($_smarty_tpl) {?><?php $_smarty_tpl->smarty->_tag_stack[] = array('ifloop', array('rel'=>"product_new")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"product_new"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<section id="products-new">
<div class="products-heading">
<!--<h2><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"Latest",'d'=>"hookproductsnew.fo.default"),$_smarty_tpl);?>
<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0][0]->generateUrlFunction(array('path'=>"/view_all",'type'=>"new"),$_smarty_tpl);?>
" class="btn-all"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['intl'][0][0]->translate(array('l'=>"+ View All",'d'=>"hookproductsnew.fo.default"),$_smarty_tpl);?>
</a></h2>-->
</div>
<div class="products-content">
<ul class="list-unstyled products-grid row">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('name'=>"product_new",'type'=>"product",'limit'=>"6",'new'=>"yes")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"product_new",'type'=>"product",'limit'=>"6",'new'=>"yes"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<li class="item col-md-4 col-sm-4">
<article itemscope itemtype="http://schema.org/Product">
<!-- Use the meta tag to specify content that is not visible on the page in any way -->
<?php $_smarty_tpl->tpl_vars['product_id'] = new Smarty_variable($_smarty_tpl->tpl_vars['ID']->value, null, 0);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('name'=>"brand.feature",'type'=>"feature",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'title'=>"brand")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"brand.feature",'type'=>"feature",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'title'=>"brand"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('name'=>"brand.value",'type'=>"feature_value",'feature'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'product'=>((string)$_smarty_tpl->tpl_vars['product_id']->value))); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"brand.value",'type'=>"feature_value",'feature'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'product'=>((string)$_smarty_tpl->tpl_vars['product_id']->value)), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<meta itemprop="brand" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
">
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"brand.value",'type'=>"feature_value",'feature'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'product'=>((string)$_smarty_tpl->tpl_vars['product_id']->value)), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"brand.feature",'type'=>"feature",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'title'=>"brand"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('name'=>"brand.feature",'type'=>"feature",'product'=>$_smarty_tpl->tpl_vars['ID']->value,'title'=>"isbn")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"brand.feature",'type'=>"feature",'product'=>$_smarty_tpl->tpl_vars['ID']->value,'title'=>"isbn"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('name'=>"brand.value",'type'=>"feature_value",'feature'=>$_smarty_tpl->tpl_vars['ID']->value,'product'=>$_smarty_tpl->tpl_vars['product_id']->value)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"brand.value",'type'=>"feature_value",'feature'=>$_smarty_tpl->tpl_vars['ID']->value,'product'=>$_smarty_tpl->tpl_vars['product_id']->value), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<meta itemprop="productID" content="isbn:<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
">
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"brand.value",'type'=>"feature_value",'feature'=>$_smarty_tpl->tpl_vars['ID']->value,'product'=>$_smarty_tpl->tpl_vars['product_id']->value), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"brand.feature",'type'=>"feature",'product'=>$_smarty_tpl->tpl_vars['ID']->value,'title'=>"isbn"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
" itemprop="url" tabindex="-1" class="product-image overlay">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('ifloop', array('rel'=>"image_product_new")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"image_product_new"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<img itemprop="image" class="img-responsive center-block"
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('name'=>"image_product_new",'type'=>"image",'limit'=>"1",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'force_return'=>"true",'width'=>"478",'height'=>"290",'resize_mode'=>"crop")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"image_product_new",'type'=>"image",'limit'=>"1",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'force_return'=>"true",'width'=>"478",'height'=>"290",'resize_mode'=>"crop"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['IMAGE_URL']->value,$_smarty_tpl);?>
"
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"image_product_new",'type'=>"image",'limit'=>"1",'product'=>((string)$_smarty_tpl->tpl_vars['ID']->value),'force_return'=>"true",'width'=>"478",'height'=>"290",'resize_mode'=>"crop"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
alt="Product #<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LOOP_COUNT']->value,$_smarty_tpl);?>
" >
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"image_product_new"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php $_smarty_tpl->smarty->_tag_stack[] = array('elseloop', array('rel'=>"image_product_new")); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"image_product_new"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<img itemprop="image" class="img-responsive center-block" src="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['image'][0][0]->functionImage(array('file'=>'assets/dist/img/280x196.png'),$_smarty_tpl);?>
" alt="Product #<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['LOOP_COUNT']->value,$_smarty_tpl);?>
">
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['elseloop'][0][0]->theliaElseloop(array('rel'=>"image_product_new"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</a>
<a href="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['URL']->value,$_smarty_tpl);?>
" class="product-info">
<h3 class="name"><span itemprop="name"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
</span></h3>
<div class="short-description" itemprop="description"><?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['CHAPO']->value,$_smarty_tpl);?>
</div>
<div class="product-price">
<div class="price-container" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"category",'name'=>"category_tag",'id'=>$_smarty_tpl->tpl_vars['DEFAULT_CATEGORY']->value)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"category",'name'=>"category_tag",'id'=>$_smarty_tpl->tpl_vars['DEFAULT_CATEGORY']->value), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<meta itemprop="category" content="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['TITLE']->value,$_smarty_tpl);?>
">
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"category",'name'=>"category_tag",'id'=>$_smarty_tpl->tpl_vars['DEFAULT_CATEGORY']->value), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<meta itemprop="itemCondition" itemscope itemtype="http://schema.org/NewCondition">
<meta itemprop="priceCurrency" content="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['currency'][0][0]->currencyDataAccess(array('attr'=>"code"),$_smarty_tpl);?>
">
<link itemprop="availability" href="http://schema.org/InStock" content="in_stock" />
<span class="regular-price"><span itemprop="price" class="price"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['format_money'][0][0]->formatMoney(array('number'=>$_smarty_tpl->tpl_vars['BEST_TAXED_PRICE']->value),$_smarty_tpl);?>
</span></span>
</div>
</div>
</a>
</article><!-- /product -->
</li>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('name'=>"product_new",'type'=>"product",'limit'=>"6",'new'=>"yes"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</ul>
</div>
</section><!-- #products-new -->
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['ifloop'][0][0]->theliaIfLoop(array('rel'=>"product_new"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
<?php }} ?>

View File

@@ -0,0 +1,36 @@
<?php /* Smarty version Smarty-3.1.20, created on 2021-03-23 12:37:13
compiled from "/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/HookComments/templates/frontOffice/default/home-body.html" */ ?>
<?php /*%%SmartyHeaderCode:18426931226059d2e9d2cbd6-69160335%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'e45fd464fcc383da259cdbb01636e39836a0fcc1' =>
array (
0 => '/Volumes/Dev/Sources/Clients/apartmoment/site_web/local/modules/HookComments/templates/frontOffice/default/home-body.html',
1 => 1613761621,
2 => 'file',
),
),
'nocache_hash' => '18426931226059d2e9d2cbd6-69160335',
'function' =>
array (
),
'variables' =>
array (
'IMAGE_URL' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.20',
'unifunc' => 'content_6059d2e9d3bc94_25727620',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6059d2e9d3bc94_25727620')) {function content_6059d2e9d3bc94_25727620($_smarty_tpl) {?><section>
<div style="margin-bottom: 2rem;">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('loop', array('type'=>"image",'name'=>"comments",'source'=>"module",'source_id'=>35)); $_block_repeat=true; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"image",'name'=>"comments",'source'=>"module",'source_id'=>35), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
<img class="img-responsive" src="<?php echo TheliaSmarty\Template\SmartyParser::theliaEscape($_smarty_tpl->tpl_vars['IMAGE_URL']->value,$_smarty_tpl);?>
" alt="Apart'Moment - satisfaction clients - avis positifs"/>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo $_smarty_tpl->smarty->registered_plugins['block']['loop'][0][0]->theliaLoop(array('type'=>"image",'name'=>"comments",'source'=>"module",'source_id'=>35), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</div>
</section>
<?php }} ?>