Subversion Repositories SmartDukaan

Rev

Rev 19829 | Rev 19904 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19829 Rev 19834
Line 202... Line 202...
202
 
202
 
203
		//$filter = $this->request->query('filter');
203
		//$filter = $this->request->query('filter');
204
		// $brands = $this->request->query('brands');
204
		// $brands = $this->request->query('brands');
205
		if($id != 2) {
205
		if($id != 2) {
206
			if($id != 6){
206
			if($id != 6){
207
 				$url = $this->apihost.'deals/brands/?category_id='.$categoryId;		
207
				$url = $this->apihost.'deals/brands/?category_id='.$id;
208
				$brandres = $this->make_request($url,null);
208
				$brandres = $this->make_request($url,null);
209
				$brandlist = array();
209
				$brandlist = array();
210
				foreach ($brandres as $bkey => $bvalue){
210
				foreach ($brandres as $bkey => $bvalue){
211
					$brandlist[$bvalue['brand_id']] = $bvalue['brand'];
211
					$brandlist[$bvalue['brand_id']] = $bvalue['brand'];
212
				}
212
				}