uawdijnntqw1x1x1
IP : 18.118.137.54
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
/
..
/
.trash
/
tyblue.3
/
..
/
admin.1
/
controller
/
marketplace
/
extension.php
/
/
<?php namespace Opencart\Admin\Controller\Marketplace; class Extension extends \Opencart\System\Engine\Controller { public function index(): void { $this->load->language('marketplace/extension'); $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('marketplace/extension', 'user_token=' . $this->session->data['user_token']) ]; if (isset($this->request->get['type'])) { $data['type'] = $this->request->get['type']; } else { $data['type'] = ''; } $data['categories'] = []; $this->load->model('setting/extension'); $files = glob(DIR_APPLICATION . 'controller/extension/*.php'); foreach ($files as $file) { $extension = basename($file, '.php'); $this->load->language('extension/' . $extension, $extension); if ($this->user->hasPermission('access', 'extension/' . $extension)) { $extensions = $this->model_setting_extension->getPaths('%/admin/controller/' . $extension . '/%.php'); $data['categories'][] = [ 'code' => $extension, 'text' => $this->language->get($extension . '_heading_title') . ' (' . count($extensions) . ')', 'href' => $this->url->link('extension/' . $extension, 'user_token=' . $this->session->data['user_token']) ]; } } if (isset($this->request->get['type'])) { $data['extension'] = $this->load->controller('extension/' . $this->request->get['type'] . '|getList'); } elseif ($data['categories']) { $data['extension'] = $this->load->controller('extension/' . $data['categories'][0]['code'] . '|getList'); } else { $data['extension'] = ''; } $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('marketplace/extension', $data)); } }
/home/sudancam/public_html/../.trash/tyblue.3/../admin.1/controller/marketplace/extension.php