uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
talentorbit.codeskitter.site
/
app
/
CmsContent.php
/
/
<?php namespace App; use App; use App\cms; use App\Traits\Lang; use App\Traits\Active; use Illuminate\Database\Eloquent\Model; class CmsContent extends Model { use Lang; use Active; protected $table = 'cms_content'; public $timestamps = true; protected $guarded = ['id']; //protected $dateFormat = 'U'; protected $dates = ['created_at', 'updated_at']; public function page() { return $this->belongsTo('App\Cms', 'page_id', 'id'); } public static function getContentByPageId($id) { $cmsContent = self::where('page_id', '=', $id)->where('lang', 'like', \App::getLocale())->first(); if (null === $cmsContent) { $cmsContent = self::where('page_id', '=', $id)->first(); } return $cmsContent; } public static function getContentBySlug($slug) { $cms = Cms::where('page_slug', 'like', $slug)->first(); $cmsContent = self::where('page_id', '=', $cms->id)->where('lang', 'like', \App::getLocale())->first(); if (null === $cmsContent) { $cmsContent = self::where('page_id', '=', $cms->id)->first(); } return $cmsContent; } }
/home/users/unlimited/www/talentorbit.codeskitter.site/app/CmsContent.php