2022-09-17 20:50:50 +09:00
|
|
|
<?php
|
2024-09-23 11:41:22 +09:00
|
|
|
if (!defined('_GNUBOARD_'))
|
|
|
|
|
exit; // 개별 페이지 접근 불가
|
2022-09-17 20:50:50 +09:00
|
|
|
|
|
|
|
|
$src = "";
|
|
|
|
|
$img_content = "";
|
|
|
|
|
$thumb_class = "";
|
2024-09-23 11:41:22 +09:00
|
|
|
if ($list[$i]['wr_1']) {
|
|
|
|
|
$src = $list[$i]['wr_1'];
|
2022-09-17 20:50:50 +09:00
|
|
|
}
|
2024-09-23 11:41:22 +09:00
|
|
|
if ($src) {
|
|
|
|
|
$img_content = '<em style="background-image:url(\'' . $src . '\');"></em>';
|
2022-09-17 20:50:50 +09:00
|
|
|
} else {
|
2024-09-23 11:41:22 +09:00
|
|
|
$thumb_class = "fix";
|
2022-09-17 20:50:50 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
2024-09-23 11:41:22 +09:00
|
|
|
<li style="width:<?= $gallery_w ?>px;">
|
|
|
|
|
<div class="character-card-frame">
|
|
|
|
|
<div class="pad" style="padding-top:<?= $gallery_rato ?>%;"></div>
|
|
|
|
|
<a class="pic <?= $thumb_class ?>" href="<?php echo $list[$i]['href'] ?>">
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
echo $img_content;
|
|
|
|
|
?>
|
|
|
|
|
<span class="cover <?= $thumb_class ?>">
|
|
|
|
|
<span>
|
|
|
|
|
<span>
|
|
|
|
|
<strong class="sub-subject"><?= $list[$i]['wr_3'] ?></strong>
|
|
|
|
|
<strong class="subject"><?= $list[$i]['wr_subject'] ?></strong>
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|