add baseurl

This commit is contained in:
Andrey Kuvshinov
2020-04-07 19:39:01 +03:00
parent 50ea722500
commit f6b9effb39
2 changed files with 2 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ function anpromo_kuri($page = 1, $scale = 2){
$pdfile = '/pub/files/promo.pdf';
$maxpage = 32;
$title = 'Номер 12(706)';
$baseurl = '/';
if ($page < $maxpage){
$nextpage = $page + 1;

View File

@@ -53,7 +53,7 @@ _tmr.push({id: "1069168", type: "pageView", start: (new Date()).getTime()});
</script>
<h1 style="font-size: 1.4em;text-align: center;">
<a style="color: #4e4f55;text-decoration:underline;" href="https://argumenti.ru/">Аргументы Недели</a><a style="color: #4e4f55;text-decoration:underline;letter-spacing: 0.3px;" href="/"><?=$title?></a>
<a style="color: #4e4f55;text-decoration:underline;" href="https://argumenti.ru/">Аргументы Недели</a><a style="color: #4e4f55;text-decoration:underline;letter-spacing: 0.3px;" href="<?=$baseurl?>"><?=$title?></a>
</h1>
<!-- Yandex.RTB R-A-50615-61 -->
<div id="yandex_rtb_R-A-50615-61"></div>