예제 #1
0
$objServiceTime = new service_time_class();
$objServiceTime->validtaskstatus();
unset($objServiceTime);
$objGoodsTime = new goods_time_class();
$objGoodsTime->validtaskstatus();
unset($objGoodsTime);
$arrServiceInfo = keke_shop_class::get_service_info($sid);
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');
}
$arrDisplaypro = CommonClass::getDistrictByPid('0', 'id,upid,name');
$arrTopIndustrys = $kekezu->_indus_p_arr;
$arrModelInfo = $arrModelList[$arrServiceInfo['model_id']];
$strExtTypes = kekezu::get_ext_type();
if ($orderId) {
    keke_shop_class::access_check($sid, $arrServiceInfo['uid'], $arrServiceInfo['model_id']);
    $arrOrderInfo = db_factory::get_one(sprintf("select * from %switkey_order where order_id=%d", TABLEPRE, $orderId));
    if (!$arrOrderInfo) {
        kekezu::show_msg('操作提示', 'index.php?do=goodslist', 3, '订单不存在', 'warning');
    }
    $arrServiceOrderInfo = db_factory::get_one(sprintf("select * from %switkey_service_order where order_id=%d", TABLEPRE, $orderId));
}
$reportUrl = $strUrl . '&orderId=' . $orderId . '&action=rights&objId=' . $orderId . '&objType=order&type=1&toUid=';
if ($arrServiceInfo['uid'] == $gUid) {
    $reqPage = 'seller';
    $arrBuyerInfo = kekezu::get_user_info($arrOrderInfo['order_uid']);
    $arrBuyerInfo['comefrom'] = keke_shop_class::getUserAddress($arrOrderInfo['order_uid'], 2, 1, 1, 0);
    $arrBuyerInfo['userlevel'] = unserialize($arrBuyerInfo['buyer_level']);
    $arrAid = keke_user_mark_class::get_user_aid($arrBuyerInfo['uid'], 1, null, '1');
    $arrServiceOrderInfo['indus_pid'] and $arrAllIndustrys = CommonClass::getIndustryByPid($arrServiceOrderInfo['indus_pid'], 'indus_id,indus_pid,indus_name');
    $reportUrl .= $arrBuyerInfo['uid'];