Example #1
0
     if ($indusInfo['seo_keyword']) {
         $strPageTitle = $indusInfo['seo_keyword'];
     } else {
         $strPageKeyword = $indus_arr[$arrServiceInfo['indus_id']]['indus_name'] . ',' . $indus_p_arr[$arrServiceInfo['indus_pid']]['indus_name'];
     }
 }
 if ($arrServiceInfo['seo_desc']) {
     $strPageDescription = $arrServiceInfo['seo_desc'];
 } else {
     if ($indusInfo['seo_desc']) {
         $strPageTitle = $indusInfo['seo_desc'];
     } else {
         $strPageDescription = kekezu::cutstr($arrServiceInfo['content'], 100);
     }
 }
 $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) {