add title page

This commit is contained in:
Andrey Kuvshinov
2020-05-03 09:56:52 +03:00
parent 970e83741b
commit e7696b44cf
2 changed files with 29 additions and 3 deletions

View File

@@ -136,7 +136,10 @@ function promo_kuri($hash, $page = 1, $scale = 2, $promo = false){
$id = $price['price_id'];
$pdfile = "/file/$hash";
$maxpage = 32;
$title = $price['pricename'];
if ($page > 1)
$title = $price['pricename']."- $page";
else
$title = $price['pricename'];
if (!$promo)
$filedown = False;