Поправил расположение рекламы на странице точки, добавил рекламу на страницы списка точек

This commit is contained in:
Krivchikov Dmitry 2015-10-27 11:30:57 +03:00
parent ef0b9faf74
commit f709013235
2 changed files with 26 additions and 15 deletions

View File

@ -90,7 +90,18 @@ $index = 0;
Использованы фотоматериалы с сайтов: <?= $photoLinks ?> Использованы фотоматериалы с сайтов: <?= $photoLinks ?>
<?php endif; ?> <?php endif; ?>
</div> </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;"> <p style="margin-top: 25px; text-align: right;">
<?php if (App::$user && App::$user->id): ?> <?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> ] [ <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> </p>
</div> </div>
</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/> <hr/>
<!--googleoff: all--> <!--googleoff: all-->
<!--noindex--> <!--noindex-->

View File

@ -78,6 +78,20 @@ if (App::getParam('user')) {
</ul> </ul>
</nav> </nav>
<?php endif; ?> <?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/> <hr/>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">