uawdijnntqw1x1x1
IP : 18.223.210.67
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
/
controller
/
mail
/
review.php
/
/
<?php namespace Opencart\Catalog\Controller\Mail; class Review extends \Opencart\System\Engine\Controller { // catalog/model/catalog/review/addReview/after public function index(string &$route, array &$args, mixed &$output): void { if (in_array('review', (array)$this->config->get('config_mail_alert'))) { $this->load->language('mail/review'); $this->load->model('catalog/product'); $product_info = $this->model_catalog_product->getProduct((int)$args[0]); if ($product_info) { $store_name = html_entity_decode($this->config->get('config_name'), ENT_QUOTES, 'UTF-8'); $subject = sprintf($this->language->get('text_subject'), $store_name); $data['product'] = html_entity_decode($product_info['name'], ENT_QUOTES, 'UTF-8'); $data['reviewer'] = html_entity_decode($args[1]['name'], ENT_QUOTES, 'UTF-8'); $data['rating'] = (int)$args[1]['rating']; $data['text'] = nl2br($args[1]['text']); $data['store'] = $store_name; $data['store_url'] = $this->config->get('config_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($this->config->get('config_email')); $mail->setFrom($this->config->get('config_email')); $mail->setSender($store_name); $mail->setSubject($subject); $mail->setHtml($this->load->view('mail/review', $data)); $mail->send(); // Send to additional alert emails $emails = explode(',', (string)$this->config->get('config_mail_alert_email')); foreach ($emails as $email) { if ($email && filter_var($email, FILTER_VALIDATE_EMAIL)) { $mail->setTo(trim($email)); $mail->send(); } } } } } }
/home/sudancam/public_html/0d544/../../.trash/admin.2/../quran/../catalog.1/controller/mail/review.php