Lines Matching refs:base
15 var $base; variable in usermodel
17 function __construct(&$base) { argument
18 $this->usermodel($base);
21 function usermodel(&$base) { argument
22 $this->base = $base;
23 $this->db = $base->db;
70 …"SELECT count(*) FROM ".UC_DBTABLEPRE."mergemembers WHERE appid='".$this->base->app['appid']."' AN…
75 $_CACHE['badwords'] = $this->base->cache('badwords');
76 $censorusername = $this->base->get_setting('censorusername');
97 $setting = $this->base->get_setting(array('accessemail', 'censoremail'));
130 $regip = empty($regip) ? $this->base->onlineip : $regip;
135 …, password='$password', email='$email', regip='$regip', regdate='".$this->base->time."', salt='$sa…
177 $uids = $this->base->implode($uidsarr);
183 $uids = $this->base->implode(array_diff($uidsarr, $puids));
188 $this->base->load('note');
202 $start = $this->base->page_get_start($page, $ppp, $totalnum);
209 $usernames = $this->base->implode($usernamesarr);
220 …SELECT uid, username FROM ".UC_DBTABLEPRE."members WHERE uid IN (".$this->base->implode($uidarr)."…
233 …$check_times = $this->base->settings['login_failedtime'] < 1 ? 5 : $this->base->settings['login_fa…
238 $ip = $this->base->onlineip;
251 if(empty($ip_check) || ($this->base->time - $ip_check['lastupdate'] > $expire)) {
253 …UC_DBTABLEPRE."failedlogins (ip, count, lastupdate) VALUES ('{$ip}', '0', '{$this->base->time}')");
256 if(empty($user_check) || ($this->base->time - $user_check['lastupdate'] > $expire)) {
258 …ABLEPRE."failedlogins (ip, count, lastupdate) VALUES ('{$username}', '0', '{$this->base->time}')");
267 …$this->db->query("DELETE FROM ".UC_DBTABLEPRE."failedlogins WHERE lastupdate<".($this->base->time …
275 $ip = $this->base->onlineip;
277 …ATE ".UC_DBTABLEPRE."failedlogins SET count=count+1, lastupdate='".$this->base->time."' WHERE ip='…