!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/lampp/lib/php/HTML/Select/Common/   drwxr-xr-x
Free 9.88 GB of 61.93 GB (15.95%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Country.php (2.17 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Provide Select list for countries
 *
 * PHP Version 4
 *
 * @category  HTML
 * @package   HTML_Select_Common
 * @author    Richard Heyes <richard@php.net>
 * @copyright 2002 Marcelo Santos Araujo
 * @license   BSD (see http://www.opensource.org/licenses/bsd-license.php)
 * @version   CVS: $Id: Country.php 303988 2010-10-04 12:27:17Z clockwerx $
 * @link      http://pear.php.net/package/HTML_Select_Common
 */

require_once 'I18N/Country.php';

/**
 * Class to produce a HTML Select dropdown of countries
 *
 * @category HTML
 * @package  HTML_Select_Common
 * @author   Richard Heyes <richard@php.net>
 * @license  BSD (see http://www.opensource.org/licenses/bsd-license.php)
 * @link     http://pear.php.net/package/HTML_Select_Common
 */

class HTML_Select_Common_Country extends I18N_Country
{
    
/**
    * Produces the HTML for the dropdown.
    *
    * @param string $name            The name="" attribute
    * @param string $selectedOption  The option to be selected by default.
    *                                Must match the country code.
    * @param string $promoText       The text to appear as the first option
    * @param string $extraAttributes Any extra attributes for the <select> tag
    *
    * @return string                  The HTML for the <select>
    * @access public
    */
    
function toHTML(
        
$name,
        
$selectedOption null,
        
$promoText 'Select a country...',
        
$extraAttributes ''
    
) {
        
$options[]      = sprintf('<option value="">%s</option>'$promoText);
        
$selectedOption strtolower($selectedOption);

        foreach (
$this->_codes as $code => $country) {
            
$code      strtolower($code);
            
$selected  $selectedOption == $code ' selected="selected"' '';
            
$options[] = '<option value="' .
                         
$code .
                         
'"' .
                         
$selected .
                         
'>' .
                         
ucfirst(strtolower($country)) . '</option>';
        }

        return 
sprintf(
            
'<select name="%s" %s>%s</select>',
            
$name,
            
$extraAttributes,
            
implode("\r\n"$options)
        );
    }
}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.513 ]--