>

\n"; } ?>
행사명 / 법인명(개인명)기간선택사항참조예약
".$row[wr_id].". ".$row[wr_subject]." / ".$row[wr_1].""; if ($row[row_type] == '1') { //guestroom echo $row[wr_7]."~".$row[wr_8].""; $extras = explode("[分]", empty($row[wr_content]) ? "" : $row[wr_content]); $wr_content = $extras[0]; $sel1 = $extras[1]; $sel1_man = $extras[2]; $sel2 = $extras[3]; $sel2_man = $extras[4]; $sel3 = $extras[5]; $sel3_man = $extras[6]; $sel4 = $extras[7]; $sel4_man = $extras[8]; if (!empty($sel1)) { echo " 양실 특실 $sel1 $sel1_man "; } if (!empty($sel2)) { echo " 양실 일반실 $sel2 $sel2_man "; } if (!empty($sel3)) { echo " 한실 특실 $sel3 $sel3_man "; } if (!empty($sel4)) { echo " 한실 일반실 $sel4 $sel4_man "; } $rustr = "?ru=".$row[wr_id]; } else { //facility echo $row[wr_9]."~".$row[wr_10].""; $extras = explode("[分]", empty($row[wr_content]) ? "" : $row[wr_content]); $idx = 0; $wr_content = $extras[$idx++]; $extra_usetime = $extras[$idx++]; $extra_etctime = $extras[$idx++]; $extra_mancount = $extras[$idx++]; $extra_qtype = $extras[$idx++]; $extra_etype = $extras[$idx++]; $extra_food = $extras[$idx++]; for ($i = 1; $i <= 42; $i++) { $tmp = "extra_item$i"; $$tmp = $extras[$idx++]; } $pstr = ""; $achk = array(array(13, 20), array(21,26), array(27,31), array(32,37), array(38,42)); for ($i = 1; $i <= 12; $i ++) { $tmp = "extra_item$i"; if (!empty($$tmp)) { if ($pstr) $pstr .= ", "; $pstr .= $$tmp; $astr = ""; if ($i <= 5) { //추가 설비 for ($j = $achk[$i-1][0]; $j <= $achk[$i-1][1]; $j++) { $atmp = "extra_item$j"; if (!empty($$atmp)) { if ($astr) $astr .= ", "; $astr .= $$atmp; } } $pstr .= "{$astr}"; } } } echo $pstr; $rustr = "?bo_table=facility&ru=".$row[wr_id]; } echo ""; echo ""; echo "