', 0); if ($board['bo_table_width'] == 0) $width = "100%"; $parent_type = $board['bo_1'] ? $board['bo_1'] : '오리지널'; // 동일캐릭터 wr_9 묶음, au명은 wr_type 사용, 캐릭터명은 wr_subject 사용. $allow_body = 450; $content_width = 400; if ($board['bo_5']) $conts = explode("|", $board['bo_5']); if ($conts[0]) $allow_body = trim($conts[0]); if ($conts[1]) $content_width = trim($conts[1]); $rel = sql_fetch("select wr_id from {$write_table} where wr_9='{$view['wr_9']}' and wr_id!={$view['wr_9']} order by wr_10*1"); $relate = sql_query("select wr_id, wr_type from {$write_table} where wr_9='{$view['wr_9']}' and wr_id!={$view['wr_9']} order by wr_10*1, wr_reply"); $or_link = './board.php?bo_table=' . $bo_table . '&wr_id=' . $view['wr_9'] . $qstr; // @211117 $parent = sql_fetch("select wr_id, wr_type, wr_7 from {$write_table} where wr_id='{$view['wr_9']}' and wr_is_comment=0"); $cl_no = sql_query("select * from {$write_table} where wr_is_comment=1 and wr_parent='{$wr_id}' and wr_content='옷장' order by wr_10*1 "); $cl = array(); $idx = 0; for ($i = 0; $clo = sql_fetch_array($cl_no); $i++) { $cl[$idx] = $clo; $idx++; } ?>