Поправил расположение рекламы на странице точки, добавил рекламу на страницы списка точек
This commit is contained in:
parent
ef0b9faf74
commit
f709013235
|
|
@ -90,7 +90,18 @@ $index = 0;
|
|||
Использованы фотоматериалы с сайтов: <?= $photoLinks ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12" style="text-align: center; margin: 10px auto;">
|
||||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
<!-- Point - DOWN -->
|
||||
<ins class="adsbygoogle"
|
||||
style="display:block"
|
||||
data-ad-client="ca-pub-0069680015252793"
|
||||
data-ad-slot="4972494746"
|
||||
data-ad-format="auto"></ins>
|
||||
<script>
|
||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||
</script>
|
||||
</div>
|
||||
<p style="margin-top: 25px; text-align: right;">
|
||||
<?php if (App::$user && App::$user->id): ?>
|
||||
[ <button type="button" class="btn btn-link" style="color: #333;" onclick="addRemoveFavorite(<?= $point->id ?>)"><span id="myFavoritesButton" class="glyphicon glyphicon-star<?= $point->inFavorites ? '' : '-empty' ?>"></span> Хочу посетить</button> ]
|
||||
|
|
@ -106,20 +117,6 @@ $index = 0;
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12" style="text-align: center;">
|
||||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
<!-- Point - DOWN -->
|
||||
<ins class="adsbygoogle"
|
||||
style="display:block"
|
||||
data-ad-client="ca-pub-0069680015252793"
|
||||
data-ad-slot="4972494746"
|
||||
data-ad-format="auto"></ins>
|
||||
<script>
|
||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<!--googleoff: all-->
|
||||
<!--noindex-->
|
||||
|
|
|
|||
|
|
@ -78,6 +78,20 @@ if (App::getParam('user')) {
|
|||
</ul>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
<div class="row">
|
||||
<div class="col-md-12" style="text-align: center;">
|
||||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
<!-- Point - DOWN -->
|
||||
<ins class="adsbygoogle"
|
||||
style="display:block"
|
||||
data-ad-client="ca-pub-0069680015252793"
|
||||
data-ad-slot="4972494746"
|
||||
data-ad-format="auto"></ins>
|
||||
<script>
|
||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
|
|
|||
Loading…
Reference in New Issue