diff --git a/AvocadoEdition/bbs/content.php b/AvocadoEdition/bbs/content.php index cc9a78a..8089329 100644 --- a/AvocadoEdition/bbs/content.php +++ b/AvocadoEdition/bbs/content.php @@ -6,8 +6,6 @@ if( !isset($g5['content_table']) ){ die('관리자 모드에서 게시판관리->내용 관리를 먼저 확인해 주세요.'); } - - // 내용 $sql = " select * from {$g5['content_table']} where co_id = '$co_id' "; $co = sql_fetch($sql); @@ -22,7 +20,7 @@ if (is_include_path_check($co['co_include_head'])) else include_once('./_head.php'); -if (G5_IS_MOBILE) { +if (G5_IS_MOBILE && $co['co_mobile_content'] != "") { $str = conv_content($co['co_mobile_content'], $co['co_html'], $co['co_tag_filter_use']); } else { $str = conv_content($co['co_content'], $co['co_html'], $co['co_tag_filter_use']); diff --git a/AvocadoEdition/member/ready.php b/AvocadoEdition/member/ready.php index 2387720..dce23b2 100644 --- a/AvocadoEdition/member/ready.php +++ b/AvocadoEdition/member/ready.php @@ -62,11 +62,11 @@ if(!$search_arcode) { } if($stx) { - if($sfl == 'mb_nick') { + if($sfl == 'mb_name') { $temp_search = ""; $connect_str = ""; - $temp = sql_query("select mb_id from {$g5['member_table']} where mb_nick like '%".$stx."%'"); + $temp = sql_query("select mb_id from {$g5['member_table']} where mb_name like '%".$stx."%'"); for($t = 0; $row = sql_fetch_array($temp); $t++) { $temp_search .= $connect_str."mb_id = '".$row['mb_id']."'"; $connect_str = " OR ";