Subversion Repositories SmartDukaan

Rev

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

Rev 19613 Rev 19622
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
		
-
 
147
		if($id == 6)
-
 
148
		{
-
 
149
			$cachekey = 'subcat-6';
-
 
150
			$getdet = Cache::read($cachekey,'subcatdetail');
-
 
151
			if(empty($getdet) || $getdet === false){
-
 
152
				$url = $this->apihost.'deals/subCategory/?category_id=6';
-
 
153
				$getdet = $this->make_request($url,null);
-
 
154
				Cache::write($cachekey , $getdet ,'subcatdetail');
-
 
155
			}
-
 
156
			$this->set(compact('getdet'));
-
 
157
		}
-
 
158
		
146
		$whatsecond = "";
159
		$whatsecond = "";
147
		$whatsecondid = "";
160
		$whatsecondid = "";
148
		$whatfirstid = "";
161
		$whatfirstid = "";
149
		$secondloop = "";
162
		$secondloop = "";
150
		if(isset($whatfirst)){
163
		if(isset($whatfirst)){