new anpromo

This commit is contained in:
Andrey Kuvshinov
2020-05-21 19:28:09 +03:00
parent 1175cb825a
commit 9ec33612b8
2 changed files with 3 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ function anpromo_kuri($page = 1, $scale = 1){
$newcurr = strtotime('2006-05-12');
$file = SITEPATH.'pub/files/source/742.pdf';
$data = pdfs_init($file, $page);
$count = $data['count'];
@@ -36,7 +37,7 @@ function anpromo_kuri($page = 1, $scale = 1){
$downtitle = 'Скачать в PDF формате';
$tempcontent = VIEWPATH.'anpdf2.phtml'; //подшаблон
$tempcontent = VIEWPATH.'anpdf3.phtml'; //подшаблон
include VIEWPATH.'layout.phtml'; //центральный шаблон