Showing
3 changed files
with
8 additions
and
15 deletions
... | @@ -40,8 +40,8 @@ function getTodayDate() { | ... | @@ -40,8 +40,8 @@ function getTodayDate() { |
40 | var month = ("0" + (today.getMonth() + 1)).slice(-2); | 40 | var month = ("0" + (today.getMonth() + 1)).slice(-2); |
41 | var day = ("0" + today.getDate()).slice(-2); | 41 | var day = ("0" + today.getDate()).slice(-2); |
42 | var dateString = year + "-" + month + "-" + day; | 42 | var dateString = year + "-" + month + "-" + day; |
43 | - // return "2022-11-27"; // 테스트용 날짜를 입력하세요. 테스트가 끝나면 주석처리 하세요. ex) 2022-09-12, 2022-09-15, 2022-10-04 | 43 | + return "2022-06-06"; // 테스트용 날짜를 입력하세요. 테스트가 끝나면 주석처리 하세요. ex) 2022-09-12, 2022-09-15, 2022-10-04 |
44 | - return dateString; | 44 | + // return dateString; |
45 | } | 45 | } |
46 | 46 | ||
47 | // To get modified date from locdate | 47 | // To get modified date from locdate | ... | ... |
... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
32 | 32 | ||
33 | <!--comment part--> | 33 | <!--comment part--> |
34 | <div id="comment"> | 34 | <div id="comment"> |
35 | - <% if (data[2] << 7) { %> | 35 | + <% if (data[2] << 7 ) { %> |
36 | <h2>벌써 <%= data[0] %>이(가) <font color="pink">일주일</font>도 남지 않았습니다! </h2> | 36 | <h2>벌써 <%= data[0] %>이(가) <font color="pink">일주일</font>도 남지 않았습니다! </h2> |
37 | 37 | ||
38 | <% } else if (data[2] << 10) { %> | 38 | <% } else if (data[2] << 10) { %> |
... | @@ -41,8 +41,11 @@ | ... | @@ -41,8 +41,11 @@ |
41 | <% } else if (data[2] << 31) { %> | 41 | <% } else if (data[2] << 31) { %> |
42 | <h2><%= data[0] %>이(가) <font color="pink">한 달</font>도 남지 않았습니다! </h2> | 42 | <h2><%= data[0] %>이(가) <font color="pink">한 달</font>도 남지 않았습니다! </h2> |
43 | 43 | ||
44 | + <% } else if (data[2] == 0) { %> | ||
45 | + <h2>오늘은 즐거운 공휴일!</h2> | ||
46 | + | ||
44 | <% } else { %> | 47 | <% } else { %> |
45 | - <h2>오늘부터 한 달 안에는 공휴일이 없습니다..</h2> | 48 | + <h2>오늘부터 한 달 안에 공휴일이 없습니다..</h2> |
46 | <% } %> | 49 | <% } %> |
47 | </div> | 50 | </div> |
48 | 51 | ||
... | @@ -162,21 +165,10 @@ | ... | @@ -162,21 +165,10 @@ |
162 | <div class="frame"> | 165 | <div class="frame"> |
163 | <button class="custom-btn btn-12" onclick ="location.href='http://buncheon.k7788.com/index.html?Midx=366&ct_pg=781'"><span>click!</span><span>분천역 산타마을</span></button> | 166 | <button class="custom-btn btn-12" onclick ="location.href='http://buncheon.k7788.com/index.html?Midx=366&ct_pg=781'"><span>click!</span><span>분천역 산타마을</span></button> |
164 | </div> | 167 | </div> |
165 | - | ||
166 | <% } else { %> | 168 | <% } else { %> |
167 | <h2>Just Take some rest!</h2> | 169 | <h2>Just Take some rest!</h2> |
168 | - | ||
169 | <% } %> | 170 | <% } %> |
170 | - | ||
171 | - | ||
172 | - | ||
173 | - | ||
174 | - | ||
175 | - | ||
176 | - | ||
177 | </div> | 171 | </div> |
178 | - | ||
179 | - | ||
180 | </body> | 172 | </body> |
181 | </center> | 173 | </center> |
182 | </html> | 174 | </html> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment