} // 호칭 $view[name] = get_name_title($view[name], $view[wr_name]); $view[name] = mw_sideview($view[name]); // 멤버쉽 아이콘 if (function_exists("mw_cash_membership_icon") && $view[mb_id] != $config[cf_admin]) { if (!in_array($view[mb_id], $mw_membership)) { $mw_membership[] = $view[mb_id]; $mw_membership_icon[$view[mb_id]] = mw_cash_membership_icon($view[mb_id]); $view[name] = $mw_membership_icon[$view[mb_id]] . $view[name]; } else { $view[name] = $mw_membership_icon[$view[mb_id]] . $view[name]; } } if ($view[wr_anonymous] || $mw_basic[cf_attribute] == 'anonymous') { $view[name] = mw_anonymous_nick($write[mb_id], $write[wr_ip]); $view[wr_name] = $view[name]; $mw_basic[cf_latest] = false; } if (($mw_basic[cf_must_notice] || $mw_basic[cf_must_notice_read] || $mw_basic[cf_must_notice_comment]) && $view[is_notice]) { if ($member[mb_id]) { sql_query("insert into {$mw['must_notice_table']} set bo_table = '{$bo_table}', wr_id = '{$wr_id}', mb_id = '{$member['mb_id']}', mu_datetime = '{$g4['time_ymdhis']}'", false); } } else { if ($mw_basic[cf_must_notice_read]) { //$tmp_notice = str_replace($notice_div, ",", trim($board[bo_notice])); $tmp_notice = implode(",", array_filter(explode($notice_div, trim($board[bo_notice])), "strlen")); $cnt_notice = sizeof(explode(",", $tmp_notice)); if ($tmp_notice) { $sql = "select count(*) as cnt from {$mw['must_notice_table']} where bo_table = '{$bo_table}' and mb_id = '{$member['mb_id']}' and wr_id in ({$tmp_notice})"; $row = sql_fetch($sql);
// 멤버쉽 아이콘 if (function_exists("mw_cash_membership_icon") && $row[mb_id] != $config[cf_admin]) { if (!in_array($row[mb_id], (array) $mw_membership)) { $mw_membership[] = $row[mb_id]; $mw_membership_icon[$row[mb_id]] = mw_cash_membership_icon($row[mb_id]); $row[name] = $mw_membership_icon[$row[mb_id]] . $row[name]; } else { $row[name] = $mw_membership_icon[$row[mb_id]] . $row[name]; } } if ($mw_basic[cf_attribute] == "anonymous") { $row[name] = mw_anonymous_nick($row[mb_id], $row[wr_ip]); $row[wr_name] = ''; } if ($row[wr_anonymous]) { $row[name] = mw_anonymous_nick($row[mb_id], $row[wr_ip]); $row[wr_name] = ''; } if ($i < $from_record) { $list[$i] = $row; return false; } $html = 0; if (strstr($row['wr_option'], "html1")) { $html = 1; } if (strstr($row['wr_option'], "html2")) { $html = 2; } //if ($html > 0) { //$row[wr_content] = mw_tag_debug($row[wr_content]);