Compare commits
10 Commits
98ccd3c334
...
205fb64180
| Author | SHA1 | Date |
|---|---|---|
|
|
205fb64180 | |
|
|
575cdcbd48 | |
|
|
44926df57f | |
|
|
a9a0ca4eff | |
|
|
4f24b29dab | |
|
|
9bad905cd7 | |
|
|
7afe37bed5 | |
|
|
b4e966cccd | |
|
|
f0ec28b9aa | |
|
|
3f236c837c |
|
|
@ -476,6 +476,14 @@ class JsonController extends Controller
|
||||||
if (!empty($out)) {
|
if (!empty($out)) {
|
||||||
$obj = simplexml_load_string($out);
|
$obj = simplexml_load_string($out);
|
||||||
|
|
||||||
|
if (isset($obj->GeoObjectCollection->metaDataProperty->GeocoderResponseMetaData->Point)) {
|
||||||
|
$coords = explode(' ', (string) $obj->GeoObjectCollection->metaDataProperty->GeocoderResponseMetaData->Point->pos);
|
||||||
|
$lat = $coords[1];
|
||||||
|
$lng = $coords[0];
|
||||||
|
$name = "Координаты N°" . $lat . ' E°' . $lng;
|
||||||
|
$results[] = array('value' => $name, 'data' => "/?lat=$lat&lng=$lng&zoom=13&marker=true");
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($obj->GeoObjectCollection->metaDataProperty->GeocoderResponseMetaData->found)) {
|
if (isset($obj->GeoObjectCollection->metaDataProperty->GeocoderResponseMetaData->found)) {
|
||||||
$count = (int) $obj->GeoObjectCollection->metaDataProperty->GeocoderResponseMetaData->found;
|
$count = (int) $obj->GeoObjectCollection->metaDataProperty->GeocoderResponseMetaData->found;
|
||||||
if ($count > 0) {
|
if ($count > 0) {
|
||||||
|
|
@ -486,12 +494,6 @@ class JsonController extends Controller
|
||||||
$lng = $coords[0];
|
$lng = $coords[0];
|
||||||
$results[] = array('value' => $name, 'data' => "/?lat=$lat&lng=$lng&zoom=13&marker=true");
|
$results[] = array('value' => $name, 'data' => "/?lat=$lat&lng=$lng&zoom=13&marker=true");
|
||||||
}
|
}
|
||||||
} else if (isset($obj->GeoObjectCollection->metaDataProperty->GeocoderResponseMetaData->Point)) {
|
|
||||||
$coords = explode(' ', (string) $obj->GeoObjectCollection->metaDataProperty->GeocoderResponseMetaData->Point->pos);
|
|
||||||
$lat = $coords[1];
|
|
||||||
$lng = $coords[0];
|
|
||||||
$name = "Координаты N°" . $lat . ' E°' . $lng;
|
|
||||||
$results[] = array('value' => $name, 'data' => "/?lat=$lat&lng=$lng&zoom=13&marker=true");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,7 @@ class PointController extends Controller
|
||||||
$point->descriptionHtml = nl2br($point->descriptionHtml);
|
$point->descriptionHtml = nl2br($point->descriptionHtml);
|
||||||
$point->name = htmlspecialchars($point->name);
|
$point->name = htmlspecialchars($point->name);
|
||||||
App::setConfig('title', $point->name . ' – wikipoints.ru');
|
App::setConfig('title', $point->name . ' – wikipoints.ru');
|
||||||
|
App::setConfig('description', mb_substr(Helper::replaceLinks($point->description), 0, 99, 'UTF-8') . '…');
|
||||||
self::addVar('pointLat', $point->lat);
|
self::addVar('pointLat', $point->lat);
|
||||||
self::addVar('pointLng', $point->lng);
|
self::addVar('pointLng', $point->lng);
|
||||||
self::addVar('pointId', $point->id);
|
self::addVar('pointId', $point->id);
|
||||||
|
|
|
||||||
|
|
@ -147,16 +147,14 @@ window.addEventListener('popstate', function(e)
|
||||||
if (e.state.hasOwnProperty('pointId'))
|
if (e.state.hasOwnProperty('pointId'))
|
||||||
{
|
{
|
||||||
showInfo(e.state.pointId, false, true);
|
showInfo(e.state.pointId, false, true);
|
||||||
} else
|
} else if (e.state.hasOwnProperty('zoom'))
|
||||||
if (e.state.hasOwnProperty('zoom'))
|
|
||||||
{
|
{
|
||||||
lat = e.state.lat;
|
lat = e.state.lat;
|
||||||
lng = e.state.lng;
|
lng = e.state.lng;
|
||||||
zoom = e.state.zoom;
|
zoom = e.state.zoom;
|
||||||
|
|
||||||
myMap.setView([lat, lng], zoom);
|
myMap.setView([lat, lng], zoom);
|
||||||
} else
|
} else if (e.state.hasOwnProperty('route'))
|
||||||
if (e.state.hasOwnProperty('route'))
|
|
||||||
{
|
{
|
||||||
loadRouteJSON(e.state.route);
|
loadRouteJSON(e.state.route);
|
||||||
}
|
}
|
||||||
|
|
@ -251,9 +249,7 @@ function activateAddPoint()
|
||||||
$('#map').css('cursor', 'crosshair');
|
$('#map').css('cursor', 'crosshair');
|
||||||
$('div#addHelper').slideDown(200);
|
$('div#addHelper').slideDown(200);
|
||||||
setStatus(statusHunting)
|
setStatus(statusHunting)
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
$('div#addHelper').hide(150);
|
$('div#addHelper').hide(150);
|
||||||
$('#map').css('cursor', 'arrow');
|
$('#map').css('cursor', 'arrow');
|
||||||
setStatus(statusReady)
|
setStatus(statusReady)
|
||||||
|
|
|
||||||
|
|
@ -87,8 +87,7 @@ function init(lat, lng) {
|
||||||
|
|
||||||
myMap.on('click', function (e) {
|
myMap.on('click', function (e) {
|
||||||
if (!myMap._popup) {
|
if (!myMap._popup) {
|
||||||
if (status == statusHunting)
|
if (status == statusHunting) {
|
||||||
{
|
|
||||||
$('div#addHelper').hide(150);
|
$('div#addHelper').hide(150);
|
||||||
$('#addPointId').remove();
|
$('#addPointId').remove();
|
||||||
$('#addPointForm input:text').val('');
|
$('#addPointForm input:text').val('');
|
||||||
|
|
@ -99,8 +98,7 @@ function init(lat, lng) {
|
||||||
|
|
||||||
$('#myModalLabel').text('Добавление новой точки');
|
$('#myModalLabel').text('Добавление новой точки');
|
||||||
$('#addPointModal').modal('show');
|
$('#addPointModal').modal('show');
|
||||||
} else if (status == statusReHunting)
|
} else if (status == statusReHunting) {
|
||||||
{
|
|
||||||
resetStatus();
|
resetStatus();
|
||||||
|
|
||||||
$('#addPointLat').val(e.latlng.lat);
|
$('#addPointLat').val(e.latlng.lat);
|
||||||
|
|
@ -109,8 +107,7 @@ function init(lat, lng) {
|
||||||
$('#myModalLabel').text('Редактирование точки');
|
$('#myModalLabel').text('Редактирование точки');
|
||||||
$('#addPointModal').modal('show');
|
$('#addPointModal').modal('show');
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
closePopup();
|
closePopup();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
@ -121,15 +118,13 @@ function init(lat, lng) {
|
||||||
$("#extraParamsContainer").sortable();
|
$("#extraParamsContainer").sortable();
|
||||||
|
|
||||||
myMap.on('moveend', function (e) {
|
myMap.on('moveend', function (e) {
|
||||||
if (!myMap._popup && $('#boxRoute').css('display') == 'none' && status != statusMovingInHistory)
|
if (!myMap._popup && status != statusMovingInHistory) {
|
||||||
{
|
|
||||||
document.title = 'Лучшие выходные — это выходные в путешествии! – wikipoints.ru';
|
document.title = 'Лучшие выходные — это выходные в путешествии! – wikipoints.ru';
|
||||||
history.pushState({lat: myMap.getCenter().lat, lng: myMap.getCenter().lng, zoom: myMap.getZoom()}, document.title, "/?lat=" + myMap.getCenter().lat + "&lng=" + myMap.getCenter().lng + "&zoom=" + myMap.getZoom());
|
history.pushState({lat: myMap.getCenter().lat, lng: myMap.getCenter().lng, zoom: myMap.getZoom()}, document.title, "/?lat=" + myMap.getCenter().lat + "&lng=" + myMap.getCenter().lng + "&zoom=" + myMap.getZoom());
|
||||||
loadPointsInBounds();
|
loadPointsInBounds();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (status == statusMovingInHistory)
|
if (status == statusMovingInHistory) {
|
||||||
{
|
|
||||||
resetStatus();
|
resetStatus();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,9 @@ function suggestKeyPress(key)
|
||||||
if ( $('div.hover','#suggestContainer').length > 0 ) {
|
if ( $('div.hover','#suggestContainer').length > 0 ) {
|
||||||
link = $('a', $('div.hover','#suggestContainer')).attr('href');
|
link = $('a', $('div.hover','#suggestContainer')).attr('href');
|
||||||
window.location.href = link;
|
window.location.href = link;
|
||||||
|
} else if ( $('div','#suggestContainer').length > 0 ) {
|
||||||
|
link = $('a', $('div','#suggestContainer')).attr('href');
|
||||||
|
window.location.href = link;
|
||||||
} else {
|
} else {
|
||||||
searchAdderess();
|
searchAdderess();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 111 KiB |
|
After Width: | Height: | Size: 115 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 228 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
|
@ -6,6 +6,23 @@
|
||||||
<div class="coords-container">
|
<div class="coords-container">
|
||||||
Вернуться <a href="/">на карту</a>.
|
Вернуться <a href="/">на карту</a>.
|
||||||
</div>
|
</div>
|
||||||
|
<?php if($article->status != 'system'): ?>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12" style="text-align: center;">
|
||||||
|
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||||
|
<!-- Point-TOP -->
|
||||||
|
<ins class="adsbygoogle"
|
||||||
|
style="display:block"
|
||||||
|
data-ad-client="ca-pub-0069680015252793"
|
||||||
|
data-ad-slot="2373587563"
|
||||||
|
data-ad-format="auto"></ins>
|
||||||
|
<script>
|
||||||
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<br/>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="mainTextBlock">
|
<div class="mainTextBlock">
|
||||||
<?= $article->html; ?>
|
<?= $article->html; ?>
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,18 @@
|
||||||
<div class="container feed">
|
<div class="container feed">
|
||||||
<div class="row elements">
|
<div class="row elements">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
<br/>
|
||||||
|
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||||
|
<!-- Point-TOP -->
|
||||||
|
<ins class="adsbygoogle"
|
||||||
|
style="display:block"
|
||||||
|
data-ad-client="ca-pub-0069680015252793"
|
||||||
|
data-ad-slot="2373587563"
|
||||||
|
data-ad-format="auto"></ins>
|
||||||
|
<script>
|
||||||
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||||
|
</script>
|
||||||
|
<br/>
|
||||||
<h4 class="top5authors">Самые активные авторы</h4>
|
<h4 class="top5authors">Самые активные авторы</h4>
|
||||||
<?php foreach ($authors as $author):?>
|
<?php foreach ($authors as $author):?>
|
||||||
<div class="top5authors text-center">
|
<div class="top5authors text-center">
|
||||||
|
|
@ -15,17 +27,7 @@
|
||||||
</div>
|
</div>
|
||||||
<hr class="onlySmallScreen"/>
|
<hr class="onlySmallScreen"/>
|
||||||
<div class="row elements">
|
<div class="row elements">
|
||||||
<div class="col-md-2">
|
<div class="col-md-6">
|
||||||
<h4 class="onlySmallScreen text-center">Новости</h4>
|
|
||||||
<?php foreach ($news as $item) : ?>
|
|
||||||
<div class="element news">
|
|
||||||
<h4><?= $item->title ?></h4>
|
|
||||||
<?= $item->text ?>
|
|
||||||
</div>
|
|
||||||
<?php endforeach;?>
|
|
||||||
</div>
|
|
||||||
<hr class="onlySmallScreen"/>
|
|
||||||
<div class="col-md-5">
|
|
||||||
<h4 class="onlySmallScreen text-center">Точки</h4>
|
<h4 class="onlySmallScreen text-center">Точки</h4>
|
||||||
<?php foreach ($points as $item) : ?>
|
<?php foreach ($points as $item) : ?>
|
||||||
<div class="element points">
|
<div class="element points">
|
||||||
|
|
@ -41,7 +43,7 @@
|
||||||
<a href="/page/points/"><h4 style="text-align: center;">У нас есть больше новых точек!</h4></a>
|
<a href="/page/points/"><h4 style="text-align: center;">У нас есть больше новых точек!</h4></a>
|
||||||
</div>
|
</div>
|
||||||
<hr class="onlySmallScreen"/>
|
<hr class="onlySmallScreen"/>
|
||||||
<div class="col-md-5">
|
<div class="col-md-6">
|
||||||
<h4 class="onlySmallScreen text-center">Статьи</h4>
|
<h4 class="onlySmallScreen text-center">Статьи</h4>
|
||||||
<?php foreach ($articles as $item) : ?>
|
<?php foreach ($articles as $item) : ?>
|
||||||
<div class="element articles">
|
<div class="element articles">
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,10 @@ if (App::$user) {
|
||||||
<div class="glyphicon glyphicon-plus big _t" title="Приблизить" onclick="myMap.zoomIn()"></div>
|
<div class="glyphicon glyphicon-plus big _t" title="Приблизить" onclick="myMap.zoomIn()"></div>
|
||||||
<div class="glyphicon glyphicon-minus big _b" title="Отдалить" onclick="myMap.zoomOut()"></div>
|
<div class="glyphicon glyphicon-minus big _b" title="Отдалить" onclick="myMap.zoomOut()"></div>
|
||||||
|
|
||||||
<div class="glyphicon _t boxButtonLayers" onclick="openBox('Layers')" title="Слои карты"><img src="/img/buttons/layers.png" style="margin-top: -10px; margin-left: -5px; width: 30px;" /></div>
|
<div class="glyphicon _t boxButtonLayers" onclick="openBox('Layers')" title="Слои карты"><img src="/img/buttons/layers.png" style="margin-left: -5px; width: 30px;" /></div>
|
||||||
<div class="glyphicon _c boxButtonFilter" title="Фильтры и поиск" onclick="openBox('Filter')"><img src="/img/buttons/search.png" style="margin-top: -10px; margin-left: -5px; width: 30px;" /></div>
|
<div class="glyphicon _c boxButtonFilter" title="Фильтры и поиск" onclick="openBox('Filter')"><img src="/img/buttons/search.png" style="margin-left: -5px; width: 30px;" /></div>
|
||||||
<div class="glyphicon _c" id="showMeOnTheMap" title="Я на карте" onclick="showMeOnTheMap()"><img src="/img/buttons/myPosition.png" style="margin-top: -20px; height: 21px;" /></div>
|
<div class="glyphicon _c" id="showMeOnTheMap" title="Я на карте" onclick="showMeOnTheMap()"><img src="/img/buttons/myPosition.png" style="height: 21px;" /></div>
|
||||||
<div class="glyphicon _b boxButtonRoute" title="Маршрут" onclick="openBox('Route')"><img src="/img/buttons/route.png" style="margin-top: -10px; margin-left: -5px; width: 30px;" /></div>
|
<div class="glyphicon _b boxButtonRoute" title="Маршрут" onclick="openBox('Route')"><img src="/img/buttons/route.png" style="margin-left: -5px; width: 30px;" /></div>
|
||||||
|
|
||||||
|
|
||||||
<?php if (App::$user): ?>
|
<?php if (App::$user): ?>
|
||||||
|
|
@ -22,7 +22,7 @@ if (App::$user) {
|
||||||
<div class="glyphicon _c glyphicon-cloud-download boxButtonRoutes" onclick="openBox('Routes')" title="Мои маршруты"></div>
|
<div class="glyphicon _c glyphicon-cloud-download boxButtonRoutes" onclick="openBox('Routes')" title="Мои маршруты"></div>
|
||||||
<div class="glyphicon _b glyphicon-road boxButtonTracks" onclick="openBox('Tracks')" title="Мои треки"></div>
|
<div class="glyphicon _b glyphicon-road boxButtonTracks" onclick="openBox('Tracks')" title="Мои треки"></div>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<div class="glyphicon" id="addPointButton" onclick="$('#loginModal').modal('show');" title="Добавить точку"><img src="/img/buttons/addPoint.png" style="margin-top: -10px; height: 30px;" /></div>
|
<div class="glyphicon" id="addPointButton" onclick="$('#loginModal').modal('show');" title="Добавить точку"><img src="/img/buttons/addPoint.png" style="height: 30px;" /></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="box">
|
<div id="box">
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru" prefix="og: http://ogp.me/ns#" xmlns:fb="http://ogp.me/ns/fb#" xmlns:og="http://ogp.me/ns#">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru" prefix="og: http://ogp.me/ns#" xmlns:fb="http://ogp.me/ns/fb#" xmlns:og="http://ogp.me/ns#">
|
||||||
<head>
|
<head>
|
||||||
<title><?= App::getConfig('title') ?></title>
|
<title><?= App::getConfig('title') ?></title>
|
||||||
<meta name="Description" content="Карта, на которой отмечены достопримечательности разных стран. Создайте своё путешествие!">
|
<meta name="description" content="<?= App::getConfig('description') ?>">
|
||||||
<meta name="Keywords" content="путешествие, туризм, карта, достопримечательности, интересные места, на карте, адрес">
|
<meta name="keywords" content="путешествие, туризм, карта, достопримечательности, интересные места, на карте, адрес">
|
||||||
<link rel="shortcut icon" href="/favicon.ico"></link>
|
<link rel="shortcut icon" href="/favicon.ico"></link>
|
||||||
<link rel="icon" href="/favicon.ico"></link>
|
<link rel="icon" href="/favicon.ico"></link>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru" prefix="og: http://ogp.me/ns#" xmlns:fb="http://ogp.me/ns/fb#" xmlns:og="http://ogp.me/ns#">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru" prefix="og: http://ogp.me/ns#" xmlns:fb="http://ogp.me/ns/fb#" xmlns:og="http://ogp.me/ns#">
|
||||||
<head>
|
<head>
|
||||||
<title><?= App::getConfig('title') ?></title>
|
<title><?= App::getConfig('title') ?></title>
|
||||||
|
<meta name="description" content="<?= App::getConfig('description') ?>">
|
||||||
<link rel="shortcut icon" href="/favicon.ico"></link>
|
<link rel="shortcut icon" href="/favicon.ico"></link>
|
||||||
<link rel="icon" href="/favicon.ico"></link>
|
<link rel="icon" href="/favicon.ico"></link>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-middle">
|
<div class="header-middle">
|
||||||
<a href="tel:+78129814495">+7 (812) 981-4495</a>
|
<a href="tel:+79046106141">+7 (904) 610-6141</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -167,7 +167,7 @@
|
||||||
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-small">
|
<div class="header-small">
|
||||||
<a href="tel:+78129814495">+7 (812) 981-4495</a>
|
<a href="tel:+79046106141">+7 (904) 610-6141</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-middle">
|
<div class="header-middle">
|
||||||
<a href="tel:+78129814495">+7 (812) 981-4495</a>
|
<a href="tel:+79046106141">+7 (904) 610-6141</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -167,7 +167,7 @@
|
||||||
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-small">
|
<div class="header-small">
|
||||||
<a href="tel:+78129814495">+7 (812) 981-4495</a>
|
<a href="tel:+79046106141">+7 (904) 610-6141</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-middle">
|
<div class="header-middle">
|
||||||
<a href="tel:+78129814495">+7 (812) 981-4495</a>
|
<a href="tel:+79046106141">+7 (904) 610-6141</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -167,7 +167,7 @@
|
||||||
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-small">
|
<div class="header-small">
|
||||||
<a href="tel:+78129814495">+7 (812) 981-4495</a>
|
<a href="tel:+79046106141">+7 (904) 610-6141</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-middle">
|
<div class="header-middle">
|
||||||
<a href="tel:+78129814495">+7 (812) 981-4495</a>
|
<a href="tel:+79046106141">+7 (904) 610-6141</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -195,7 +195,7 @@
|
||||||
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
<a href="mailto:info@wikipoints.ru">info@wikipoints.ru</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-small">
|
<div class="header-small">
|
||||||
<a href="tel:+78129814495">+7 (812) 981-4495</a>
|
<a href="tel:+79046106141">+7 (904) 610-6141</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,17 @@
|
||||||
<div class="row darkFooter">
|
<div class="row darkFooter">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<h4 style="text-align: center;">Социальные сети</h4>
|
<h4 style="text-align: center;">Социальные сети</h4>
|
||||||
Присоединяйтеся к нам - это интересно!<br/>
|
Присоединяйтеся к нам — это интересно!<br/>
|
||||||
<a href="https://vk.com/wikipoints" target="_blank">ВКонтакте</a> и
|
<a href="https://vk.com/wikipoints" target="_blank">ВКонтакте</a> и
|
||||||
<a href="https://instagram.com/wikipoints/" target="_blank">Instagram</a><br/>
|
<a href="https://instagram.com/wikipoints/" target="_blank">Instagram</a><br/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<h4 style="text-align: center;">Контакты</h4>
|
<h4 style="text-align: center;">Контакты</h4>
|
||||||
Телефон: +7 (812) 981-4495<br/>
|
Телефон: <a href="tel:+79046106141">+7 (904) 610-6141</a><br/>
|
||||||
EMail: info@wikipoints.ru<br/>
|
EMail: info@wikipoints.ru<br/>
|
||||||
Приглашение к <a href="/article/24">сотрудничеству</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<h4 style="text-align: center;">Прочее</h4>
|
<h4 style="text-align: center;">Прочее</h4>
|
||||||
2014-<?= date('Y') ?> © wikipoints.ru - при любом использовании материалов ссылка на источник обязательна.
|
2014-<?= date('Y') ?> © wikipoints.ru
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,18 @@ $oldIndex = $pagesCount+1;
|
||||||
$header = 'Список точек пользователя <a href="/user/'.$user->id.'">"' . $user->nick . '"</a>';
|
$header = 'Список точек пользователя <a href="/user/'.$user->id.'">"' . $user->nick . '"</a>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
<br/><br/>
|
||||||
|
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||||
|
<!-- Point-TOP -->
|
||||||
|
<ins class="adsbygoogle"
|
||||||
|
style="display:block"
|
||||||
|
data-ad-client="ca-pub-0069680015252793"
|
||||||
|
data-ad-slot="2373587563"
|
||||||
|
data-ad-format="auto"></ins>
|
||||||
|
<script>
|
||||||
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||||
|
</script>
|
||||||
|
<br/>
|
||||||
<h3><?= $header ?></h3>
|
<h3><?= $header ?></h3>
|
||||||
|
|
||||||
<div class="pointsWall">
|
<div class="pointsWall">
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,18 @@ if ($pointsAirport && $usersAirport && $pointsAirport->id != $usersAirport->id){
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||||
|
<!-- Point-TOP -->
|
||||||
|
<ins class="adsbygoogle"
|
||||||
|
style="display:block"
|
||||||
|
data-ad-client="ca-pub-0069680015252793"
|
||||||
|
data-ad-slot="2373587563"
|
||||||
|
data-ad-format="auto"></ins>
|
||||||
|
<script>
|
||||||
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||||
|
</script>
|
||||||
|
<br/>
|
||||||
|
|
||||||
<div class="mainTextBlock">
|
<div class="mainTextBlock">
|
||||||
<?php
|
<?php
|
||||||
if (count($text) > 4) {
|
if (count($text) > 4) {
|
||||||
|
|
|
||||||
|
|
@ -42,19 +42,6 @@ if (App::$user && App::$user->id) {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Сотрудничество <span class="caret"></span></a>
|
|
||||||
<ul class="dropdown-menu">
|
|
||||||
<!-- <li><a href="/article/24">Общая информация</a></li>-->
|
|
||||||
<!-- <li><a href="/lp/">HORECA</a></li>-->
|
|
||||||
<li><a href="/lp/hotels">Отели и хостелы</a></li>
|
|
||||||
<li><a href="/lp/cafe">Рестораны и кафе</a></li>
|
|
||||||
<li><a href="/lp/excursion">Организаторы экскурсий</a></li>
|
|
||||||
<li role="separator" class="divider"></li>
|
|
||||||
<li><a href="/article/22">Контакты</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<?php if (App::$user): ?>
|
<?php if (App::$user): ?>
|
||||||
|
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
|
|
|
||||||