include_once("./_common.php"); $w = substr($_REQUEST['w'],0,1); $it_id = substr($_REQUEST['it_id'],0,10); $is_id = (int)$_REQUEST['is_id']; if (!$is_member) { alert_close("사용후기는 회원만 평가가 가능합니다."); } if ($w == "") { $is_score = 10; } else if ($w == "u") { $ps = sql_fetch(" select * from $g4[yc4_item_ps_table] where is_id = '$is_id' "); if (!$ps) { alert_close("사용후기 정보가 없습니다."); } $it_id = $ps[it_id]; $is_score = $ps[is_score]; } if ($w == "u") { if (!$is_admin && $ps[mb_id] != $member[mb_id]) { alert_close("자신의 사용후기만 수정이 가능합니다."); } } include_once("$g4[path]/lib/cheditor4.lib.php"); include_once("$g4[path]/head.sub.php"); echo ""; echo cheditor1('is_content', '100%', '250'); ?>