X-Git-Url: http://mop.ddnsfree.com/gitweb/?p=brisk.git;a=blobdiff_plain;f=web%2FObj%2Fdbase_base.phh;h=1e7a19ad33a31674f922580e9a50e83f057333fb;hp=b79e176aa3c41242c23afff84369b456434d2b4f;hb=a04917816df17fb43979ecb4299d84ac3ae7e6e7;hpb=484a365c1e66ba4b878117275423a1594c209960 diff --git a/web/Obj/dbase_base.phh b/web/Obj/dbase_base.phh index b79e176..1e7a19a 100644 --- a/web/Obj/dbase_base.phh +++ b/web/Obj/dbase_base.phh @@ -34,8 +34,11 @@ class LoginDBItem { var $tos_vers; var $disa_reas; var $guar_code; + var $match_cnt; + var $game_cnt; - function LoginDBItem($code, $login, $pass, $email, $type, $last_dona, $supp_comp, $tos_vers, $disa_reas, $guar_code) + function LoginDBItem($code, $login, $pass, $email, $type, $last_dona, $supp_comp, $tos_vers, + $disa_reas, $guar_code, $match_cnt, $game_cnt) { $this->code = $code; $this->login = $login; @@ -47,13 +50,16 @@ class LoginDBItem { $this->tos_vers = $tos_vers; $this->disa_reas = $disa_reas; $this->guar_code = $guar_code; + $this->match_cnt = $match_cnt; + $this->game_cnt = $game_cnt; } static function LoginDBItemFromRecord($rec) { $ret = new LoginDBItem($rec->code, $rec->login, $rec->pass, $rec->email, $rec->type, $rec->last_dona, - $rec->supp_comp, $rec->tos_vers, $rec->disa_reas, $rec->guar_code); + $rec->supp_comp, $rec->tos_vers, $rec->disa_reas, $rec->guar_code, + $rec->match_cnt, $rec->game_cnt); return ($ret); } @@ -119,6 +125,23 @@ class LoginDBItem { return $this->guar_code; } + function match_cnt_get() + { + return $this->match_cnt; + } + function match_cnt_add($v) + { + return $this->match_cnt += $v; + } + + function game_cnt_get() + { + return $this->game_cnt; + } + function game_cnt_add($v) + { + return $this->game_cnt += $v; + } } define('MAIL_TYP_CHECK', 1);