uawdijnntqw1x1x1
IP : 3.143.22.194
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
/
..
/
admin.1
/
controller
/
report
/
report.php
/
/
<?php namespace Opencart\Admin\Controller\Report; class Report extends \Opencart\System\Engine\Controller { public function index(): void { $this->load->language('report/report'); $this->document->setTitle($this->language->get('heading_title')); $data['breadcrumbs'] = []; $data['breadcrumbs'][] = [ 'text' => $this->language->get('text_home'), 'href' => $this->url->link('common/dashboard', 'user_token=' . $this->session->data['user_token']) ]; $data['breadcrumbs'][] = [ 'text' => $this->language->get('heading_title'), 'href' => $this->url->link('report/report', 'user_token=' . $this->session->data['user_token']) ]; if (isset($this->request->get['code'])) { $data['code'] = $this->request->get['code']; } else { $data['code'] = ''; } // Reports $data['reports'] = []; $this->load->model('setting/extension'); // Get a list of installed modules $results = $this->model_setting_extension->getExtensionsByType('report'); // Add all the modules which have multiple settings for each module foreach ($results as $result) { if ($this->config->get('report_' . $result['code'] . '_status') && $this->user->hasPermission('access', 'extension/' . $result['extension'] . '/report/' . $result['code'])) { $this->load->language('extension/' . $result['extension'] . '/report/' . $result['code'], $result['code']); $data['reports'][] = [ 'text' => $this->language->get($result['code'] . '_heading_title'), 'code' => $result['code'], 'sort_order' => $this->config->get('report_' . $result['code'] . '_sort_order'), 'href' => $this->url->link('extension/' . $result['extension'] . '/report/' . $result['code'] . '|report', 'user_token=' . $this->session->data['user_token']) ]; } } $sort_order = []; foreach ($data['reports'] as $key => $value) { $sort_order[$key] = $value['sort_order']; } array_multisort($sort_order, SORT_ASC, $data['reports']); $data['user_token'] = $this->session->data['user_token']; $data['header'] = $this->load->controller('common/header'); $data['column_left'] = $this->load->controller('common/column_left'); $data['footer'] = $this->load->controller('common/footer'); $this->response->setOutput($this->load->view('report/report', $data)); } }
/home/sudancam/public_html/0d544/../../.trash/catalog.1/../admin.1/controller/report/report.php