add read
This commit is contained in:
@@ -90,7 +90,11 @@ _tmr.push({id: "1069168", type: "pageView", start: (new Date()).getTime()});
|
||||
<?endif?>
|
||||
</ul>
|
||||
<p style="width: 40%;background: #69c;display: flex;height: 51px;align-items: center;justify-content: center;font-weight: bold;font-size: 1.1em;">
|
||||
<a style="color:white;" href="https://argumenti.ru/robomail/486?utm_source=argumenti.ru&utm_medium=subscript&utm_campaign=promo">Получайте «Газету на @email»</a>
|
||||
<?if ($filedown):?>
|
||||
<a style="color:white;" href="https://argumenti.ru/robomail/486?utm_source=argumenti.ru&utm_medium=subscript&utm_campaign=promo">Скачать на устройство</a>
|
||||
<?else:?>
|
||||
<a style="color:white;" href="https://argumenti.ru/robomail/486?utm_source=argumenti.ru&utm_medium=subscript&utm_campaign=promo">Получайте «Газету на @email»</a>
|
||||
<?endif?>
|
||||
</p>
|
||||
</div>
|
||||
<div id="smi_teaser_13132" style="width:100%;">
|
||||
|
||||
@@ -11,6 +11,13 @@ function priceid_kuri($id){
|
||||
}
|
||||
|
||||
|
||||
function anfilename($id){
|
||||
|
||||
return "/vhosts/an/httpdocs/pub/files/pdf/pdf/$id.pdf";
|
||||
}
|
||||
|
||||
|
||||
|
||||
function file_kuri($hash) {
|
||||
|
||||
|
||||
@@ -23,7 +30,7 @@ function file_kuri($hash) {
|
||||
}
|
||||
|
||||
$id = $price['price_id'];
|
||||
$pdfile = "/vhosts/an/httpdocs/pub/files/pdf/pdf/$id.pdf";
|
||||
$pdfile = anfilename($id);
|
||||
|
||||
$request = $_SERVER['REQUEST_URI'];
|
||||
$filename = basename($request);
|
||||
|
||||
Reference in New Issue
Block a user