fetch($member['uid']), $member); } else { showmessage('activate_illegal', 'index.php'); } list($dateline, $operation, $idstring) = explode("\t", $member['authstr']); if($operation == 2 && $idstring == $_GET['id']) { $newgroup = C::t('common_usergroup')->fetch_by_credits($member['credits']); C::t('common_member')->update($member['uid'], array('groupid' => $newgroup['groupid'], 'emailstatus' => '1')); C::t('common_member_field_forum')->update($member['uid'], array('authstr' => '')); showmessage('activate_succeed', 'index.php', array('username' => $member['username'])); } else { showmessage('activate_illegal', 'index.php'); } } ?>