ÿØÿà 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/include/ |
Upload File : |
<?php /** * 공통 top (대리점 관리자모드) * * 작성자 : * 작성일 : 20130424 * **/ include_once("../include/top_proc.html"); // 페이지 접근 퍼미션 if( $TK_MEMBER['mb_level'] != $cf['agent_level'] && $TK_MEMBER['mb_level'] != $cf['trade_level'] ) error_msg("/*alert('대리점관리자만 접근가능합니다.');*/history.go(-1)","script"); // 대리점 / 공급처 구분값 * 삭제금지 $b2b_mode = true; //대리점 또는 공급처 if( $TK_MEMBER['mb_level'] == $cf['agent_level'] ) $agent_mode = true; // 거래처 if( $TK_MEMBER['mb_level'] == $cf['trade_level'] ) $trade_mode = true; // 공급처 //사이트 로고 지정 if($TK_CF['shop_logo']) $shop_logo = "/FileData/logo/m_logo3.png"; else $shop_logo = $cf['tkadminsystem_logo']; $ag_allow_menu = explode(",", $TK_MEMBER['ag_allow_menu']); //[son] $B2b = new B2b(); $langInfo = $B2b->langInfo(); $ag_manager = $TK_MEMBER['ag_manager']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?=$cf['tkadminsystem']?></title> <link type="text/css" rel="stylesheet" href="../css/admin_default_<?=$langInfo[lang]?>.css" /> <link type="text/css" rel="stylesheet" href="../css/all.css?ver=2022_10_20_0" /> <link rel="stylesheet" href="//cdn.jsdelivr.net/xeicon/1.0.4/xeicon.min.css"> <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/xeicon@2.3.3/xeicon.min.css"> <script type="text/javascript"> var lang = ""; </script> <!-- jquery --> <script src="/js/jquery-1.9.1.js" type="text/javascript"></script> <!-- 갤러리플래시 --> <script src="../js/swf_upload.js" type="text/javascript"></script> <!-- jquery ui --> <link type="text/css" rel="stylesheet" href="/js/jquery-ui/css/jquery-ui-1.10.4.custom.css" /> <script src="/js/jquery-ui/jquery-ui-1.10.4.custom.js" type="text/javascript"></script> <!-- admin 공통 js --> <script type="text/javascript" src="/js/common.js"></script> <script type="text/javascript" src="/js/common.lib.js"></script> <script type="text/javascript" src="/js/Validator.js"></script> <!-- AjaxCalendar(PHP) --> <script type="text/javascript" src="/js/ajaxcalendar/AjaxCalendar.js"></script> <!-- 웹에디터 --> <script type="text/javascript" src="/js/ckeditor_v4.9/ckeditor.js"></script> </head> <body> <!-- 로딩바 --> <div id="ajax_loading_bar" style="position:absolute;z-index:100;display:none;cursor:pointer;" onclick="$(this).hide();"> <img src="../image/ajax-loader.gif" alt="로딩중입니다." /> </div> <!-- ajax처리 레이어 --> <div id="ajax_proc"></div> <div id="wrap"> <div class="log_wrap"> <div class="p_info"> <? if($trade_mode && $TK_MEMBER['biz_pms'] == 'Y') { ?> <div style="float:left; display:inline-block; font-size:14px; padding:3px 7px 3px; margin:4px 4px 0 0; color:#DDD;"><img src="/admin/image/icon/ico_pms_thunder_w.gif"> PMS 연동중</div> <? } ?> <p class="info_txt"><?=$TK_MEMBER['bz_corp_nm']?></p> <p class="info_corp"><?=_e2($TK_MEMBER['MemberLevelName'])?></p> <!--<p class="info_name"><?=$MemberName?></p>--> <p class="info_icon tooltip"><i class="xi-profile"><span class="tooltiptext"><?=$ag_manager?></span></i></p> <p class="info_icon tooltip"><i class="xi-paper"><span class="tooltiptext"><img src="/image/board/bullet_disk.gif"><? for($j=1;$j<=3;$j++){ if($TK_MEMBER["ag_file".$j]!=""){ if($j>1) echo '<br>'; ?> <a href="../lib/Download.php?Type=MEMBER&FileName=<?=$TK_MEMBER["ag_file".$j]?>&FileNameOrg=<?=$TK_MEMBER["ag_file".$j."_org"]?>"><?=$TK_MEMBER["ag_file".$j."_org"]?></a> <?}}?> </span></i></p> <p class="info_icon"><i class="xi-bell-o"></i></p> <p class="info_txt"><a href="../logout.html"><?=_e2('로그아웃')?></a></p> </div> </div> <? if($TK_MEMBER['mb_level']==$cf['agent_level']) { ?> <div class="top_blue_agent" id="top_menu_bg" style="z-index:80;"> <div class="top_btn_home_agent"> <a href="/admin/"><img src="../image/top/logo.png" alt="홈으로가기" /></a> </div> </div> <? } else { ?> <div class="top_blue_trade" id="top_menu_bg" style="z-index:80;"> <div class="top_btn_home_agent"> <a href="/admin/"><img src="../image/top/logo_trade.png" alt="홈으로가기" /></a> </div> </div> <? } ?> <div id="contents"> <div class="left_wrap"> <div class="left_menu_wrap"> <ul class="left_menu" style="padding-top:58px"> <?php if($TK_MEMBER['mb_level'] == $cf['agent_level']){ //거래처 ?> <li class="small" style="cursor:pointer;margin-top: 12px;"> <a onMouseOver="MM_swapImage('Image4','','../image/left/icon_web.gif',1)" onMouseOut="MM_swapImgRestore()" href="/b2b/" target="_blank"> <i class="xi-home" style="font-size:30px"></i><br> <p style="text-transform:uppercase;color:#ccc;font-size:12px;margin-top:-3px">web</p> </a> </li> <?php $imgLang = $cf['lang']; if($imgLang == 'eng'){ $imgLang = 'en'; } if($TK_MEMBER['mb_level'] != 12){ ?> <li> <a onMouseOver="MM_swapImage('Image15','','../image/left/mail_focus_<?=$imgLang?>.png?ver=1',1)" onMouseOut="MM_swapImgRestore()" href="mailto:cs@tktravelkorea.com"> <img border="0" name="Image15" style="width:44px" src="../image/left/mail_<?=$imgLang?>.png?ver=1" alt="회사메일" /><br /> </a> </li> <li class="small"> <a onMouseOver="MM_swapImage('Image14','','../image/left/icon_line_on.gif',1)" onMouseOut="MM_swapImgRestore()" href="https://account.line.biz/login?redirectUri=https%3A%2F%2Fmanager.line.biz%2F" target="_blank"> <img border="0" name="Image14" src="../image/left/icon_line.gif" alt="LINE" /><br /> </a> </li> <li> <a onMouseOver="MM_swapImage('Image16','','../image/left/icon_whatsapp_on.gif',1)" onMouseOut="MM_swapImgRestore()" href="https://web.whatsapp.com/" target="_blank"> <img border="0" name="Image16" src="../image/left/icon_whatsapp.gif" alt="whats" /><br /> </a> </li> <li> <a onMouseOver="MM_swapImage('Image20','','../image/left/icon_wechat_on.gif',1)" onMouseOut="MM_swapImgRestore()" href="https://wx.qq.com/?lang=zh_CN" target="_blank"> <img border="0" name="Image20" src="../image/left/icon_wechat.gif" alt="wechat" /><br /> </a> </li> <li> <a href="#" onMouseOver="MM_swapImage('Image21','','../image/left/dollar_focus_<?=$imgLang?>.png?ver=1',1)" onMouseOut="MM_swapImgRestore()" onclick="to_dialog.iframe('/admin/exchange/realtime_exchang.html','EXCHANGE','200','480',true,true,'yes');" style="cursor:pointer;"> <img border="0" style="width:44px" name="Image21" src="../image/left/dollar_<?=$imgLang?>.png?ver=1" alt="EXCHANGE" /></a> </li> <?php } // } ?> <?php }else{ //공급처 ?> <li class="small" style="cursor:pointer"> <a onMouseOver="MM_swapImage('Image4','','../image/left/icon_app_on.png',1)" onMouseOut="MM_swapImgRestore()" href="https://play.google.com/store/apps/details?id=com.tktravelkorea.pms" target="_blank"><img border="0" width="44" name="Image4" src="../image/left/icon_app.png" alt="APP" /><br /></a> </li> <li class="small"> <a onMouseOver="MM_swapImage('Image5','','../image/left/icon_tk_on.png',1)" onMouseOut="MM_swapImgRestore()" href="https://www.tktravelkorea.com/main/main.html" target="_blank"><img border="0" width="44" name="Image5" src="../image/left/icon_tk.png" alt="TKTRAVEL" /><br /></a> </li> <li class="small"> <a onMouseOver="MM_swapImage('Image6','','../image/left/icon_boss_on.png',1)" onMouseOut="MM_swapImgRestore()" href="https://www.tourboss.co.kr/main/main.html" target="_blank"><img border="0" width="44" name="Image6" src="../image/left/icon_boss.png" alt="여행대장" /><br /></a> </li> <?php } ?> </ul> </div> <div class="sub_menu_wrap fix"> <ul class="sub_top_btn"> <? if($trade_mode) { ?> <li 33 class="btn_left on" onclick="to_dialog.iframe('/admin/image/agent/tkplace_services.png','한눈에 보는 TK PLACE 서비스','1525','915',true,true,'yes');"><a href="#"> <?=_e2('PMS 예약관리 시스템')?> </a></li> <? } else { ?> <li 22 class="btn_left on"><a href="# " style="font-size:15px"> <?=_e2('예약관리')?> </a></li> <? } ?> <li class="btn_right"></li> </ul> <ul class="sub_menu"> <? if(in_array('TOUR', $ag_allow_menu)) { ?> <li class="sub_menu_title"> <span style="text-transform: uppercase"> <i class="xi-document" style="position: relative;top: -2px;;font-size:20px;vertical-align:middle;"></i> <?php if($isButCompany){ echo _e2('투어/차량 예약'); }else{ echo _e2('투어/티켓 예약'); } ?> </span> <ul class="sub_menu_s"> <?php //공급처 출력 if($TK_MEMBER['mb_level']==$cf['trade_level']) { //버스회사 if($TK_MEMBER['bz_cd'] == 'MMPL006'){ ?> <li <?=TO_page_on("res_good/b2b_tour_res_bus_dashboard.html|res_good/b2b_tour_res_bus_dashboard.html")?>><a href="../res_good/b2b_tour_res_bus_dashboard.html"><?=_e2('대시보드')?></a></li> <?php }else{ ?> <li <?=TO_page_on("res_good/b2b_tour_res_dashboard.html|res_good/b2b_tour_res_dashboard.html")?>><a href="../res_good/b2b_tour_res_dashboard.html"><?=_e2('대시보드')?></a></li> <?php } ?> <?php }else{ } ?> <?php if($TK_MEMBER['bz_cd'] == 'MMPL006'){ ?> <li <?=TO_page_on("res_good/b2b_tour_res_list.html|res_good/b2b_tour_res_bus_list.html")?>><a href="../res_good/b2b_tour_res_bus_list.html" style="text-transform: uppercase"><?=_e2('예약관리&리스트')?></a></li> <?php }else{ ?> <li <?=TO_page_on("res_good/b2b_tour_res_list.html|res_good/b2b_tour_res_list.html")?>><a href="../res_good/b2b_tour_res_list.html" style="text-transform: uppercase"><?=_e2('예약관리&리스트')?></a></li> <?php } ?> <?php //공급처 출력 if($TK_MEMBER['mb_level']==$cf['trade_level']) { if($TK_MEMBER['bz_cd'] == 'MMPL006'){ ?> <li <?=TO_page_on("res_good/b2b_tour_res_bus_schedule.html")?>><a href="../res_good/b2b_tour_res_bus_schedule.html"><?=_e2('예약관리 달력')?></a></li> <?php }else{ ?> <li <?=TO_page_on("res_good/b2b_tour_schedule.html")?>><a href="../res_good/b2b_tour_schedule.html"><?=_e2('예약관리 달력')?></a></li> <?php } } ?> <?php //대리점만 출력 if($TK_MEMBER['mb_level']==$cf['agent_level']) { ?> <li <?=TO_page_on("res_good/b2b_tour_list.html|res_good/b2b_tour_res.html")?>><a href="../res_good/b2b_tour_list.html" style="text-transform: uppercase"><?=_e2('투어리스트')?></a></li> <li <?=TO_page_on("res_good/b2b_tour_calendar.html")?>><a href="../res_good/b2b_tour_calendar.html" style="text-transform: uppercase"><?=_e2('투어확정달력')?></a></li> <li <?=TO_page_on("res_good/b2b_tour_schedule_statics.html")?>> <a href="../res_good/b2b_tour_schedule_statics.html" style="text-transform: uppercase"><?=_e2('출발확정달력')?></a> </li> <?php } ?> </ul> </li> <?php //공급처 출력 if($TK_MEMBER['mb_level']==$cf['agent_level']) { ?> <li class="sub_menu_title" style="margin-top:10px"> <li class="sub_menu_title"><span style="text-transform: uppercase"> <i 11 class="xi-forum" style="position: relative;top: -2px;;font-size:20px;vertical-align:middle;"></i> <?=_e('1:1문의')?></span> <ul class="sub_menu_s"> <li><a href="/b2b/cmm/?BD_CD=B2BQNA" 111 style="text-transform: uppercase"><?=_e('1:1문의')?></a></li> </ul> </li> <li class="sub_menu_title" style="margin-top:10px"> <li class="sub_menu_title"><span style="text-transform: uppercase"> <i class="xi-dollar" style="position: relative;top: -2px;;font-size:20px;vertical-align:middle;"></i> <?=_e('정산요청 게시판')?></span> <ul class="sub_menu_s"> <li <?=TO_page_on("intra/intra.html")?>><a href="../intra/intra.html" 111 style="text-transform: uppercase"><?=_e('정산관리&리스트')?></a></li> </ul> </li> <?php } } ?> <? if(in_array('HOTEL', $ag_allow_menu)) { ?> <li class="sub_menu_title"> <span> <i class="xi-building" style="font-size:16px;vertical-align:middle;"></i> <?=_e2('호텔/리조트 예약')?></span> <ul class="sub_menu_s"> <li <?=TO_page_on("agent_reserve/hotel_res_list.html")?>><a href="../agent_reserve/hotel_res_list.html"><?=_e2('예약관리&리스트')?></a></li> <?php if($_SERVER['REMOTE_ADDR'] == '222.235.102.44' || $_SERVER['REMOTE_ADDR'] == '14.6.87.193'){ ?> <li <?=TO_page_on("agent_reserve/good_res_calendar_hotel_list.html")?>><a href="../agent_reserve/good_res_calendar_hotel_list.html"><?=_e2('예약관리달력')?></a></li> <?php } ?> </ul> </li> <li class="sub_menu_title"> <br> </li> <? } ?> <?php //공급처 출력 if($TK_MEMBER['mb_level']==$cf['trade_level']) { ?> <li class="sub_menu_title" style="margin-top:7px"> <span> <i class="xi-chart-bar" style="석font-size:16px;vertical-align:middle;"></i> <?=_e2('통계 및 분석')?></span> <ul class="sub_menu_s"> <?php if($TK_MEMBER['bz_cd'] == 'MMPL006'){ ?> <li <?=TO_page_on("agent_info/report_reserve_bus.html")?>><a href="../agent_info/report_reserve_bus.html"><?=_e2('예약현황')?></a></li> <?php if(strpos($_SERVER['HTTP_HOST'],'tktravelkorea.com') !== false){ ?> <li 1 <?=TO_page_on("agent_info/report_sales_bus.html")?>><a href="../agent_info/report_sales_bus.html"><?=_e2('판매분석')?></a></li> <?php } ?> <?php }else{ ?> <li <?=TO_page_on("agent_info/report_reserve.html")?>><a href="../agent_info/report_reserve.html"><?=_e2('예약현황')?></a></li> <li 2 <?=TO_page_on("agent_info/report_sales.html")?>><a href="../agent_info/report_sales.html"><?=_e2('판매분석')?></a></li> <?php } ?> </li> <li class="sub_menu_title"> <br> </li> <li class="sub_menu_title"> <span> <i class="xi-kakaotalk" style="font-size:16px; vertical-align:middle;"></i> <?=_e2('카카오 알림톡')?></span> <ul class="sub_menu_s"> <li <?=TO_page_on("agent_info/reserve_alarm.html")?>><a href="../agent_info/reserve_alarm.html"><?=_e2('예약 알림톡 신청')?></a></li> </ul> </li> <li class="sub_menu_title"> <br> </li> <?php if($TK_MEMBER['bz_cd'] != 'MMPL006'){ ?>캔 <li class="sub_menu_title"> <span> <i class="xi-devices" style="font-size:16px; vertical-align:middle;"></i> <?=_e2('입장처리 방법')?></span> <ul class="sub_menu_s"> <li <?=TO_page_on("agent_info/entrance_01.html")?>><a href="../agent_info/entrance_01.html"><?=_e2('APP 바코드 스캔')?></a></li> <li <?=TO_page_on("agent_info/entrance_02.html")?>><a href="../agent_info/entrance_02.html"><?=_e2('입장처리 버튼')?></a></li> <li <?=TO_page_on("agent_info/entrance_03.html")?>><a href="../agent_info/entrance_03.html"><?=_e2('고객정보 확인')?></a></li> </ul> </li> <li class="sub_menu_title"> <br> </li> <?php } ?> <li class="sub_menu_title"> <span> <i class="xi-dollar" style="font-size:16px; vertical-align:middle;"></i> <?=_e2('정산요청 게시판')?></span> <ul class="sub_menu_s"> <li <?=TO_page_on("intra/intra.html")?>><a href="../intra/intra.html"><?=_e2('정산관리&리스트')?></a></li> </ul> </li> <? } ?> <?php // include "sub_menu.html" ?> </ul> </li> </ul> <?php if($TK_MEMBER['mb_level'] == 121) { ?> <ul class="sub_menu" style="margin-top: -30px;"> <li class="sub_menu_title"> <span style="text-transform: uppercase"> <i class="xi-document" style="position: relative;top: -2px;;font-size:20px;vertical-align:middle;"></i> <?php if($isButCompany){ echo _e2('투어/차량 예약'); }else{ echo _e2('투어/티켓 예약'); } ?> </span> </li> <li class="sub_menu_title"> <ul class="sub_menu_s"> <li <?=TO_page_on("res_good/b2b_tour_res_list.html|res_good/b2b_tour_res_list.html")?>> <a href="../res_good/b2b_tour_res_list.html" style="text-transform: uppercase"><?=_e2('예약관리&리스트')?></a> </li> <li <?=TO_page_on("res_good/b2b_tour_list.html|res_good/b2b_tour_res.html")?>> <a href="../res_good/b2b_tour_list.html" style="text-transform: uppercase"><?=_e2('투어리스트')?></a> </li> <li <?=TO_page_on("res_good/b2b_tour_calendar.html")?>> <a href="../res_good/b2b_tour_calendar.html" style="text-transform: uppercase"><?=_e2('투어확정달력')?></a> </li> <li <?=TO_page_on("res_good/b2b_tour_schedule_statics.html")?>> <a href="../res_good/b2b_tour_schedule_statics.html" style="text-transform: uppercase"><?=_e2('출발확정달력')?></a> </li> <li class="sub_menu_title" style="margin-top:10px"> <span style="text-transform: uppercase"> <i 11 class="xi-forum" style="position: relative;top: -2px;;font-size:20px;vertical-align:middle;"></i> <?=_e('1:1문의')?> </span> </li> </ul> <ul class="sub_menu_s"> <li><a href="/b2b/cmm/?BD_CD=B2BQNA" style="text-transform: uppercase"><?=_e('1:1문의')?></a></li> </ul> </li> <li class="sub_menu_title"> <span style="text-transform: uppercase"> <i class="xi-dollar" style="position: relative;top: -2px;;font-size:20px;vertical-align:middle;"></i> <?=_e('정산요청 게시판')?> </span> <ul class="sub_menu_s"> <li <?=TO_page_on("intra/intra.html")?>> <a href="../intra/intra.html" style="text-transform: uppercase"><?=_e('정산관리&리스트')?></a> </li> </ul> </li> </ul> <?php } ?> </div> </div>