CURDATE() ORDER BY d_start ASC LIMIT 1)"; // spark(20190525) : 행사등록을 하지 않은 상품도 Display 하도록 변경 //$sql_where .= " AND "; //$ag = get_cookie('ag'); // 출발지 지정 sjang(2019/07) $ag = $_COOKIE['ag']; // 쿠키값으로 ag 값 가져옴 if($ag == 'WS'){ $sql_where .= "g_ok='Y' "; }else if($ag == 'NY'){ $sql_where .= "g_ok2='Y' "; }else if($ag == 'OT'){ $sql_where .= "g_ok3='Y' "; }else if($ag == 'SE'){ $sql_where .= "g_ok4='Y' "; }else{ $sql_where .= "g_ok='Y' and g_ok2='Y' and g_ok3='Y' and g_ok4='Y' "; } $sql_where.= $cf['on_site']['user_where']; // spark(20190227): 원더풀투어 선택시 sql 변경 //if ($b_uid_s) $sql_where .= " and b_uid='{$b_uid_s}' "; // 1차 카테고리(필수) if ($b_uid_s){ if($b_uid_s == 38) { /* -- Original by 9/1/2021 -- $sql_where .= " and displayToWT='y' "; // 원더풀투어 */ /*$sql_where .= " and b_uid='{$b_uid_s}' "; // 바로 하단과 같이 수정 - 오류 문제로 임시로 수정 by 9/1/2021*/ $sql_where .= " and displayToWT='y' "; } else { $sql_where .= " and b_uid='{$b_uid_s}' "; // 1차 카테고리(필수) } } if ($m_uid_s) $sql_where .= " and m_uid='{$m_uid_s}' "; // 2차 카테고리 if ($s_uid_s) $sql_where .= " and s_uid='{$s_uid_s}' "; // 3차 카테고리 if ($Bidx_s) $sql_where .= " and Bidx='{$Bidx_s}' "; // 국가 if ($Cidx_s) $sql_where .= " and Cidx='{$Cidx_s}' "; // 도시 //if ($start_dt_s) $sql_where .= " and d_start='{$start_dt_s}' ";// 출발일 if($g_title_s) //공백을통한 여러 단어가 포함된 단어 연관검색 예) 워싱턴 2박. { $g_title_sc_ar=explode(' ',$g_title_s); for($i=0; $i $total_page) $page = $total_page; // 페이지가 전체 페이지보다 크면 페이지 번호를 바꿈 $total_list = intval($total_page / $list); if ($total_page % $list == 0) $total_list--; $curr_list = intval($page / $list); if ($page % $list == 0) $curr_list--; $start_page = $curr_list * $list + 1; $prev_list = $start_page - $list; $next_list = $start_page + $list; $olds = $line * ($page - 1); // 정렬 설정 $sql_order=""; $sql_order.= $cf['on_site']['user_order']; //배열에 저장 $data = array(); //$data = good_list($sql_where,$sql_order,$olds,$line); $data = new_good_list($sql_where,$sql_order,$olds,$line); //검색기간 리스트 $period_list = base_codec("TGO","PERD","","N"); $banner12 = homepage_banner("TMSS012","","Y","20", "and b_uid='{$b_uid_s}' "); ?>
0){//검색모드가 아닐때?>
  • <?=$arr['title']?>

" : "여행상품";?> 검색:




유심구입 가이드(클릭)