add scale params in read
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user