uawdijnntqw1x1x1
IP : 3.133.127.195
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,parse_ini_file,show_source,eval,open_base,symlink
OS : Linux
PATH:
/
home
/
sudancam
/
.trash
/
revolution
/
.
/
..
/
akismet
/
..
/
catalog
/
controller
/
common
/
currency.php
/
/
<?php class ControllerCommonCurrency extends Controller { public function index() { $this->load->language('common/currency'); $data['action'] = $this->url->link('common/currency/currency', '', $this->request->server['HTTPS']); $data['code'] = $this->session->data['currency']; $this->load->model('localisation/currency'); $data['currencies'] = array(); $results = $this->model_localisation_currency->getCurrencies(); foreach ($results as $result) { if ($result['status']) { $data['currencies'][] = array( 'title' => $result['title'], 'code' => $result['code'], 'symbol_left' => $result['symbol_left'], 'symbol_right' => $result['symbol_right'] ); } } if (!isset($this->request->get['route'])) { $data['redirect'] = $this->url->link('common/home'); } else { $url_data = $this->request->get; unset($url_data['_route_']); $route = $url_data['route']; unset($url_data['route']); $url = ''; if ($url_data) { $url = '&' . urldecode(http_build_query($url_data, '', '&')); } $data['redirect'] = $this->url->link($route, $url, $this->request->server['HTTPS']); } return $this->load->view('common/currency', $data); } public function currency() { if (isset($this->request->post['code'])) { $this->session->data['currency'] = $this->request->post['code']; unset($this->session->data['shipping_method']); unset($this->session->data['shipping_methods']); } if (isset($this->request->post['redirect'])) { $this->response->redirect($this->request->post['redirect']); } else { $this->response->redirect($this->url->link('common/home')); } } }
/home/sudancam/.trash/revolution/./../akismet/../catalog/controller/common/currency.php