first commit 2

This commit is contained in:
hmw1001
2026-06-11 18:47:38 +09:00
parent c768729ce6
commit 6f534e33a6
11095 changed files with 1595758 additions and 0 deletions
@@ -0,0 +1,21 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if ($view['wr_is_reserved'] == 1) {
$today = G5_TIME_YMDHIS;
$status_text = '예약 대기';
$status_class = 'reserved';
if ($today >= $view['wr_reserved_start'] && $today <= $view['wr_reserved_end']) {
$status_text = '노출 중';
$status_class = 'active';
} elseif ($today > $view['wr_reserved_end']) {
$status_text = '노출 종료';
$status_class = 'expired';
}
?>
<div class="view_reservation_info">
<span class="status_badge <?php echo $status_class; ?>"><?php echo $status_text; ?></span>
<span class="period"><?php echo $view['wr_reserved_start']; ?> ~ <?php echo $view['wr_reserved_end']; ?></span>
</div>
<?php } ?>