uawdijnntqw1x1x1
IP : 3.12.149.139
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
0d544
/
..
/
..
/
.trash
/
.
/
catalog.1
/
.
/
controller
/
information
/
information.php
/
/
<?php namespace Opencart\Catalog\Controller\Information; class Information extends \Opencart\System\Engine\Controller { public function index(): void { $this->load->language('information/information'); $data['breadcrumbs'] = []; $data['breadcrumbs'][] = [ 'text' => $this->language->get('text_home'), 'href' => $this->url->link('common/home', 'language=' . $this->config->get('config_language')) ]; if (isset($this->request->get['information_id'])) { $information_id = (int)$this->request->get['information_id']; } else { $information_id = 0; } $this->load->model('catalog/information'); $information_info = $this->model_catalog_information->getInformation($information_id); if ($information_info) { $this->document->setTitle($information_info['meta_title']); $this->document->setDescription($information_info['meta_description']); $this->document->setKeywords($information_info['meta_keyword']); $data['breadcrumbs'][] = [ 'text' => $information_info['title'], 'href' => $this->url->link('information/information', 'language=' . $this->config->get('config_language') . '&information_id=' . $information_id) ]; $data['heading_title'] = $information_info['title']; $data['description'] = html_entity_decode($information_info['description'], ENT_QUOTES, 'UTF-8'); $data['continue'] = $this->url->link('common/home', 'language=' . $this->config->get('config_language')); $data['column_left'] = $this->load->controller('common/column_left'); $data['column_right'] = $this->load->controller('common/column_right'); $data['content_top'] = $this->load->controller('common/content_top'); $data['content_bottom'] = $this->load->controller('common/content_bottom'); $data['footer'] = $this->load->controller('common/footer'); $data['header'] = $this->load->controller('common/header'); $this->response->setOutput($this->load->view('information/information', $data)); } else { $data['breadcrumbs'][] = [ 'text' => $this->language->get('text_error'), 'href' => $this->url->link('information/information', 'language=' . $this->config->get('config_language') . '&information_id=' . $information_id) ]; $this->document->setTitle($this->language->get('text_error')); $data['heading_title'] = $this->language->get('text_error'); $data['text_error'] = $this->language->get('text_error'); $data['continue'] = $this->url->link('common/home', 'language=' . $this->config->get('config_language')); $this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . ' 404 Not Found'); $data['column_left'] = $this->load->controller('common/column_left'); $data['column_right'] = $this->load->controller('common/column_right'); $data['content_top'] = $this->load->controller('common/content_top'); $data['content_bottom'] = $this->load->controller('common/content_bottom'); $data['footer'] = $this->load->controller('common/footer'); $data['header'] = $this->load->controller('common/header'); $this->response->setOutput($this->load->view('error/not_found', $data)); } } public function info(): void { if (isset($this->request->get['information_id'])) { $information_id = (int)$this->request->get['information_id']; } else { $information_id = 0; } $this->load->model('catalog/information'); $information_info = $this->model_catalog_information->getInformation($information_id); if ($information_info) { $data['title'] = $information_info['title']; $data['description'] = html_entity_decode($information_info['description'], ENT_QUOTES, 'UTF-8'); $this->response->addHeader('X-Robots-Tag: noindex'); $this->response->setOutput($this->load->view('information/information_info', $data)); } } }
/home/sudancam/public_html/0d544/../../.trash/./catalog.1/./controller/information/information.php