added credit field to user_kid table
This commit is contained in:
@@ -45,6 +45,7 @@ class user_kid extends user_parent {
|
|||||||
private $user_notify_name;
|
private $user_notify_name;
|
||||||
private $user_notify_email;
|
private $user_notify_email;
|
||||||
private $user_last_notification;
|
private $user_last_notification;
|
||||||
|
private $user_credit;
|
||||||
private $user_deleted;
|
private $user_deleted;
|
||||||
|
|
||||||
public function set_uk_id($_uid) {
|
public function set_uk_id($_uid) {
|
||||||
@@ -312,6 +313,12 @@ class user_kid extends user_parent {
|
|||||||
public function get_uk_balance_transfer() {
|
public function get_uk_balance_transfer() {
|
||||||
return $this->user_balance_transfer;
|
return $this->user_balance_transfer;
|
||||||
}
|
}
|
||||||
|
public function set_uk_credit($_credit) {
|
||||||
|
$this->user_credit = $_credit;
|
||||||
|
}
|
||||||
|
public function get_uk_credit() {
|
||||||
|
return $this->user_credit;
|
||||||
|
}
|
||||||
public function is_logged_in() {
|
public function is_logged_in() {
|
||||||
//leellenőrzi cookie alapján h be vagyunk-e jelentkezve
|
//leellenőrzi cookie alapján h be vagyunk-e jelentkezve
|
||||||
//JAVÍTVA: adja vissza az adattag igazságértékét
|
//JAVÍTVA: adja vissza az adattag igazságértékét
|
||||||
|
|||||||
@@ -7,3 +7,9 @@ ADD COLUMN `mod_sets_expire_date` TINYINT NULL DEFAULT 0 AFTER `mod_money_income
|
|||||||
|
|
||||||
ALTER TABLE `user_kid`
|
ALTER TABLE `user_kid`
|
||||||
ADD COLUMN `uk_last_deposit` DATE NULL DEFAULT NULL AFTER `uk_balance_expire_date`;
|
ADD COLUMN `uk_last_deposit` DATE NULL DEFAULT NULL AFTER `uk_balance_expire_date`;
|
||||||
|
|
||||||
|
INSERT INTO `setting` (`set_name`, `set_setting_type_st_id`) VALUES ('Hitelalkalom', '4');
|
||||||
|
|
||||||
|
ALTER TABLE `user_kid`
|
||||||
|
ADD COLUMN `uk_credit` INT NOT NULL DEFAULT 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user