uawdijnntqw1x1x1
IP : 18.118.121.240
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_html3
/
.well-known
/
..
/
.
/
.
/
.
/
..
/
.trash
/
admin.1
/
controller
/
design
/
..
/
mail
/
returns.php
/
/
<?php namespace Opencart\Admin\Controller\Mail; class Returns extends \Opencart\System\Engine\Controller { public function index(string &$route, array &$args, mixed &$output): void { if (isset($args[0])) { $return_id = $args[0]; } else { $return_id = ''; } if (isset($args[1])) { $return_status_id = $args[1]; } else { $return_status_id = ''; } if (isset($args[2])) { $comment = $args[2]; } else { $comment = ''; } if (isset($args[3])) { $notify = $args[3]; } else { $notify = ''; } if ($notify) { $this->load->model('sale/returns'); $return_info = $this->model_sale_returns->getReturn($return_id); if ($return_info) { $this->load->model('sale/order'); $order_info = $this->model_sale_order->getOrder($return_info['order_id']); if ($order_info) { $store_name = html_entity_decode($order_info['store_name'], ENT_QUOTES, 'UTF-8'); $store_url = $order_info['store_url']; } else { $store_name = html_entity_decode($this->config->get('config_name'), ENT_QUOTES, 'UTF-8'); $store_url = HTTP_CATALOG; } $this->load->model('localisation/language'); $language_info = $this->model_localisation_language->getLanguage($return_info['language_id']); if ($language_info) { $language_code = $language_info['code']; } else { $language_code = $this->config->get('config_language'); } $this->language->load($language_code, 'mail', $language_code); $this->language->load('mail/returns', 'mail', $language_code); $subject = sprintf($this->language->get('text_subject'), $store_name, $return_id); $data['return_id'] = $return_id; $data['date_added'] = date($this->language->get('date_format_short'), strtotime($return_info['date_modified'])); $data['return_status'] = $return_info['return_status']; $data['comment'] = nl2br($comment); $data['store'] = $store_name; $data['store_url'] = $store_url; $mail = new \Opencart\System\Library\Mail($this->config->get('config_mail_engine')); $mail->parameter = $this->config->get('config_mail_parameter'); $mail->smtp_hostname = $this->config->get('config_mail_smtp_hostname'); $mail->smtp_username = $this->config->get('config_mail_smtp_username'); $mail->smtp_password = html_entity_decode($this->config->get('config_mail_smtp_password'), ENT_QUOTES, 'UTF-8'); $mail->smtp_port = $this->config->get('config_mail_smtp_port'); $mail->smtp_timeout = $this->config->get('config_mail_smtp_timeout'); $mail->setTo($return_info['email']); $mail->setFrom($this->config->get('config_email')); $mail->setSender($store_name); $mail->setSubject($subject); $mail->setHtml($this->load->view('mail/returns', $data)); $mail->send(); } } } }
/home/sudancam/public_html3/.well-known/.././././../.trash/admin.1/controller/design/../mail/returns.php