uawdijnntqw1x1x1
IP : 3.129.42.99
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,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
..
/
.trash
/
admin
/
controller
/
startup
/
..
/
mail
/
return.php
/
/
<?php class ControllerMailReturn extends Controller { public function index($route, $args, $output) { 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/return'); $return_info = $this->model_sale_return->getReturn($return_id); if ($return_info) { $this->load->language('mail/return'); $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'] = strip_tags(html_entity_decode($comment, ENT_QUOTES, 'UTF-8')); $mail = new 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(html_entity_decode($this->config->get('config_name'), ENT_QUOTES, 'UTF-8')); $mail->setSubject(sprintf($this->language->get('text_subject'), html_entity_decode($this->config->get('config_name'), ENT_QUOTES, 'UTF-8'), $return_id)); $mail->setText($this->load->view('mail/return', $data)); $mail->send(); } } } }
/home/sudancam/public_html/../.trash/admin/controller/startup/../mail/return.php