Files
firstgarden-web-gnu/rb/rb.mod/reservation/info.inc.php
2025-07-02 14:13:16 +09:00

58 lines
4.1 KiB
PHP

<style>
.reservations_cart {}
.reservations_cart span {display: inline-block; text-align: left; font-size: 13px;}
.reservations_cart span.rb_res_icos {
display: inline-block;
padding: 3px 7px 3px 7px;
border-radius: 3px;
background: #BAC1D1 ;
line-height: 1em;
color: #fff;
font-size: 12px;
}
</style>
<?php if(isset($resv['ct_date_s']) && $resv['ct_date_s'] != "0000-00-00") { ?>
<div class="reservations_cart">
<span class="rb_res_icos">날짜</span>
<?php if(isset($resv['ct_date_s']) && $resv['ct_date_s'] != "0000-00-00") { ?>
<span class="rb_res_date font-B"><?php echo isset($resv['ct_date_s']) ? $resv['ct_date_s'] : ''; ?></span>
<?php } ?>
<?php if(isset($resv['ct_date_e']) && $resv['ct_date_e'] != "0000-00-00") { ?>
<span class="rb_res_date font-B"> ~ <?php echo isset($resv['ct_date_e']) ? $resv['ct_date_e'] : ''; ?></span>
<?php } ?>
</div>
<?php } ?>
<?php if(isset($resv['ct_date_t']) && $resv['ct_date_t']) { ?>
<div class="reservations_cart">
<span class="rb_res_icos">선택</span>
<?php if(isset($resv['ct_date_t']) && $resv['ct_date_t']) { ?>
<span class="rb_res_date"><?php echo isset($resv['ct_date_t']) ? $resv['ct_date_t'] : ''; ?></span>
<?php } ?>
</div>
<?php } ?>
<?php if(isset($resv['ct_user_txt1']) && $resv['ct_user_txt1']) { ?>
<div class="reservations_cart">
<span class="rb_res_icos"><?php echo isset($resv['ct_user_txt1']) ? $resv['ct_user_txt1'] : ''; ?></span>
<span class="rb_res_date"><span class="font-B"><?php echo isset($resv['ct_user_qty1']) ? $resv['ct_user_qty1'] : '0'; ?></span> (x<?php echo isset($resv['ct_user_pri1']) ? number_format($resv['ct_user_pri1']) : '0'; ?>원)</span>
</div>
<?php } ?>
<?php if(isset($resv['ct_user_txt2']) && $resv['ct_user_txt2']) { ?>
<div class="reservations_cart">
<span class="rb_res_icos"><?php echo isset($resv['ct_user_txt2']) ? $resv['ct_user_txt2'] : ''; ?></span>
<span class="rb_res_date"><span class="font-B"><?php echo isset($resv['ct_user_qty2']) ? $resv['ct_user_qty2'] : '0'; ?></span> (x<?php echo isset($resv['ct_user_pri1']) ? number_format($resv['ct_user_pri2']) : '0'; ?>원)</span>
</div>
<?php } ?>
<?php if(isset($resv['ct_user_txt3']) && $resv['ct_user_txt3']) { ?>
<div class="reservations_cart">
<span class="rb_res_icos"><?php echo isset($resv['ct_user_txt3']) ? $resv['ct_user_txt3'] : ''; ?></span>
<span class="rb_res_date"><span class="font-B"><?php echo isset($resv['ct_user_qty3']) ? $resv['ct_user_qty3'] : '0'; ?></span> (x<?php echo isset($resv['ct_user_pri1']) ? number_format($resv['ct_user_pri3']) : '0'; ?>원)</span>
</div>
<?php } ?>