Lines Matching refs:this

23 		$this->usercontrol();
28 $this->load('user');
29 $this->app = $this->cache['apps'][UC_APPID];
33 $this->init_input();
34 $uid = $this->input('uid');
35 if($this->app['synlogin']) {
36 if($this->user = $_ENV['user']->get_user_by_uid($uid)) {
38 foreach($this->cache['apps'] as $appid => $app) {
39 if($app['synlogin'] && $app['appid'] != $this->app['appid']) {
40this->time.'&code='.urlencode($this->authcode('action=synlogin&username='.$this->user['username'].…
50 $this->init_input();
51 if($this->app['synlogin']) {
53 foreach($this->cache['apps'] as $appid => $app) {
54 if($app['synlogin'] && $app['appid'] != $this->app['appid']) {
55 …c="'.$app['url'].'/api/uc.php?time='.$this->time.'&code='.urlencode($this->authcode('action=synlog…
64 $this->init_input();
65 $username = $this->input('username');
66 $password = $this->input('password');
67 $email = $this->input('email');
68 $questionid = $this->input('questionid');
69 $answer = $this->input('answer');
70 $regip = $this->input('regip');
72 if(($status = $this->_check_username($username)) < 0) {
75 if(($status = $this->_check_email($email)) < 0) {
83 $this->init_input();
84 $username = $this->input('username');
85 $oldpw = $this->input('oldpw');
86 $newpw = $this->input('newpw');
87 $email = $this->input('email');
88 $ignoreoldpw = $this->input('ignoreoldpw');
89 $questionid = $this->input('questionid');
90 $answer = $this->input('answer');
92 if(!$ignoreoldpw && $email && ($status = $this->_check_email($email, $username)) < 0) {
98 $this->load('note');
106 $this->init_input();
107 $isuid = $this->input('isuid');
108 $username = $this->input('username');
109 $password = $this->input('password');
110 $checkques = $this->input('checkques');
111 $questionid = $this->input('questionid');
112 $answer = $this->input('answer');
113 $ip = $this->input('ip');
115 …$this->settings['login_failedtime'] = is_null($this->settings['login_failedtime']) ? 5 : $this->se…
117 …if($ip && $this->settings['login_failedtime'] && !$loginperm = $_ENV['user']->can_do_login($userna…
140 if($ip && $this->settings['login_failedtime'] && $status <= 0) {
148 $this->init_input();
149 $username = $this->input('username');
150 $ip = $this->input('ip');
155 $this->init_input();
156 $email = $this->input('email');
157 return $this->_check_email($email);
161 $this->init_input();
162 $username = $this->input('username');
163 if(($status = $this->_check_username($username)) < 0) {
171 $this->init_input();
172 $username = $this->input('username');
173 if(!$this->input('isuid')) {
187 $this->init_input();
188 …$protectedmembers = $this->db->fetch_all("SELECT uid,username FROM ".UC_DBTABLEPRE."protectedmembe…
193 $this->init_input();
194 $uid = $this->input('uid');
199 $this->init_input();
200 $username = $this->input('username');
201 $admin = $this->input('admin');
202 $appid = $this->app['appid'];
207 …$this->db->query("REPLACE INTO ".UC_DBTABLEPRE."protectedmembers SET uid='$uid', username='$userna…
209 return $this->db->errno() ? -1 : 1;
213 $this->init_input();
214 $username = $this->input('username');
215 $appid = $this->app['appid'];
218 …$this->db->query("DELETE FROM ".UC_DBTABLEPRE."protectedmembers WHERE username='$username' AND app…
220 return $this->db->errno() ? -1 : 1;
224 $this->init_input();
225 $oldusername = $this->input('oldusername');
226 $newusername = $this->input('newusername');
227 $uid = $this->input('uid');
228 $password = $this->input('password');
229 $email = $this->input('email');
230 if(($status = $this->_check_username($newusername)) < 0) {
234 …$this->db->query("DELETE FROM ".UC_DBTABLEPRE."mergemembers WHERE appid='".$this->app['appid']."' …
239 $this->init_input();
240 $username = $this->input('username');
241 …$this->db->query("DELETE FROM ".UC_DBTABLEPRE."mergemembers WHERE appid='".$this->app['appid']."' …
258 if(empty($this->settings)) {
259 $this->settings = $this->cache('settings');
265 } elseif(!$this->settings['doublee'] && $_ENV['user']->check_emailexists($email, $username)) {