Notice (8) : Undefined index: copertina [APP/Controller/Component/UtilComponent.php , line 68 ]Code Context $this -> Session -> write ( 'Destination.name' , $destination [ 'Destination' ][ 'name' ]);
$this -> Session -> write ( 'Destination.slug' , $destination [ 'Destination' ][ 'slug' ]);
$this -> Session -> write ( 'Destination.copertina' , $destination [ 'Destination' ][ 'copertina' ]);
$destination = array(
'Destination' => array(
'id' => (int) 2,
'name' => 'Piemonte',
'slug' => 'piemonte'
)
) UtilComponent::destination_in_session() - APP/Controller/Component/UtilComponent.php, line 68
AppController::beforeFilter() - APP/Controller/AppController.php, line 132
PoiController::beforeFilter() - APP/Controller/PoiController.php, line 22
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 114
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/vhosts/b2b.bikesquare.eu/cyclomap.bikesquare.eu/Vendor/cakephp/cakephp/lib/Cake/Utility/Debugger.php:797) [APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php , line 458 ]Code Context setcookie (
$name , $c [ 'value' ], $c [ 'expire' ], $c [ 'path' ],
$c [ 'domain' ], $c [ 'secure' ], $c [ 'httpOnly' ]
$c = array(
'name' => 'CakeCookie[Destination]',
'value' => '{"id":2}',
'expire' => '1675503194',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => false
)
$name = 'CakeCookie[Destination]' setcookie - [internal], line ??
CakeResponse::_setCookies() - APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php, line 458
CakeResponse::send() - APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php, line 429
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 174
[main] - APP/webroot/index.php, line 114
Poi - Piattaforma CycloMap - BikeSquare
Notice (8) : Trying to access array offset on value of type null [APP/View/Layouts/default.ctp , line 65 ]Code Context < script src = "https://oss.maxcdn.com/respond/1.4.2/respond.min.js" ></ script >
<![endif]-->
<?php if( $loggedUser [ 'group_id' ] != ROLE_ADMIN ) : //solo se non sono amministratore ?>
$viewFile = '/var/www/vhosts/b2b.bikesquare.eu/cyclomap.bikesquare.eu/View/Layouts/default.ctp'
$dataForView = array(
'debugToolbarPanels' => array(
'history' => array(
'content' => array([maximum depth reached]),
'elementName' => 'history_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'session' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'session_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'request' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'request_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'sql_log' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'sql_log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'timer' => array(
'content' => null,
'elementName' => 'timer_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'log' => array(
'content' => object(DebugKitLog) {},
'elementName' => 'log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'variables' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'variables_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'environment' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'environment_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'include' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'include_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'clear_cache' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'clear_cache_panel',
'plugin' => 'ClearCache',
'title' => 'Clear Cache',
'disableTimer' => true
)
),
'debugToolbarJavascript' => array(
'libs' => 'DebugKit./js/js_debug_toolbar'
),
'debugToolbarCss' => array(
(int) 0 => 'DebugKit./css/debug_toolbar.css'
),
'destinations' => array(
'piemonte' => 'Piemonte',
'piossasco' => 'Piossasco'
),
'destination' => null,
'categorie' => array(),
'parent_id' => array(
'Categoria' => array(
'title' => 'Tutti i servizi e le attrazioni',
'descr' => 'Accoglienza Bike Friendly',
'slug' => ''
)
),
'content_for_layout' => '<div class="container">
<link rel="stylesheet" type="text/css" href="/css/poi.css"/>
<div class="page-title">
<div class="container" id="divCategorie">
<h1>Tutti i servizi e le attrazioni</h1>
<ul id="ulHome" class="breadcrumb pull-right">
<li><a href="/ita">Home</a></li>
<li><a href="/ita/poi">Servizi e Attrattori</a></li>
</ul>
</div>
</div>
<div class="container service-description">
<div class="row">
<div id="mappa-generale" class="col-md-8 h-100">
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script>
<link rel="stylesheet" href="https://openlayers.org/en/v5.3.0/css/ol.css" type="text/css">
<script>
var edit= '';
var id= 'poi-map';
var stroke_width = '5';
var stroke_color = '#ff4400';
var center_lon = '7.466667';
var center_lat = '44.973333';
var center_format = '0';
var zoom = '13';
var webroot= 'webroot';
var translate_inizio_percorso= 'Inizio percorso';
var translate_fine_percorso= 'Fine percorso';
var path_source = null;
var poi_points = null;
var categories = [];
var base_path = 'https://mappe.cyclomonviso.eu/ita'; //Necessario per gestire la lingua nei poi
//console.log(poi_points);console.log(categories);
</script>
<!--div containing the map-->
<div style="width:100%; height:520px; z-index:0" id="poi-map" class="map" tabindex="1">
<div id="popup" class="ol-popup">
<a href="#" id="popup-closer" class="ol-popup-closer"></a>
<div id="popup-content"></div>
</div>
</div>
<!--end of div containing the map-->
</div>
<div class="col-md-4" id="elenco-filtri">
<div class="form-group">
<label>Nome Attrattore:</label>
<input type="text" name="nome-poi" id="nome-poi" class="form-control" value="">
</div>
<ul id="poi-list" class="list-group">
</ul>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(function(){
$.expr[':'].containsIgnoreCase = function (n, i, m) {
return jQuery(n).text().toUpperCase().indexOf(m[3].toUpperCase()) >= 0;
};
$("#filter-by-category").change(function () {
//Appena seleziono qualcosa svuoto il testo di ricerca
$('#nome-poi').val('');
var selectedCategorySlug = $("#filter-by-category option:selected").attr("value");
$('.poi-list-per-category').hide();
if(selectedCategorySlug == 'all')
$('.poi-list-per-category').show();
else
$('.'+selectedCategorySlug).show();
});
$('#nome-poi').keypress(function() {
//Appena seleziono qualcosa svuoto il filtro per categoria
$('.poi-list-per-category').hide();
$(".poi-list-per-category a:containsIgnoreCase('" + $('#nome-poi').val() + "')").closest('.poi-list-per-category').show();
$("#filter-by-category").val('');
});
});
</script>
',
'scripts_for_layout' => '<link rel="stylesheet" type="text/css" href="/css/map.css"/><script type="text/javascript" src="/js/dist/map.2.js"></script>',
'title_for_layout' => 'Poi'
)
$debugToolbarPanels = array(
'history' => array(
'content' => array(),
'elementName' => 'history_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'session' => array(
'content' => array(
'Config' => array(
[maximum depth reached]
),
'Destination' => array(
[maximum depth reached]
)
),
'elementName' => 'session_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'request' => array(
'content' => array(
'params' => array(
[maximum depth reached]
),
'url' => 'ita/poi',
'query' => array([maximum depth reached]),
'data' => array([maximum depth reached]),
'cookie' => array([maximum depth reached]),
'get' => array([maximum depth reached]),
'currentRoute' => object(I18nRoute) {}
),
'elementName' => 'request_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'sql_log' => array(
'content' => array(
'connections' => array(
[maximum depth reached]
),
'threshold' => (int) 20
),
'elementName' => 'sql_log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'timer' => array(
'content' => null,
'elementName' => 'timer_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'log' => array(
'content' => object(DebugKitLog) {},
'elementName' => 'log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'variables' => array(
'content' => array(
'destinations' => array(
[maximum depth reached]
),
'destination' => null,
'categorie' => array([maximum depth reached]),
'parent_id' => array(
[maximum depth reached]
),
'$request->data' => array([maximum depth reached])
),
'elementName' => 'variables_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'environment' => array(
'content' => array(
'php' => array(
[maximum depth reached]
),
'cake' => array(
[maximum depth reached]
),
'app' => array(
[maximum depth reached]
)
),
'elementName' => 'environment_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'include' => array(
'content' => array(
'core' => array([maximum depth reached]),
'app' => array(
[maximum depth reached]
),
'plugins' => array(
[maximum depth reached]
),
'paths' => array(
[maximum depth reached]
)
),
'elementName' => 'include_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'clear_cache' => array(
'content' => array(
'folders' => array(
[maximum depth reached]
),
'engines' => array(
[maximum depth reached]
),
'groups' => array(
[maximum depth reached]
)
),
'elementName' => 'clear_cache_panel',
'plugin' => 'ClearCache',
'title' => 'Clear Cache',
'disableTimer' => true
)
)
$debugToolbarJavascript = array(
'libs' => 'DebugKit./js/js_debug_toolbar'
)
$debugToolbarCss = array(
(int) 0 => 'DebugKit./css/debug_toolbar.css'
)
$destinations = array(
'piemonte' => 'Piemonte',
'piossasco' => 'Piossasco'
)
$destination = null
$categorie = array()
$parent_id = array(
'Categoria' => array(
'title' => 'Tutti i servizi e le attrazioni',
'descr' => 'Accoglienza Bike Friendly',
'slug' => ''
)
)
$content_for_layout = '<div class="container">
<link rel="stylesheet" type="text/css" href="/css/poi.css"/>
<div class="page-title">
<div class="container" id="divCategorie">
<h1>Tutti i servizi e le attrazioni</h1>
<ul id="ulHome" class="breadcrumb pull-right">
<li><a href="/ita">Home</a></li>
<li><a href="/ita/poi">Servizi e Attrattori</a></li>
</ul>
</div>
</div>
<div class="container service-description">
<div class="row">
<div id="mappa-generale" class="col-md-8 h-100">
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script>
<link rel="stylesheet" href="https://openlayers.org/en/v5.3.0/css/ol.css" type="text/css">
<script>
var edit= '';
var id= 'poi-map';
var stroke_width = '5';
var stroke_color = '#ff4400';
var center_lon = '7.466667';
var center_lat = '44.973333';
var center_format = '0';
var zoom = '13';
var webroot= 'webroot';
var translate_inizio_percorso= 'Inizio percorso';
var translate_fine_percorso= 'Fine percorso';
var path_source = null;
var poi_points = null;
var categories = [];
var base_path = 'https://mappe.cyclomonviso.eu/ita'; //Necessario per gestire la lingua nei poi
//console.log(poi_points);console.log(categories);
</script>
<!--div containing the map-->
<div style="width:100%; height:520px; z-index:0" id="poi-map" class="map" tabindex="1">
<div id="popup" class="ol-popup">
<a href="#" id="popup-closer" class="ol-popup-closer"></a>
<div id="popup-content"></div>
</div>
</div>
<!--end of div containing the map-->
</div>
<div class="col-md-4" id="elenco-filtri">
<div class="form-group">
<label>Nome Attrattore:</label>
<input type="text" name="nome-poi" id="nome-poi" class="form-control" value="">
</div>
<ul id="poi-list" class="list-group">
</ul>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(function(){
$.expr[':'].containsIgnoreCase = function (n, i, m) {
return jQuery(n).text().toUpperCase().indexOf(m[3].toUpperCase()) >= 0;
};
$("#filter-by-category").change(function () {
//Appena seleziono qualcosa svuoto il testo di ricerca
$('#nome-poi').val('');
var selectedCategorySlug = $("#filter-by-category option:selected").attr("value");
$('.poi-list-per-category').hide();
if(selectedCategorySlug == 'all')
$('.poi-list-per-category').show();
else
$('.'+selectedCategorySlug).show();
});
$('#nome-poi').keypress(function() {
//Appena seleziono qualcosa svuoto il filtro per categoria
$('.poi-list-per-category').hide();
$(".poi-list-per-category a:containsIgnoreCase('" + $('#nome-poi').val() + "')").closest('.poi-list-per-category').show();
$("#filter-by-category").val('');
});
});
</script>
'
$scripts_for_layout = '<link rel="stylesheet" type="text/css" href="/css/map.css"/><script type="text/javascript" src="/js/dist/map.2.js"></script>'
$title_for_layout = 'Poi'
$loggedUser = null include - APP/View/Layouts/default.ctp, line 65
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 114
Notice (8) : Trying to access array offset on value of type null [APP/View/Layouts/default.ctp , line 72 ]Code Context </ head >
< body >
<?php if( $loggedUser [ 'group_id' ] != ROLE_ADMIN ) : //solo se non sono amministratore ?>
$viewFile = '/var/www/vhosts/b2b.bikesquare.eu/cyclomap.bikesquare.eu/View/Layouts/default.ctp'
$dataForView = array(
'debugToolbarPanels' => array(
'history' => array(
'content' => array([maximum depth reached]),
'elementName' => 'history_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'session' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'session_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'request' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'request_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'sql_log' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'sql_log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'timer' => array(
'content' => null,
'elementName' => 'timer_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'log' => array(
'content' => object(DebugKitLog) {},
'elementName' => 'log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'variables' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'variables_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'environment' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'environment_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'include' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'include_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'clear_cache' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'clear_cache_panel',
'plugin' => 'ClearCache',
'title' => 'Clear Cache',
'disableTimer' => true
)
),
'debugToolbarJavascript' => array(
'libs' => 'DebugKit./js/js_debug_toolbar'
),
'debugToolbarCss' => array(
(int) 0 => 'DebugKit./css/debug_toolbar.css'
),
'destinations' => array(
'piemonte' => 'Piemonte',
'piossasco' => 'Piossasco'
),
'destination' => null,
'categorie' => array(),
'parent_id' => array(
'Categoria' => array(
'title' => 'Tutti i servizi e le attrazioni',
'descr' => 'Accoglienza Bike Friendly',
'slug' => ''
)
),
'content_for_layout' => '<div class="container">
<link rel="stylesheet" type="text/css" href="/css/poi.css"/>
<div class="page-title">
<div class="container" id="divCategorie">
<h1>Tutti i servizi e le attrazioni</h1>
<ul id="ulHome" class="breadcrumb pull-right">
<li><a href="/ita">Home</a></li>
<li><a href="/ita/poi">Servizi e Attrattori</a></li>
</ul>
</div>
</div>
<div class="container service-description">
<div class="row">
<div id="mappa-generale" class="col-md-8 h-100">
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script>
<link rel="stylesheet" href="https://openlayers.org/en/v5.3.0/css/ol.css" type="text/css">
<script>
var edit= '';
var id= 'poi-map';
var stroke_width = '5';
var stroke_color = '#ff4400';
var center_lon = '7.466667';
var center_lat = '44.973333';
var center_format = '0';
var zoom = '13';
var webroot= 'webroot';
var translate_inizio_percorso= 'Inizio percorso';
var translate_fine_percorso= 'Fine percorso';
var path_source = null;
var poi_points = null;
var categories = [];
var base_path = 'https://mappe.cyclomonviso.eu/ita'; //Necessario per gestire la lingua nei poi
//console.log(poi_points);console.log(categories);
</script>
<!--div containing the map-->
<div style="width:100%; height:520px; z-index:0" id="poi-map" class="map" tabindex="1">
<div id="popup" class="ol-popup">
<a href="#" id="popup-closer" class="ol-popup-closer"></a>
<div id="popup-content"></div>
</div>
</div>
<!--end of div containing the map-->
</div>
<div class="col-md-4" id="elenco-filtri">
<div class="form-group">
<label>Nome Attrattore:</label>
<input type="text" name="nome-poi" id="nome-poi" class="form-control" value="">
</div>
<ul id="poi-list" class="list-group">
</ul>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(function(){
$.expr[':'].containsIgnoreCase = function (n, i, m) {
return jQuery(n).text().toUpperCase().indexOf(m[3].toUpperCase()) >= 0;
};
$("#filter-by-category").change(function () {
//Appena seleziono qualcosa svuoto il testo di ricerca
$('#nome-poi').val('');
var selectedCategorySlug = $("#filter-by-category option:selected").attr("value");
$('.poi-list-per-category').hide();
if(selectedCategorySlug == 'all')
$('.poi-list-per-category').show();
else
$('.'+selectedCategorySlug).show();
});
$('#nome-poi').keypress(function() {
//Appena seleziono qualcosa svuoto il filtro per categoria
$('.poi-list-per-category').hide();
$(".poi-list-per-category a:containsIgnoreCase('" + $('#nome-poi').val() + "')").closest('.poi-list-per-category').show();
$("#filter-by-category").val('');
});
});
</script>
',
'scripts_for_layout' => '<link rel="stylesheet" type="text/css" href="/css/map.css"/><script type="text/javascript" src="/js/dist/map.2.js"></script>',
'title_for_layout' => 'Poi'
)
$debugToolbarPanels = array(
'history' => array(
'content' => array(),
'elementName' => 'history_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'session' => array(
'content' => array(
'Config' => array(
[maximum depth reached]
),
'Destination' => array(
[maximum depth reached]
)
),
'elementName' => 'session_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'request' => array(
'content' => array(
'params' => array(
[maximum depth reached]
),
'url' => 'ita/poi',
'query' => array([maximum depth reached]),
'data' => array([maximum depth reached]),
'cookie' => array([maximum depth reached]),
'get' => array([maximum depth reached]),
'currentRoute' => object(I18nRoute) {}
),
'elementName' => 'request_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'sql_log' => array(
'content' => array(
'connections' => array(
[maximum depth reached]
),
'threshold' => (int) 20
),
'elementName' => 'sql_log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'timer' => array(
'content' => null,
'elementName' => 'timer_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'log' => array(
'content' => object(DebugKitLog) {},
'elementName' => 'log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'variables' => array(
'content' => array(
'destinations' => array(
[maximum depth reached]
),
'destination' => null,
'categorie' => array([maximum depth reached]),
'parent_id' => array(
[maximum depth reached]
),
'$request->data' => array([maximum depth reached])
),
'elementName' => 'variables_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'environment' => array(
'content' => array(
'php' => array(
[maximum depth reached]
),
'cake' => array(
[maximum depth reached]
),
'app' => array(
[maximum depth reached]
)
),
'elementName' => 'environment_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'include' => array(
'content' => array(
'core' => array([maximum depth reached]),
'app' => array(
[maximum depth reached]
),
'plugins' => array(
[maximum depth reached]
),
'paths' => array(
[maximum depth reached]
)
),
'elementName' => 'include_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'clear_cache' => array(
'content' => array(
'folders' => array(
[maximum depth reached]
),
'engines' => array(
[maximum depth reached]
),
'groups' => array(
[maximum depth reached]
)
),
'elementName' => 'clear_cache_panel',
'plugin' => 'ClearCache',
'title' => 'Clear Cache',
'disableTimer' => true
)
)
$debugToolbarJavascript = array(
'libs' => 'DebugKit./js/js_debug_toolbar'
)
$debugToolbarCss = array(
(int) 0 => 'DebugKit./css/debug_toolbar.css'
)
$destinations = array(
'piemonte' => 'Piemonte',
'piossasco' => 'Piossasco'
)
$destination = null
$categorie = array()
$parent_id = array(
'Categoria' => array(
'title' => 'Tutti i servizi e le attrazioni',
'descr' => 'Accoglienza Bike Friendly',
'slug' => ''
)
)
$content_for_layout = '<div class="container">
<link rel="stylesheet" type="text/css" href="/css/poi.css"/>
<div class="page-title">
<div class="container" id="divCategorie">
<h1>Tutti i servizi e le attrazioni</h1>
<ul id="ulHome" class="breadcrumb pull-right">
<li><a href="/ita">Home</a></li>
<li><a href="/ita/poi">Servizi e Attrattori</a></li>
</ul>
</div>
</div>
<div class="container service-description">
<div class="row">
<div id="mappa-generale" class="col-md-8 h-100">
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script>
<link rel="stylesheet" href="https://openlayers.org/en/v5.3.0/css/ol.css" type="text/css">
<script>
var edit= '';
var id= 'poi-map';
var stroke_width = '5';
var stroke_color = '#ff4400';
var center_lon = '7.466667';
var center_lat = '44.973333';
var center_format = '0';
var zoom = '13';
var webroot= 'webroot';
var translate_inizio_percorso= 'Inizio percorso';
var translate_fine_percorso= 'Fine percorso';
var path_source = null;
var poi_points = null;
var categories = [];
var base_path = 'https://mappe.cyclomonviso.eu/ita'; //Necessario per gestire la lingua nei poi
//console.log(poi_points);console.log(categories);
</script>
<!--div containing the map-->
<div style="width:100%; height:520px; z-index:0" id="poi-map" class="map" tabindex="1">
<div id="popup" class="ol-popup">
<a href="#" id="popup-closer" class="ol-popup-closer"></a>
<div id="popup-content"></div>
</div>
</div>
<!--end of div containing the map-->
</div>
<div class="col-md-4" id="elenco-filtri">
<div class="form-group">
<label>Nome Attrattore:</label>
<input type="text" name="nome-poi" id="nome-poi" class="form-control" value="">
</div>
<ul id="poi-list" class="list-group">
</ul>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(function(){
$.expr[':'].containsIgnoreCase = function (n, i, m) {
return jQuery(n).text().toUpperCase().indexOf(m[3].toUpperCase()) >= 0;
};
$("#filter-by-category").change(function () {
//Appena seleziono qualcosa svuoto il testo di ricerca
$('#nome-poi').val('');
var selectedCategorySlug = $("#filter-by-category option:selected").attr("value");
$('.poi-list-per-category').hide();
if(selectedCategorySlug == 'all')
$('.poi-list-per-category').show();
else
$('.'+selectedCategorySlug).show();
});
$('#nome-poi').keypress(function() {
//Appena seleziono qualcosa svuoto il filtro per categoria
$('.poi-list-per-category').hide();
$(".poi-list-per-category a:containsIgnoreCase('" + $('#nome-poi').val() + "')").closest('.poi-list-per-category').show();
$("#filter-by-category").val('');
});
});
</script>
'
$scripts_for_layout = '<link rel="stylesheet" type="text/css" href="/css/map.css"/><script type="text/javascript" src="/js/dist/map.2.js"></script>'
$title_for_layout = 'Poi'
$loggedUser = null include - APP/View/Layouts/default.ctp, line 72
View::_evaluate() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 933
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 114
Tutti i servizi e le attrazioni