body)) { header("Location: " . SITEURL . "/404.php"); die(); } $top = get("user/".$id."/profile/top"); $res = $res->body; $top = $top->body; if (count((array)$res->illusts) == 0) header("Location: " . SITEURL . "/404.php"); $out = ["title" => $top->extraData->meta->title, "desc" => $top->extraData->meta->description, "img_sec" => "userhead", "img_id" => $id]; $index = 0; $illusts = count((array)$res->illusts); $iurl = "user/".$id."/profile/illusts?"; foreach ($res->illusts as $k => $v) { $index++; if ($index <= $offset) continue; if ($index >= ($pagemax+$offset)+1) break; $iurl .= "ids[]=".$k."&"; } $iurl .= "work_category=illustManga&is_first_page=0"; unset($index); ?> extraData->meta->ogp->title; $now = "illust"; $bmc = $res->bookmarkCount->public->illust; $ilc = count((array)$res->illusts); $mgc = count((array)$res->manga); include("../../../include/usermenu.php"); unset($res); ?>