correct logic promo
This commit is contained in:
@@ -12,14 +12,14 @@
|
||||
</script>
|
||||
|
||||
<p id="downloadtitle">
|
||||
<?if ($promo):?>
|
||||
<?if ($promo == 'pr'):?>
|
||||
<a href="https://argumenti.ru/robomail/486?utm_source=argumenti.ru&utm_medium=subscript&utm_campaign=promo">Получайте «Газету на @email»</a>
|
||||
<?else:?>
|
||||
<?if ($filedown):?>
|
||||
<a href="<?=$fullpdf?>"><?=$downtitle?></a><span id="downarrow">↑</span>
|
||||
<?endif?>
|
||||
<span id="downarrow">Приятного чтения ↓</span>
|
||||
<?endif?>
|
||||
<?endif?>
|
||||
<?endif?>
|
||||
<span id="downarrow"> / <a href="<?=$htmlurl?>">html-версия</a></span>
|
||||
</p>
|
||||
|
||||
<div id="stuff-bar">
|
||||
|
||||
@@ -29,9 +29,15 @@
|
||||
<?endforeach?>
|
||||
<?else:?>
|
||||
<p>Данная страница недоступна в мобильной версии</p>
|
||||
<p>Перейдите на <a href="<?=$nexturl?>">следующую страницу</a></p>
|
||||
<p>Перейдите на <a href="<?=$nexturl?>">следующую страницу</a></p>
|
||||
<p>Или <a href="<?=$full_ver_url?>">откройте pdf-версиию</a></p>
|
||||
<?endif?>
|
||||
</div>
|
||||
|
||||
<?include ('blocks/pgtextnav.phtml')?>
|
||||
|
||||
|
||||
<div class="header-div">
|
||||
<a href="<?=$full_ver_url?>">Полная версия газеты</a>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<script src="/pub/scripts/pdf.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/mobile-detect/1.4.4/mobile-detect.min.js"></script>
|
||||
<script src="/pub/scripts/klanviewer.js?ver=34"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/pub/css/an.css?ver=204">
|
||||
<link rel="stylesheet" type="text/css" href="/pub/css/an.css?ver=206">
|
||||
<link rel="icon" type="image/ico" href="https://argumenti.ru/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/pub/fontawesome/css/all.css">
|
||||
|
||||
Reference in New Issue
Block a user