uawdijnntqw1x1x1
IP : 3.15.208.242
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
/
public_html
/
0d544
/
..
/
..
/
.trash
/
admin.2
/
..
/
quran
/
..
/
catalog.1
/
model
/
catalog
/
.
/
..
/
checkout
/
shipping_method.php
/
/
<?php namespace Opencart\Catalog\Model\Checkout; class ShippingMethod extends \Opencart\System\Engine\Controller { public function getMethods(array $shipping_address): array { $method_data = []; $this->load->model('setting/extension'); $results = $this->model_setting_extension->getExtensionsByType('shipping'); foreach ($results as $result) { if ($this->config->get('shipping_' . $result['code'] . '_status')) { $this->load->model('extension/' . $result['extension'] . '/shipping/' . $result['code']); $quote = $this->{'model_extension_' . $result['extension'] . '_shipping_' . $result['code']}->getQuote($shipping_address); if ($quote) { $method_data[$result['code']] = [ 'title' => $quote['title'], 'quote' => $quote['quote'], 'sort_order' => $quote['sort_order'], 'error' => $quote['error'] ]; } } } $sort_order = []; foreach ($method_data as $key => $value) { $sort_order[$key] = $value['sort_order']; } array_multisort($sort_order, SORT_ASC, $method_data); return $method_data; } }
/home/sudancam/public_html/0d544/../../.trash/admin.2/../quran/../catalog.1/model/catalog/./../checkout/shipping_method.php