| Line 90... |
Line 90... |
| 90 |
}
|
90 |
}
|
| 91 |
setCache($configdata['module'],$cachemodule,$data['response']);
|
91 |
setCache($configdata['module'],$cachemodule,$data['response']);
|
| 92 |
$this->lessphp->object()->ccompile('assets/css/pd-list.less','assets/css/pd-list.css');
|
92 |
$this->lessphp->object()->ccompile('assets/css/pd-list.less','assets/css/pd-list.css');
|
| 93 |
$data['stylesheet'] = 'pd-list.css';
|
93 |
$data['stylesheet'] = 'pd-list.css';
|
| 94 |
if($itemName != 'coming-soon' && $itemName !== 'best-deals'){
|
94 |
if($itemName != 'coming-soon' && $itemName !== 'best-deals'){
|
| - |
|
95 |
if(isset($data['response']['response'][$name][0]->result->title))
|
| 95 |
$title = $data['response']['response'][$name][0]->result->title;
|
96 |
$title = $data['response']['response'][$name][0]->result->title;
|
| 96 |
if(isset($title) && !empty($title)){
|
97 |
if(isset($title) && !empty($title)){
|
| 97 |
$data['title'] = $title;
|
98 |
$data['title'] = $title;
|
| 98 |
}
|
99 |
}
|
| - |
|
100 |
if(isset($data['response']['response'][$name][0]->result->metaDescription))
|
| 99 |
$metaDescription = $data['response']['response'][$name][0]->result->metaDescription;
|
101 |
$metaDescription = $data['response']['response'][$name][0]->result->metaDescription;
|
| 100 |
if(isset($metaDescription) && !empty($metaDescription)){
|
102 |
if(isset($metaDescription) && !empty($metaDescription)){
|
| 101 |
$data['metaDescription'] = $metaDescription;
|
103 |
$data['metaDescription'] = $metaDescription;
|
| 102 |
}
|
104 |
}
|
| - |
|
105 |
if(isset($data['response']['response'][$name][0]->result->metaKeywords))
|
| 103 |
$metaKeywords = $data['response']['response'][$name][0]->result->metaKeywords;
|
106 |
$metaKeywords = $data['response']['response'][$name][0]->result->metaKeywords;
|
| 104 |
if(isset($metaKeywords) && !empty($metaKeywords)){
|
107 |
if(isset($metaKeywords) && !empty($metaKeywords)){
|
| 105 |
$data['metaKeywords'] = $metaKeywords;
|
108 |
$data['metaKeywords'] = $metaKeywords;
|
| 106 |
}
|
109 |
}
|
| 107 |
}
|
110 |
}
|