add scale params in read

This commit is contained in:
Andrey Kuvshinov
2020-04-07 19:29:13 +03:00
parent 0d95b04648
commit eb94862d0a

View File

@@ -26,7 +26,7 @@ function anpromo_kuri($page = 1, $scale = 2){
} }
function read_kuri($hash, $page=1){ function read_kuri($hash, $page = 1, $scale = 2){
$price = db_get("SELECT `price_id`, `pricename` FROM `price` WHERE `pricehash` = '$hash' LIMIT 1"); $price = db_get("SELECT `price_id`, `pricename` FROM `price` WHERE `pricehash` = '$hash' LIMIT 1");
@@ -43,6 +43,7 @@ function read_kuri($hash, $page=1){
$filedown = True; $filedown = True;
if ($page < $maxpage){ if ($page < $maxpage){
$nextpage = $page + 1; $nextpage = $page + 1;
$nexturl = "/anpromo/$nextpage"; $nexturl = "/anpromo/$nextpage";