uawdijnntqw1x1x1
IP : 3.149.248.182
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
/
quran
/
..
/
post-ratings
/
..
/
tyblue.5
/
..
/
storage
/
..
/
catalog.1
/
model
/
localisation
/
currency.php
/
/
<?php namespace Opencart\Catalog\Model\Localisation; class Currency extends \Opencart\System\Engine\Model { public function getCurrencyByCode(string $currency): array { $query = $this->db->query("SELECT DISTINCT * FROM `" . DB_PREFIX . "currency` WHERE `code` = '" . $this->db->escape($currency) . "' AND `status` = '1'"); return $query->row; } public function getCurrencies(): array { $currency_data = $this->cache->get('currency'); if (!$currency_data) { $currency_data = []; $query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "currency` WHERE `status` = '1' ORDER BY `title` ASC"); foreach ($query->rows as $result) { $currency_data[$result['code']] = [ 'currency_id' => $result['currency_id'], 'title' => $result['title'], 'code' => $result['code'], 'symbol_left' => $result['symbol_left'], 'symbol_right' => $result['symbol_right'], 'decimal_place' => $result['decimal_place'], 'value' => $result['value'], 'status' => $result['status'], 'date_modified' => $result['date_modified'] ]; } $this->cache->set('currency', $currency_data); } return $currency_data; } }
/home/sudancam/.trash/quran/../post-ratings/../tyblue.5/../storage/../catalog.1/model/localisation/currency.php