Subversion Repositories SmartDukaan

Rev

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

Rev 10949 Rev 11013
Line 54... Line 54...
54
				}
54
				}
55
			}
55
			}
56
		}
56
		}
57
		setCache($configdata['module'],$cachemodule,$data['response']);
57
		setCache($configdata['module'],$cachemodule,$data['response']);
58
		$this->lessphp->object()->ccompile('assets/css/pd-list.less','assets/css/pd-list.css');
58
		$this->lessphp->object()->ccompile('assets/css/pd-list.less','assets/css/pd-list.css');
-
 
59
		if(isset($data['response']['response']['search_list'][0]->result->title))
-
 
60
		$title = $data['response']['response']['search_list'][0]->result->title;
-
 
61
		if(isset($title) && !empty($title)){
-
 
62
			$data['title'] = $title;
-
 
63
		}
-
 
64
		if(isset($data['response']['response']['search_list'][0]->result->metaDescription))
-
 
65
		$metaDescription = $data['response']['response']['search_list'][0]->result->metaDescription;
-
 
66
		if(isset($metaDescription) && !empty($metaDescription)){
-
 
67
			$data['metaDescription'] = $metaDescription;
-
 
68
		}
-
 
69
		if(isset($data['response']['response']['search_list'][0]->result->metaKeywords))
-
 
70
		$metaKeywords = $data['response']['response']['search_list'][0]->result->metaKeywords;
-
 
71
		if(isset($metaKeywords) && !empty($metaKeywords)){
-
 
72
			$data['metaKeywords'] = $metaKeywords;
-
 
73
		}
59
		$data['stylesheet'] = 'pd-list.css';
74
		$data['stylesheet'] = 'pd-list.css';
60
		//end of set cache
75
		//end of set cache
61
		$this->layout->view('search/search_view',$data);
76
		$this->layout->view('search/search_view',$data);
62
		
77
		
63
	}
78
	}