root 5 سال پیش
والد
کامیت
ada5325a99
1فایلهای تغییر یافته به همراه7 افزوده شده و 6 حذف شده
  1. 7 6
      addons/zh_jdgjb/inc/web/storeinfo.inc.php

+ 7 - 6
addons/zh_jdgjb/inc/web/storeinfo.inc.php

xqd
@@ -11,13 +11,14 @@ $cur_store = $this->getStoreById($seller_id);
 $list=pdo_get('zh_jdgjb_seller',array('id'=>$seller_id));
 $user=pdo_getall('zh_jdgjb_user',array('uniacid'=>$_W['uniacid']));
 		if($list['img']){
+		    print_r($list['img']);die;
 			if(strlen($list['img'])>51){
-			$img= explode(',',$list['img']);
-		}else{
-			$img=array(
-				0=>$list['img']
-				);
-		}
+			    $img= explode(',',$list['img']);
+            }else{
+                $img=array(
+                    0=>$list['img']
+                    );
+            }
 		}	   
 if(checksubmit('submit')){
 	if($_GPC['img']){