403Webshell
Server IP : 35.236.43.222  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64
User : deploy ( 1002)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/ravel.network/public/wp-content/plugins/independent-analytics/IAWP/Models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/ravel.network/public/wp-content/plugins/independent-analytics/IAWP/Models/Geo.php
<?php

namespace IAWP\Models;

/** @internal */
class Geo extends \IAWP\Models\Model
{
    use \IAWP\Models\Universal_Model_Columns;
    protected $row;
    private $continent;
    private $country;
    private $country_code;
    private $subdivision;
    private $city;
    public function __construct($row)
    {
        $this->row = $row;
        $this->continent = $row->continent;
        $this->country = $row->country;
        $this->country_code = $row->country_code;
        $this->subdivision = $row->subdivision ?? '';
        $this->city = $row->city ?? '';
    }
    public function id() : int
    {
        return $this->row->city_id ?? $this->row->country_id;
    }
    public function table_type() : string
    {
        return 'geo';
    }
    public function is_country() : bool
    {
        return \strlen($this->subdivision) === 0 && \strlen($this->city) === 0;
    }
    public function continent()
    {
        return $this->continent;
    }
    public function country()
    {
        return $this->country;
    }
    public function country_code()
    {
        return $this->country_code;
    }
    public function subdivision()
    {
        return $this->subdivision;
    }
    public function city()
    {
        return $this->city;
    }
    public function examiner_title() : ?string
    {
        return $this->is_country() ? $this->country() : $this->city();
    }
    public function examiner_url() : string
    {
        return \IAWPSCOPED\iawp_dashboard_url(['tab' => 'geo', 'examiner' => $this->id()]);
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit