bying without function
This commit is contained in:
@@ -85,6 +85,7 @@ abstract class Item
|
||||
public $onlyone;
|
||||
public $shshop;
|
||||
public $otdel;
|
||||
public $setsale;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -61,8 +61,8 @@ BTN;
|
||||
$btnValue = "Снять с продажи";
|
||||
$btnLink = "?back={$this->id}&rnd=" . mt_rand();
|
||||
break;
|
||||
case 'marketshowmore':
|
||||
$btnValue = "Развернуть";
|
||||
case 'marketbuy':
|
||||
$btnValue = "Купить " . intval($this->setsale) . " кр.";
|
||||
$btnLink = "?otdel={$this->otdel}&set={$this->id}&rnd=" . mt_rand();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user