} $floatGoodMark = CommonClass::getGoodsMark(intval($intId)); if ($uid != $arrServiceInfo['uid'] && $arrServiceInfo['service_status'] != 2 && $arrServiceInfo['service_status'] != 5) { $gUid == ADMIN_UID or kekezu::show_msg('操作提示', "index.php?do=goodslist", '1', '商品不存在', 'warning'); } if (isset($op)) { switch ($op) { case "report": $transname = keke_report_class::get_transrights_name($type); $report_reason = keke_report_class::get_report_product_reason(); if (isset($formhash) && kekezu::submitcheck($formhash)) { $resCheck = keke_report_class::check_if_report($type, $objType, $objId, $uid, $toUid); if ($resCheck === true) { $tarContent = kekezu::escape($tarContent); $toUserInfo = keke_user_class::get_user_info($toUid); $resText = keke_shop_class::set_report($objId, $toUid, $type, $filepath, $tarContent, $sltReason); if ($resText === true) { kekezu::show_msg('感谢您的举报,管理员会尽快受理,请耐心等待处理结果。', 'index.php?do=goods&id=' . $id, 3, NULL, 'ok'); } else { kekezu::show_msg($resText, null, null, NULL, 'fail'); } } else { kekezu::show_msg($resCheck, null, null, NULL, 'fail'); } } else { $strUrl .= '&op=report'; require keke_tpl_class::template("tpl/default/ajax/report"); die; } break; }