body)) { header("Location: " . SITEURL . "/404.php"); die(); } $res = $res->body; if ($res->commentCount > 0) { $com = get("illusts/comments/roots?illust_id=".$id); } $rec = get("illust/".$id."/recommend/init?limit=".$rpsize); $out = ["title" => $res->alt, "desc" => $res->description, "img_sec" => "artwork", "img_id" => $id]; $icon = ""; foreach ($res->userIllusts as $k => $v) { if (is_null($v)) continue; if (isset($v->profileImageUrl)) $icon = imgprx($v->profileImageUrl); } ?>
pageCount; $i++) { ?>

urls->original)) ?>"> urls->regular)) ?>" alt="illustTitle ?>" />

illustTitle ?>

好:likeCount ?> 保:bookmarkCount ?> 視:viewCount ?>
<?= $res->userName ?> userName ?>

コメント (commentCount ?>)

error) { foreach ($com->body->comments as $c) { ?> message; } ?>
<?= $c->userName ?> userName ?> commentDate ?>
stampId)) { echo $c->comment; } else { ?> <?= $c->stampId ?>

関連作品

error) { foreach ($rec->body->illusts as $r) { if (is_null($r->id)) continue; ?>
<?= $r->alt ?> title ?>
<?= $r->userName ?> userName ?>
message; } ?>