예제 #1
0
                     } 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;
     }
 }
 $arrBreadcrumbs = array(1 => array('url' => 'index.php?do=goodslist', 'name' => '威客商城'), 2 => array('url' => 'index.php?do=goodslist&pd=' . $arrServiceInfo['indus_pid'], 'name' => $indus_p_arr[$arrServiceInfo['indus_pid']]['indus_name']), 3 => array('url' => 'index.php?do=goodslist&pd=' . $arrServiceInfo['indus_pid'] . '&i=' . $arrServiceInfo['indus_id'], 'name' => $indus_arr[$arrServiceInfo['indus_id']]['indus_name']));
 $arrCoverList = keke_shop_class::output_pics($arrServiceInfo['pic'], '');
 $intNum = sizeof($arrCoverList);
 $mc = keke_shop_class::get_mark_count_ext($model_list[$arrServiceInfo['model_id']]['model_code'], $intId);
 $mc['all'] = intval($mc[1]['c'] + $mc[2]['c']);
 $mc['seller'] = intval($mc[1]['c']);
 $mc['buyer'] = intval($mc[2]['c']);
 $arrOwnerInfo = kekezu::get_user_info($arrServiceInfo['uid']);
 $strAddress = keke_shop_class::getUserAddress($arrServiceInfo['uid'], 2, 1, 1, 0);
 $strUserLevel = unserialize($arrOwnerInfo['seller_level']);
 $arrAuthItems = keke_auth_fac_class::getAuthItemListByUid($arrOwnerInfo['uid']);
 $arrShopAid = keke_user_mark_class::get_user_aid($arrOwnerInfo['uid'], 2, null, 1);
 $arrOtherGoods = db_factory::query("select * from " . TABLEPRE . "witkey_service where uid=" . intval($arrOwnerInfo['uid']) . " and service_id!='" . $arrServiceInfo['service_id'] . "' and service_status=2 order by on_time desc limit 3");
 $arrPayitemLists = PayitemClass::getPayitemListDetail('goods', $arrServiceInfo['service_id']);
 $arrPayitemShow = keke_shop_class::getPayitemShow($arrServiceInfo);
 $arrRecommShops = db_factory::query(sprintf("select a.username,a.uid,b.indus_id,b.indus_pid,a.shop_name,if(b.seller_total_num>0,b.seller_good_num/b.seller_total_num,0) as good_rate from %switkey_shop a " . " left join %switkey_space b on a.uid=b.uid  where b.recommend=1 and b.status=1 and IFNULL(a.is_close,0)=0 and shop_status=1 order by if(b.indus_pid=%d ,1,0) desc, good_rate desc limit 0,5", TABLEPRE, TABLEPRE, $arrServiceInfo['indus_pid']), 1, $intIndexCacheTime);
 if ($arrModelInfo['open_custom'] == '1') {
  		<div class="home-shop-body">
  			<ul class="home-min-list img">
  				<?php 
if (is_array($arrRecommGoodsLists)) {
    foreach ($arrRecommGoodsLists as $k => $v) {
        ?>
  				<li>
  					<a href="index.php?do=goods&id=<?php 
        echo $v['service_id'];
        ?>
" title="<?php 
        echo $v['title'];
        ?>
" target="_blank">
  					<img src="tpl/default/img/grey.gif" class="lazy"  data-original="<?php 
        echo keke_shop_class::output_pics($v['pic'], 210, 1);
        ?>
"  alt="<?php 
        echo $v['title'];
        ?>
">
  					<div class="home-min-list-detail">
<span class="home-min-list-title"><?php 
        echo $v['title'];
        ?>
 </span>
  					<span class="home-min-list-meta"><?php 
        echo $v['username'];
        ?>
 发布</span>
  					<span class="home-min-list-meta"><span class="money"><sub>¥</sub><?php