false, 'message' => '请填写完整的表单。']; } else { $message = addDomain($userId, $mainDomain, $subdomain, $type, $value); if ($message['success']) { header('Location: dashboard.php?success=1'); exit; } } break; case 'delete_domain': $domainId = intval($_POST['domain_id']); $message = deleteDomain($userId, $domainId); if ($message['success']) { header('Location: dashboard.php?deleted=1'); exit; } break; case 'sign_in': $message = signIn($userId); if ($message['success']) { header('Location: dashboard.php?signed=1'); exit; } break; case 'toggle_theme': toggleTheme(); header('Location: dashboard.php'); exit; case 'logout': session_destroy(); header('Location: auth.php'); exit; } } $userInfo = getUserInfo($userId); $domains = getUserDomains($userId); $domainCount = count($domains); $credits = $userInfo['credits']; $canAdd = canAddDomain($userId); $signInToday = hasSignedInToday($userId); $signInStats = getSignInStats($userId); $inviteStats = getInviteStats($userId); $currentTheme = getTheme(); ?>
“:D 获取中...”
您在 注册 管理员还没有添加...
添加域名需要 积分