ÿØÿà 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/good/ |
Upload File : |
<? // 보여줄 개수 if(!$list_count_s) $list_count_s = 30; // 정렬 설정 //if (!$order_by_s) $order_by_s = "g_regdate desc"; if (!$order_by_s) $order_by_s = "g_no"; // 페이지 파라메터 $href = ""; $href .= "lang={$lang}"; // 사이트 $href .= "&tab={$tab}"; // 여행상품 구분 $href .= "&b_uid_s={$b_uid_s}"; // 1차 카테고리(필수) $href .= "&m_uid_s={$m_uid_s}"; // 2차카테고리 $href .= "&s_uid_s={$s_uid_s}"; // 3차카테고리 $href .= "&Bidx_s={$Bidx_s}"; // 국가 $href .= "&Cidx_s={$Cidx_s}"; // 도시 $href .= "&search_key_s={$search_key_s}&search_word_s=".urlencode($search_word_s); // 상품 or 상품코드 검색 $href .= "&date_key={$date_key}&date_s1={$date_s1}&date_s2={$date_s2}"; // 기간검색 $href .= "&gmain_s={$gmain_s}"; // 추천상품 $href .= "&gdt_s={$gdt_s}"; // 데이투어 > 투어분류 $href .= "&period_date_s={$period_date_s}"; // 기간 설정 $href .= "&order_by_s={$order_by_s}"; // 정렬 $href .= "&list_count_s={$list_count_s}";; // 페이지당 출력 개수 $href .= "&g_ok={$g_ok}"; // 판매여부 (good_list_all.html) $href .= "&kind_code={$kind_code}"; // 투어종류 (good_list_all.html) $href .= "&curunit={$curunit}"; // 통화구분 // 페이징 $_href = $href."&page={$page}"; // 행사관리 파마메터 관리 $_shref = "g_uid={$g_uid}&tab={$tab}"; $_shref .= "&date_year_s={$date_year_s}"; $_shref .= "&date_month_s={$date_month_s}"; $_shref .= "&d_ok_s={$d_ok_s}"; $_shref .= "&dtid_s_s={$dtid_s}"; // 부메뉴 목록(_menu.html,index.html) $submenu_arr = array( 'edit' =>'none', // 기본정보 'depot' =>'none', // 출발지관리(V) 'date' =>'none', // 행사관리 'schedule_edit' =>'none', // 일정표 관리 'hotel' =>'none', // 숙박정보 'place' =>'none', // 관광정보 'daytour' =>'none', // 데이투어 'options' =>'none', // 옵션상품 'map' =>'none', // 지도정보(V) 'gallery' =>'none', // 갤러리 ); // 부메뉴 노출 제어(_menu.html,index.html) //부메뉴 목록 할인관리 추가 /*if($_COOKIE['ty_dev'] == 1){ $submenu_arr['discount'] = 'none'; echo 'tab type is '.$tab; }*/ if($tab){ switch($tab){ case "P": // 해외패키지 $submenu_arr['edit'] = "block"; $submenu_arr['depot'] = "block"; $submenu_arr['date'] = "block"; $submenu_arr['schedule_edit'] = "block"; $submenu_arr['hotel'] = "block"; $submenu_arr['place'] = "block"; $submenu_arr['options'] = "block"; $submenu_arr['gallery'] = "block"; $submenu_arr['map'] = "block"; break; case "D":// 데이투어 $submenu_arr['edit'] = "block"; $submenu_arr['depot'] = "block"; $submenu_arr['schedule_edit'] = "block"; $submenu_arr['date'] = "block"; $submenu_arr['place'] = "block"; $submenu_arr['options'] = "block"; $submenu_arr['gallery'] = "block"; $submenu_arr['map'] = "block"; break; case "T":// 티켓/패스 $submenu_arr['edit'] = "block"; $submenu_arr['date'] = "block"; $submenu_arr['gallery'] = "block"; $submenu_arr['map'] = "block"; if($_COOKIE['ty_dev'] == 1){ $submenu_arr['discount'] = 'block'; } break; case "V":// 라이브투어 $submenu_arr['edit'] = "block"; $submenu_arr['depot'] = "block"; $submenu_arr['schedule_edit'] = "block"; $submenu_arr['date'] = "block"; $submenu_arr['place'] = "block"; $submenu_arr['gallery'] = "block"; $submenu_arr['map'] = "block"; break; } } else { $submenu_arr['edit'] = "block"; $submenu_arr['depot'] = "block"; $submenu_arr['date'] = "block"; $submenu_arr['schedule_edit'] = "block"; $submenu_arr['hotel'] = "block"; $submenu_arr['place'] = "block"; $submenu_arr['daytour'] = "block"; $submenu_arr['options'] = "block"; $submenu_arr['gallery'] = "block"; $submenu_arr['map'] = "block"; } // 여행상품 접근권한 관리 to_access_menu("good"); //상품코드 if(!function_exists("Fnc_GetRes")){ function Fnc_GetRes() { $date = getdate(); $Year = $date[year]; $Month = $date[mon]; if($Month<10){ $Month="0".$Month; } $Day = $date[mday]; if($Day<10){ $Day="0".$Day; } $Sel_Date = $Year.$Month.$Day; $random = strtoupper(substr(md5(uniqid(time())),0,4)) ; //임의의난수발생 앞6자리 $g_code = "G".substr($Sel_Date,2,6)."-".$random; return $g_code; } } ?>