correct pdfile
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
ini_set('display_errors','off');
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
|
||||||
function anpromo_kuri($page = 1, $scale = 2){
|
function anpromo_kuri($page = 1, $scale = 2){
|
||||||
|
|
||||||
// $pdfile = 'https://argumenti.ru/templinks/md5files/f9598f88e667146d50d106eeedbd74c1.pdf';
|
// $pdfile = 'https://argumenti.ru/templinks/md5files/f9598f88e667146d50d106eeedbd74c1.pdf';
|
||||||
@@ -34,7 +37,7 @@ function read_kuri($hash, $page){
|
|||||||
}
|
}
|
||||||
|
|
||||||
$id = $price['price_id'];
|
$id = $price['price_id'];
|
||||||
$pdfile = SITE."file/$hash";
|
$pdfile = SITE."/read/$hash";
|
||||||
$maxpage = 32;
|
$maxpage = 32;
|
||||||
$title = $price['pricename'];
|
$title = $price['pricename'];
|
||||||
$filedown = True;
|
$filedown = True;
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ _tmr.push({id: "1069168", type: "pageView", start: (new Date()).getTime()});
|
|||||||
</ul>
|
</ul>
|
||||||
<p style="width: 40%;background: #69c;display: flex;height: 51px;align-items: center;justify-content: center;font-weight: bold;font-size: 1.1em;">
|
<p style="width: 40%;background: #69c;display: flex;height: 51px;align-items: center;justify-content: center;font-weight: bold;font-size: 1.1em;">
|
||||||
<?if ($filedown):?>
|
<?if ($filedown):?>
|
||||||
<a style="color:white;" href="https://argumenti.ru/robomail/486?utm_source=argumenti.ru&utm_medium=subscript&utm_campaign=promo">Скачать на устройство</a>
|
<a style="color:white;" href="<?=$pdfile?>">Скачать на устройство</a>
|
||||||
<?else:?>
|
<?else:?>
|
||||||
<a style="color:white;" href="https://argumenti.ru/robomail/486?utm_source=argumenti.ru&utm_medium=subscript&utm_campaign=promo">Получайте «Газету на @email»</a>
|
<a style="color:white;" href="https://argumenti.ru/robomail/486?utm_source=argumenti.ru&utm_medium=subscript&utm_campaign=promo">Получайте «Газету на @email»</a>
|
||||||
<?endif?>
|
<?endif?>
|
||||||
|
|||||||
Reference in New Issue
Block a user