!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/usr/share/phpmyadmin/   drwxr-xr-x
Free 1.47 GB of 7.22 GB (20.43%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     pmd_display_field.php (1.72 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * @package phpMyAdmin-Designer
 */

/**
 *
 */
include_once 'pmd_common.php';


$table $T;
$display_field $F;

if (
$cfgRelation['displaywork']) {

    
$disp     PMA_getDisplayField($db$table);
    if (
$disp) {
        if (
$display_field != $disp) {
            
$upd_query 'UPDATE ' PMA_backquote($GLOBALS['cfgRelation']['db']) . '.' PMA_backquote($cfgRelation['table_info'])
                       . 
' SET display_field = \'' PMA_sqlAddslashes($display_field) . '\''
                       
' WHERE db_name  = \'' PMA_sqlAddslashes($db) . '\''
                       
' AND table_name = \'' PMA_sqlAddslashes($table) . '\'';
        } else {
            
$upd_query 'DELETE FROM ' PMA_backquote($GLOBALS['cfgRelation']['db']) . '.' PMA_backquote($cfgRelation['table_info'])
                       . 
' WHERE db_name  = \'' PMA_sqlAddslashes($db) . '\''
                       
' AND table_name = \'' PMA_sqlAddslashes($table) . '\'';
        }
    } elseif (
$display_field != '') {
        
$upd_query 'INSERT INTO ' PMA_backquote($GLOBALS['cfgRelation']['db']) . '.' PMA_backquote($cfgRelation['table_info'])
                   . 
'(db_name, table_name, display_field) '
                   
' VALUES('
                   
'\'' PMA_sqlAddslashes($db) . '\','
                   
'\'' PMA_sqlAddslashes($table) . '\','
                   
'\'' PMA_sqlAddslashes($display_field) . '\')';
    }

    if (isset(
$upd_query)) {
        
$upd_rs    PMA_query_as_controluser($upd_query);
    }
// end if

header("Content-Type: text/xml; charset=utf-8");
header("Cache-Control: no-cache");
die(
"<root act='save_pos' return=__('Modifications have been saved')></root>");
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0181 ]--