query("update rankup_search_direct set rank=rank+1 ".rankup_basic::q(" where content='%s'",$_GET[skey])); //쿼리 패치 - 2012.11.02 hyem if(!mysql_affected_rows()) $rankup_control->query("insert rankup_search_direct set rank=1, content='$_GET[skey]'"); } } else { // UNICODE LOCALIZE if($rankup_control->check_encoding() && $rankup_control->check_unicode($_GET['skey'])) $rankup_control->change_encoding($_GET, "IN"); list($search_contents, $total_records) = $rankup_news->search_news_contents(); if($search_contents!=null && !empty($_GET['skey'])) { // 실시간 인기 검색어 입력 if($config_info['keyword_view']=="yes") { include_once "../rankup_module/rankup_keyword/rankup_keyword.class.php"; rankup_keyword::time_count('realTime', $_GET['skey']); } // 인기검색어 입력 if($config_info['search_mode']=="direct") { $rankup_control->query("update rankup_search_direct set rank=rank+1 where content='$_GET[skey]'"); if(!mysql_affected_rows()) $rankup_control->query("insert rankup_search_direct set rank=1, content='$_GET[skey]'"); } } // 미디어 뉴스 검색인지 여부 $is_media_search = in_array($_GET['smode'], array("photo", "movie")); } $_GET[skey] = stripslashes($_GET[skey]); //쿼리 패치 - 2012.11.02 hyem $rankup_control->print_user_head("통합 검색"); include_once $base_dir."include/top.html"; ?>
''에 대한 검색 결과입니다.
print_search_tabs(true); ?>
print_paging($total_records); ?>
print_banner("search_right") ?>