!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/laravel/framework/src/Illuminate/Pagination/   drwxr-xr-x
Free 116.5 GB of 200.55 GB (58.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Illuminate\Pagination;

use 
Illuminate\Support\HtmlString;
use 
Illuminate\Contracts\Pagination\Paginator as PaginatorContract;
use 
Illuminate\Contracts\Pagination\Presenter as PresenterContract;

class 
BootstrapFourPresenter implements PresenterContract
{
    use 
BootstrapFourNextPreviousButtonRendererTraitUrlWindowPresenterTrait;

    
/**
     * The paginator implementation.
     *
     * @var \Illuminate\Contracts\Pagination\Paginator
     */
    
protected $paginator;

    
/**
     * The URL window data structure.
     *
     * @var array
     */
    
protected $window;

    
/**
     * Create a new Bootstrap presenter instance.
     *
     * @param  \Illuminate\Contracts\Pagination\Paginator  $paginator
     * @param  \Illuminate\Pagination\UrlWindow|null  $window
     * @return void
     */
    
public function __construct(PaginatorContract $paginatorUrlWindow $window null)
    {
        
$this->paginator $paginator;
        
$this->window is_null($window) ? UrlWindow::make($paginator) : $window->get();
    }

    
/**
     * Determine if the underlying paginator being presented has pages to show.
     *
     * @return bool
     */
    
public function hasPages()
    {
        return 
$this->paginator->hasPages();
    }

    
/**
     * Convert the URL window into Bootstrap HTML.
     *
     * @return \Illuminate\Support\HtmlString
     */
    
public function render()
    {
        if (
$this->hasPages()) {
            return new 
HtmlString(sprintf(
                
'<ul class="pagination">%s %s %s</ul>',
                
$this->getPreviousButton(),
                
$this->getLinks(),
                
$this->getNextButton()
            ));
        }

        return 
'';
    }

    
/**
     * Get HTML wrapper for an available page link.
     *
     * @param  string  $url
     * @param  int  $page
     * @param  string|null  $rel
     * @return string
     */
    
protected function getAvailablePageWrapper($url$page$rel null)
    {
        
$rel is_null($rel) ? '' ' rel="'.$rel.'"';

        return 
'<li class="page-item"><a class="page-link" href="'.htmlentities($url).'"'.$rel.'>'.$page.'</a></li>';
    }

    
/**
     * Get HTML wrapper for disabled text.
     *
     * @param  string  $text
     * @return string
     */
    
protected function getDisabledTextWrapper($text)
    {
        return 
'<li class="page-item disabled"><a class="page-link">'.$text.'</a></li>';
    }

    
/**
     * Get HTML wrapper for active text.
     *
     * @param  string  $text
     * @return string
     */
    
protected function getActivePageWrapper($text)
    {
        return 
'<li class="page-item active"><a class="page-link">'.$text.'</a></li>';
    }

    
/**
     * Get a pagination "dot" element.
     *
     * @return string
     */
    
protected function getDots()
    {
        return 
$this->getDisabledTextWrapper('...');
    }

    
/**
     * Get the current page from the paginator.
     *
     * @return int
     */
    
protected function currentPage()
    {
        return 
$this->paginator->currentPage();
    }

    
/**
     * Get the last page from the paginator.
     *
     * @return int
     */
    
protected function lastPage()
    {
        return 
$this->paginator->lastPage();
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0117 ]--