ADD реклама на страницах
This commit is contained in:
parent
a9a0ca4eff
commit
44926df57f
|
|
@ -6,6 +6,22 @@
|
|||
<div class="coords-container">
|
||||
Вернуться <a href="/">на карту</a>.
|
||||
</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>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="mainTextBlock">
|
||||
<?= $article->html; ?>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,18 @@
|
|||
<div class="container feed">
|
||||
<div class="row elements">
|
||||
<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>
|
||||
<?php foreach ($authors as $author):?>
|
||||
<div class="top5authors text-center">
|
||||
|
|
|
|||
|
|
@ -50,6 +50,18 @@ $oldIndex = $pagesCount+1;
|
|||
$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>
|
||||
|
||||
<div class="pointsWall">
|
||||
|
|
|
|||
|
|
@ -46,6 +46,18 @@ if ($pointsAirport && $usersAirport && $pointsAirport->id != $usersAirport->id){
|
|||
<?php endif; ?>
|
||||
</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">
|
||||
<?php
|
||||
if (count($text) > 4) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue