!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/home/mnnews/public_html/login/phpmyadmin/libraries/   drwxr-xr-x
Free 4.41 GB of 27.03 GB (16.3%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     display_select_lang.lib.php (2.71 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Code for displaying language selection
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
    exit;
}

/**
* Compares the names of two languages.
* Used by uasort in PMA_getLanguageSelectorHtml()
*
* @param array $a The first language being compared
* @param array $b The second language being compared
*
* @return int the sorted array
*/
function PMA_languageCmp($a, $b)
{
    return
strcmp($a[1], $b[1]);
}

/**
* Returns HTML code for the language selector
*
* @param boolean $use_fieldset whether to use fieldset for selection
* @param boolean $show_doc     whether to show documentation links
*
* @return string
*
* @access  public
*/
function PMA_getLanguageSelectorHtml($use_fieldset = false, $show_doc = true)
{
    global
$lang;

    
$retval = '';

    
// Display language selection only if there
    // is more than one language to choose from
    
if (count($GLOBALS['available_languages']) > 1) {
        
$retval .= '<form method="get" action="index.php" class="disableAjax">';

        
$_form_params = array(
            
'db' => $GLOBALS['db'],
            
'table' => $GLOBALS['table'],
        );
        
$retval .= PMA_URL_getHiddenInputs($_form_params);

        
// For non-English, display "Language" with emphasis because it's
        // not a proper word in the current language; we show it to help
        // people recognize the dialog
        
$language_title = __('Language')
            . (
__('Language') != 'Language' ? ' - <em>Language</em>' : '');
        if (
$show_doc) {
            
$language_title .= PMA_Util::showDocu('faq', 'faq7-2');
        }
        if (
$use_fieldset) {
            
$retval .= '<fieldset><legend lang="en" dir="ltr">'
                
. $language_title . '</legend>';
        } else {
            
$retval .= '<bdo lang="en" dir="ltr"><label for="sel-lang">'
                
. $language_title . ': </label></bdo>';
        }

        
$retval .= '<select name="lang" class="autosubmit" lang="en"'
            
. ' dir="ltr" id="sel-lang">';

        
uasort($GLOBALS['available_languages'], 'PMA_languageCmp');
        foreach (
$GLOBALS['available_languages'] as $id => $tmplang) {
            
$lang_name = PMA_languageName($tmplang);

            
//Is current one active?
            
if ($lang == $id) {
                
$selected = ' selected="selected"';
            } else {
                
$selected = '';
            }
            
$retval .= '<option value="' . $id . '"' . $selected . '>';
            
$retval .= $lang_name;
            
$retval .= '</option>';
        }

        
$retval .= '</select>';

        if (
$use_fieldset) {
            
$retval .= '</fieldset>';
        }

        
$retval .= '</form>';
    }
    return
$retval;
}


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.004 ]--