!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/smabpro.picotech.app/public_html/app/Models/   drwxr-xr-x
Free 28.64 GB of 117.98 GB (24.27%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace App\Models;

use 
App\Models\Company;
use 
App\Models\Contact;
use 
Illuminate\Database\Eloquent\Model;

class 
Activity extends Model
{
    public static function 
get_activity($module_type,$module_id)
    {
        
$result=['name'=>'-'];
        if(
$module_type=='contact')
        {
            
$contactContact::where('id',$module_id)->orderBy('id','desc')->first();
            if(
$contact)
            {
                
$result =['name' => $contact->name];
            }
        }
        elseif(
$module_type=='company')
        {
            
$companyCompany::where('id',$module_id)->orderBy('id','desc')->first();
            if(
$company)
                {
                    
$result =['name' => $company->name];
                }
        }
        elseif(
$module_type=='Employee')
        {
            
$employeeHrmEmployee::where('id',$module_id)->orderBy('id','desc')->first();
            if(
$employee)
                {
                    
$result =['name' => $employee->first_name.' '.$employee->last_name];
                }
        }
        return 
$result;
    }
    public function 
logIcon()
    {
        
$type $this->log_type;
        
$icon '';

        if(!empty(
$type))
        {
            if(
$type == 'Invite User')
            {
                
$icon 'ti-user';
            }
            else if(
$type == 'User Assigned to the Task')
            {
                
$icon 'ti-user-check';
            }
            else if(
$type == 'User Removed from the Task')
            {
                
$icon 'ti-user-x';
            }
            else if(
$type == 'Upload File')
            {
                
$icon 'ti-cloud-upload';
            }
            else if(
$type == 'Create Milestone')
            {
                
$icon 'ti-crop';
            }
            else if(
$type == 'Create Bug')
            {
                
$icon 'ti-bug';
            }
            else if(
$type == 'Create Task')
            {
                
$icon 'ti-square-plus';
            }
            else if(
$type == 'Move Task')
            {
                
$icon 'ti-command';
            }
            else if(
$type == 'Create Expense')
            {
                
$icon 'ti-clipboard-list';
            }
            else if(
$type == 'Move')
            {
                
$icon 'ti-arrows-maximize';
            }
            elseif(
$type == 'Add Product')
            {
                
$icon 'ti-shopping-cart-plus';
            }
            elseif(
$type == 'Update Sources')
            {
                
$icon 'ti-brand-open-source';
            }
            elseif(
$type == 'Create Deal Call')
            {
                
$icon 'ti-phone-plus';
            }
            elseif(
$type == 'Create Deal Email')
            {
                
$icon 'ti-record-mail';
            }
            elseif(
$type == 'Create Invoice')
            {
                
$icon 'ti-file-plus';
            }
            elseif(
$type == 'Add Contact')
            {
                
$icon 'ti-notebook';
            }
            elseif(
$type == 'Create Task')
            {
                
$icon 'ti-list';
            }

        }

        return 
$icon;
    }


}

:: 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.0039 ]--