break; } if ($action === 'rights') { $transname = keke_report_class::get_transrights_name($type); if ($type == '1') { if ($arrOrderInfo['order_uid'] == $gUid) { $objType = 'work'; } else { $objType = 'task'; } $report_reason = keke_report_class::getRightsType($objType); } else { $report_reason = keke_report_class::getReportType($objType); } if (isset($formhash) && kekezu::submitcheck($formhash)) { $resText = keke_order_class::set_report($objId, $toUid, $type, $filepath, $tarContent, $sltReason); if ($resText === true) { kekezu::show_msg('感谢您的' . $transname . ',管理员会尽快受理,请耐心等待处理结果。', $strUrl . "&orderId=" . $orderId, 3, NULL, 'ok'); } else { kekezu::show_msg($resText, null, null, NULL, 'fail'); } } else { $strUrl = $reportUrl; require keke_tpl_class::template("tpl/default/ajax/report"); } exit(0); } if ($action === 'showKf') { $kf_info = kekezu::get_rand_kf(); require keke_tpl_class::template('shop/goods/tpl/default/order/kf_info'); die;