PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/youronlinestore.kerihosting.com/catalog/controller/module/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/youronlinestore.kerihosting.com/catalog/controller/module/ebaydisplay.php |
<?php class ControllerModuleEbaydisplay extends Controller { protected function index($setting) { $this->language->load('module/ebaydisplay'); $this->load->model('tool/image'); $this->load->model('ebay/product'); $this->data['heading_title'] = $this->language->get('heading_title'); $this->data['products'] = array(); $products = $this->cache->get('ebaydisplay.'.md5(serialize($setting))); if(!$products){ $products = $this->model_ebay_product->getDisplayProducts(); $this->cache->set('ebaydisplay.'.md5(serialize($setting)), $products); } foreach ($products['products'] as $product) { if(isset($product['pictures'][0])){ $image = $this->model_ebay_product->resize($product['pictures'][0], $setting['image_width'], $setting['image_height']); }else{ $image = ''; } $this->data['products'][] = array( 'thumb' => $image, 'name' => base64_decode($product['Title']), 'price' => $this->currency->format($product['priceGross']), 'href' => (string)$product['link'], ); } $this->data['tracking_pixel'] = $products['tracking_pixel']; if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/ebaydisplay.tpl')) { $this->template = $this->config->get('config_template') . '/template/module/ebaydisplay.tpl'; } else { $this->template = 'default/template/module/ebaydisplay.tpl'; } $this->render(); } } ?>