<%- include("00Header") %>
<% let _slides = Product.Media.Slides; %> <% if( _slides == null && _slides.length == 0 ) { %>
');>
<% } else { %>
<% Object.keys(_slides).sort((a, b) => parseInt(a) - parseInt(b)).forEach(function(key) { if (_slides[key] !== undefined) { %>
<% }}); %>
<% } %>

<%= Product.ProductName %>

<% for(let i=0; i<5; i++) { %> <% } %>
<% let _diffculty = parseInt(Product.Levels['Difficulty']); %>
<% for(let i=0; i<_diffculty; i++) { %> <% } %>
레벨 <%= _diffculty %>
<%= Product.PlayerMinium %>-<%= Product.PlayerMaximum %>
참여가능인원
<%= Product.PlayTime %>
플레이타임 (분)

<%= Product.Story %>

<%= Product.Description %>

바로 예약하기!

예약 스케쥴

<% const currentDate = new Date(); const currentYear = currentDate.getFullYear(); const currentMonth = currentDate.getMonth(); const currentDay = currentDate.getDate(); const monthNames = ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"]; const daysInMonth = new Date(currentYear, currentMonth + 1, 0).getDate(); const firstDay = new Date(currentYear, currentMonth, 1).getDay(); const lastMonthDays = new Date(currentYear, currentMonth, 0).getDate(); const prevMonthDays = (firstDay === 0 ? 6 : firstDay - 2); // Adjust to start on Monday const maxDays = 30; let daysShown = 0; let dayCounter = currentDay; let nextMonthCounter = 1; let currentMonthCounter = currentMonth; let currentYearCounter = currentYear; %> <% let weekStarted = false; for (let week = 0; week < 6 && daysShown < maxDays; week++) { %> <% for (let day = 0; day < 7 && daysShown < maxDays; day++) { %> <% if (!weekStarted && day < prevMonthDays) { %> <% } else { %> <% weekStarted = true; const isPastDay = (week === 0 && day < prevMonthDays + currentDay - 1); const isFutureDay = (daysShown >= maxDays); const isDisabled = isPastDay || isFutureDay; const isActive = (dayCounter === currentDay && currentMonthCounter === currentMonth && currentYearCounter === currentYear); daysShown++; if (dayCounter > daysInMonth) { dayCounter = 1; currentMonthCounter++; if (currentMonthCounter > 11) { currentMonthCounter = 0; currentYearCounter++; } } %> <% dayCounter++; %> <% } %> <% } %> <% if (week == 0) { %> <% } %> <% } %>
<%= currentYear %> <%= monthNames[currentMonth] %> & <%= monthNames[currentMonth + 1] %>
월 화 수 목 금 토 일
<%= (currentMonth + 1).toString().padStart(2, '0') %>/<%= (currentDay - prevMonthDays + day).toString().padStart(2, '0') %> <%= (currentMonthCounter + 1).toString().padStart(2, '0') %>/<%= dayCounter.toString().padStart(2, '0') %>

<%= currentYear %>년 <%= currentMonth + 1 %>월 <%= currentDay %>일 <%= Product.ProductName %>

  1:00 am – 2:00 am 1 space available
  4:00 pm – 6:00 pm 0 spaces available
  1:00 am – 2:00 am 1 space available

Other Rooms

<%- include("05Footer") %>