uawdijnntqw1x1x1
IP : 3.138.119.106
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
/
.
/
catalog
/
..
/
catalog.1
/
controller
/
.
/
checkout
/
checkout.php
/
/
<?php namespace Opencart\Catalog\Controller\Checkout; class Checkout extends \Opencart\System\Engine\Controller { public function index(): void { // Validate cart has products and has stock. if ((!$this->cart->hasProducts() && empty($this->session->data['vouchers'])) || (!$this->cart->hasStock() && !$this->config->get('config_stock_checkout'))) { $this->response->redirect($this->url->link('checkout/cart', 'language=' . $this->config->get('config_language'))); } // Validate minimum quantity requirements. $products = $this->cart->getProducts(); foreach ($products as $product) { if (!$product['minimum']) { $this->response->redirect($this->url->link('checkout/cart', 'language=' . $this->config->get('config_language'), true)); break; } } $this->load->language('checkout/checkout'); $this->document->setTitle($this->language->get('heading_title')); $this->document->addScript('catalog/view/javascript/jquery/datetimepicker/moment.min.js'); $this->document->addScript('catalog/view/javascript/jquery/datetimepicker/moment-with-locales.min.js'); $this->document->addScript('catalog/view/javascript/jquery/datetimepicker/daterangepicker.js'); $this->document->addStyle('catalog/view/javascript/jquery/datetimepicker/daterangepicker.css'); $data['breadcrumbs'] = []; $data['breadcrumbs'][] = [ 'text' => $this->language->get('text_home'), 'href' => $this->url->link('common/home', 'language=' . $this->config->get('config_language')) ]; $data['breadcrumbs'][] = [ 'text' => $this->language->get('text_cart'), 'href' => $this->url->link('checkout/cart', 'language=' . $this->config->get('config_language')) ]; $data['breadcrumbs'][] = [ 'text' => $this->language->get('heading_title'), 'href' => $this->url->link('checkout/checkout', 'language=' . $this->config->get('config_language')) ]; if (!$this->customer->isLogged()) { $data['register'] = $this->load->controller('checkout/register'); } else { $data['register'] = ''; } if ($this->customer->isLogged() && $this->config->get('config_checkout_address')) { $data['payment_address'] = $this->load->controller('checkout/payment_address'); } else { $data['payment_address'] = ''; } if ($this->customer->isLogged() && $this->cart->hasShipping()) { $data['shipping_address'] = $this->load->controller('checkout/shipping_address'); } else { $data['shipping_address'] = ''; } if ($this->cart->hasShipping()) { $data['shipping_method'] = $this->load->controller('checkout/shipping_method'); } else { $data['shipping_method'] = ''; } $data['payment_method'] = $this->load->controller('checkout/payment_method'); $data['confirm'] = $this->load->controller('checkout/confirm'); $data['column_left'] = $this->load->controller('common/column_left'); $data['column_right'] = $this->load->controller('common/column_right'); $data['content_top'] = $this->load->controller('common/content_top'); $data['content_bottom'] = $this->load->controller('common/content_bottom'); $data['footer'] = $this->load->controller('common/footer'); $data['header'] = $this->load->controller('common/header'); $this->response->setOutput($this->load->view('checkout/checkout', $data)); } }
/home/sudancam/public_html/0d544/../../.trash/./catalog/../catalog.1/controller/./checkout/checkout.php