Subversion Repositories SmartDukaan

Rev

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

Rev 19622 Rev 19640
Line 141... Line 141...
141
		
141
		
142
		$subcatlist = Configure::read('arrSubCategory');
142
		$subcatlist = Configure::read('arrSubCategory');
143
		
143
		
144
		$whatfirst = $this->request->query('whatfirst');
144
		$whatfirst = $this->request->query('whatfirst');
145
		
145
		
-
 
146
		if(isset($brands) && !empty($brands) && !isset($subcategories) && !isset($whatfirst)){
-
 
147
			$whatfirst = "brand";
146
		
148
		}
-
 
149
		else if(isset($subcategories) && !empty($subcategories) && !isset($brands) && !isset($whatfirst)){
-
 
150
			$whatfirst = "subCategory";
-
 
151
		}else if(isset($subcategories) && !empty($subcategories) && isset($brands) && !empty($brands) && !isset($whatfirst)){
-
 
152
			$whatfirst = "subCategory";
-
 
153
		}
-
 
154
					
147
		if($id == 6)
155
		if($id == 6)
148
		{
156
		{
149
			$cachekey = 'subcat-6';
157
			$cachekey = 'subcat-6';
150
			$getdet = Cache::read($cachekey,'subcatdetail');
158
			$getdet = Cache::read($cachekey,'subcatdetail');
151
			if(empty($getdet) || $getdet === false){
159
			if(empty($getdet) || $getdet === false){