[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.216.32.251: ~ $
<?php

namespace WP_Statistics\Decorators;

use WP_Statistics\Service\Analytics\DeviceDetection\DeviceHelper;

class OsDecorator
{
    private $visitor;

    public function __construct($visitor)
    {
        $this->visitor = $visitor;
    }

    /**
     * Get the operating system name
     *
     * @return string
     */
    public function getName()
    {
        return \WP_STATISTICS\Admin_Template::unknownToNotSet($this->visitor->platform) ?? null;
    }

    /**
     * Get the operating system logo URL based on the visitor's platform.
     *
     * @return string
     */
    public function getLogo()
    {
        return DeviceHelper::getPlatformLogo($this->visitor->platform);
    }
}

Filemanager

Name Type Size Permission Actions
BrowserDecorator.php File 1.03 KB 0644
DeviceDecorator.php File 710 B 0644
LocationDecorator.php File 1.6 KB 0644
OsDecorator.php File 701 B 0644
ReferralDecorator.php File 1.84 KB 0644
UserDecorator.php File 1.98 KB 0644
VisitorDecorator.php File 6.25 KB 0644