uid = $uid; $this->actcode = $actcode; $this->rndcode = $rndcode; return $this->insert(); } public function actUser($uid) { if (empty($uid)) return FALSE; $this->actime = time(); return $this->insert(); } public function checkUserStatus($uid) { if (empty($uid)) return FALSE; $actime = $this->getOne(array('select' => 'actime', 'where' => 'uid=?', 'param' => array($uid), 'asArray' => TRUE)); return $actime['actime']; } } ?>