->request->post['currency_code'])) { $this->currency->set($this->request->post['currency_code']); unset($this->session->data['shipping_methods']); unset($this->session->data['shipping_method']); if (isset($this->request->post['redirect'])) { $this->redirect($this->request->post['redirect']); } else { $this->redirect($this->url->link('anasayfa')); } } $this->data['currency_code'] = $this->currency->getCode(); $this->load->model('localisation/currency'); $this->data['currencies'] = array(); $results = $this->model_localisation_currency->getCurrencies(); foreach ($results as $result) { if ($result['status']) { $this->data['currencies'][] = array( 'title' => $result['title'], 'code' => $result['code'], 'symbol_left' => $result['symbol_left'], 'symbol_right' => $result['symbol_right'] ); } } // Menu $this->load->model('catalog/category'); $this->load->model('catalog/product'); $this->data['categoriess'] = array(); $categoriess = $this->model_catalog_category->getCategories(0); foreach ($categoriess as $category) { if ($category['top']) { $children_data = array(); $children = $this->model_catalog_category->getCategories($category['category_id']); foreach ($children as $child) { $data = array( 'filter_category_id' => $child['category_id'], 'filter_sub_category' => true ); $product_total = (getNitroPersistence('Enabled') && getNitroPersistence('ProductCountFix') && !$this->config->get('config_product_count')) ? 0 : $this->model_catalog_product->getTotalProducts($data); $children_data[] = array( 'name' => $child['name'], 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); } // Level 1 $this->data['categoriess'][] = array( 'name' => $category['name'], 'children' => $children_data, 'column' => $category['column'] ? $category['column'] : 1, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); } } // Menu $this->load->model('catalog/category'); $this->load->model('catalog/product'); $this->data['categories'] = array(); $categories = $this->model_catalog_category->getCategories(0); foreach ($categories as $category) { if ($category['top']) { $children_data = array(); $children = $this->model_catalog_category->getCategories($category['category_id']); foreach ($children as $child) { $data = array( 'filter_category_id' => $child['category_id'], 'filter_sub_category' => true ); $product_total = (getNitroPersistence('Enabled') && getNitroPersistence('ProductCountFix') && !$this->config->get('config_product_count')) ? 0 : $this->model_catalog_product->getTotalProducts($data); $children_data[] = array( 'name' => $child['name'], 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); } // Level 1 $this->data['categories'][] = array( 'name' => $category['name'], 'children' => $children_data, 'column' => $category['column'] ? $category['column'] : 1, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); } } if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/header.tpl')) { $this->template = $this->config->get('config_template') . '/template/common/header.tpl'; } else { $this->template = $this->config->get('config_template') . '/template/common/header.tpl'; } $this->render(); } } ?>
Fatal error: Class 'Controllercommonheader' not found in /home/wwwkutuk/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 43