uawdijnntqw1x1x1
IP : 3.147.13.252
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
/
install.1
/
.
/
..
/
Upload
/
..
/
.
/
catalog.1
/
model
/
localisation
/
order_status.php
/
/
<?php namespace Opencart\Catalog\Model\Localisation; class OrderStatus extends \Opencart\System\Engine\Model { public function getOrderStatus(int $order_status_id): array { $query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "order_status` WHERE `order_status_id` = '" . (int)$order_status_id . "' AND `language_id` = '" . (int)$this->config->get('config_language_id') . "'"); return $query->row; } public function getOrderStatuses(): array { $order_status_data = $this->cache->get('order_status.' . (int)$this->config->get('config_language_id')); if (!$order_status_data) { $query = $this->db->query("SELECT `order_status_id`, `name` FROM `" . DB_PREFIX . "order_status` WHERE `language_id` = '" . (int)$this->config->get('config_language_id') . "' ORDER BY `name`"); $order_status_data = $query->rows; $this->cache->set('order_status.' . (int)$this->config->get('config_language_id'), $order_status_data); } return $order_status_data; } }
/home/sudancam/./.trash/install.1/./../Upload/.././catalog.1/model/localisation/order_status.php