ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/admin/board/ |
Upload File : |
<? if(!$BD_CD) $BD_CD = "XXXXXXXXXX"; // NEW 아이콘 체크 $new_date = date('Y-m-d H:i:s', time() - (48*60*60)); // 48시간 기준 $new_icon = " <img src='/admin/image/m_new.png' height='16'>"; $sql = "SELECT ins_dt FROM TB_RES_GROUP_INQUIRY ORDER BY seq DESC LIMIT 1"; $rs = db_query($sql); $row = db_fetch_array($rs); //$recentlyGroupInquiry = explode(" ",$row['ins_dt']); //$recentlyGroupInquiry = $recentlyGroupInquiry[0]; $today = time(); $insDtTimeStamp = strtotime($row['ins_dt']); $isGroupInquryToday = false; if(($today - $insDtTimeStamp) < (86400 * 2)){ $isGroupInquryToday = true; } $sql2 = "SELECT INSDT FROM B2BQNA ORDER BY MSEQ DESC LIMIT 1"; $rs2 = db_query($sql2); $row2 = db_fetch_array($rs2); //$recentlyGroupInquiry = explode(" ",$row['ins_dt']); //$recentlyGroupInquiry = $recentlyGroupInquiry[0]; $today = time(); $insDtTimeStamp2 = strtotime($row2['INSDT']); $isB2BQNAToday = false; if(($today - $insDtTimeStamp2) < (86400 * 2)){ $isB2BQNAToday = true; } ?> <ul class="sub_menu long"> <li class="sub_menu_title"><span>단체예약</span> <ul class="sub_menu_s"> <?php //(($isGroupInquryToday) ? $new_icon : '') ?> <li <?=TO_page_on("groupReservation.html?lang=ko")?>><a href="groupReservation.html?lang=ko">단체예약문의 - KO</a></li> <li <?=TO_page_on("groupReservation.html?lang=en")?>><a href="groupReservation.html?lang=en">단체예약문의 - EN</a></li> <li <?=TO_page_on("groupReservation.html?lang=tw")?>><a href="groupReservation.html?lang=tw">단체예약문의 - TW</a></li> </ul> </li> <?php $SUBMENU= board_group_list("","GRP99"); foreach($SUBMENU as $row){ if ($row[GRP_NM] == 'B2B 거래처 문의') { continue; } ?> <li class="sub_menu_title"><span><?=$row[GRP_NM]?></span> <ul class="sub_menu_s"> <?php $SUBMENU2= board_info_list($row[GRP_CD]); foreach($SUBMENU2 as $sub_row){ if($sub_row['DELFLAG'] == "N"){ $board_data_row = db_fetch("SELECT COUNT(MSEQ) AS count FROM ".$sub_row[BD_CD]." where INSDT > '".$new_date."'; "); ?> <li <?if($BD_CD==$sub_row[BD_CD]){?>class="on"<?}?>> <a href="index.html?BD_CD=<?=$sub_row[BD_CD]?>"> <?=$sub_row[BD_NM]?> <? if($board_data_row['count'] > 0) echo $new_icon; ?> </a> </li> <? } ?> <?}?> </ul> </li> <? } ?> <li class="sub_menu_title"><span>제휴문의</span> <ul class="sub_menu_s"> <li <?=TO_page_on("partner.html")?>><a href="partner.html">제휴문의</a></li> </ul> </li> <li class="sub_menu_title"><span>게시판 설정</span> <ul class="sub_menu_s"> <li <?=TO_page_on("board_setting")?>><a href="board_setting.html">게시판 설정</a></li> </ul> </li> </ul>