uawdijnntqw1x1x1
IP : 3.22.61.128
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
/
.trash
/
wp-pagenavi
/
..
/
catalog.1
/
controller
/
.
/
startup
/
marketing.php
/
/
<?php namespace Opencart\Catalog\Controller\Startup; class Marketing extends \Opencart\System\Engine\Controller { public function index(): void { $tracking = ''; if (isset($this->request->get['tracking'])) { $tracking = (string)$this->request->get['tracking']; } if (isset($this->request->cookie['tracking'])) { $tracking = (string)$this->request->cookie['tracking']; } // Tracking Code if ($tracking) { $this->load->model('marketing/marketing'); $marketing_info = $this->model_marketing_marketing->getMarketingByCode($tracking); if ($marketing_info) { $this->model_marketing_marketing->addReport($marketing_info['marketing_id'], $this->request->server['REMOTE_ADDR']); } if ($this->config->get('config_affiliate_status')) { $this->load->model('account/affiliate'); $affiliate_info = $this->model_account_affiliate->getAffiliateByTracking($tracking); if ($affiliate_info && $affiliate_info['status']) { $this->model_account_affiliate->addReport($affiliate_info['customer_id'], $this->request->server['REMOTE_ADDR']); } if ($marketing_info || ($affiliate_info && $affiliate_info['status'])) { $this->session->data['tracking'] = $tracking; if (!isset($this->request->cookie['tracking'])) { $option = [ 'expires' => $this->config->get('config_affiliate_expire') ? time() + (int)$this->config->get('config_affiliate_expire') : 0, 'path' => '/', 'SameSite' => $this->config->get('session_samesite') ]; setcookie('tracking', $tracking, $option); } } } } } }
/home/sudancam/.trash/wp-pagenavi/../catalog.1/controller/./startup/marketing.php