!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/templates/table/relation/   drwxr-xr-x
Free 4.5 GB of 27.03 GB (16.66%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     internal_relational_row.phtml (2.38 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$myfield
= $save_row[$i]['Field'];
// Use an md5 as array index to avoid having special characters
// in the name attribute (see bug #1746964 )
$myfield_md5 = md5($myfield);
$myfield_html = htmlspecialchars($myfield);

$foreign_table = false;
$foreign_column = false;

// database dropdown
if (isset($existrel[$myfield])) {
    
$foreign_db = $existrel[$myfield]['foreign_db'];
} else {
    
$foreign_db = $db;
}

// table dropdown
$tables = array();
if (
$foreign_db) {
    if (isset(
$existrel[$myfield])) {
        
$foreign_table = $existrel[$myfield]['foreign_table'];
    }
    
$tables_rs = $GLOBALS['dbi']->query(
        
'SHOW TABLES FROM ' . PMA_Util::backquote($foreign_db),
        
null,
        
PMA_DatabaseInterface::QUERY_STORE
    
);
    while (
$row = $GLOBALS['dbi']->fetchRow($tables_rs)) {
        
$tables[] = $row[0];
    }
}

// column dropdown
$columns = array();
if (
$foreign_db && $foreign_table) {
    if (isset(
$existrel[$myfield])) {
        
$foreign_column = $existrel[$myfield]['foreign_field'];
    }
    
$table_obj = new PMA_Table($foreign_table, $foreign_db);
    
$columns = $table_obj->getUniqueColumns(false, false);
}
?>
<tr class="<?php echo ($odd_row ? 'odd' : 'even'); ?>">
    <td class="vmiddle">
        <strong><?php echo $myfield_html; ?></strong>
        <input type="hidden" name="fields_name[<?php echo $myfield_md5; ?>]"
               value="<?php echo $myfield_html; ?>"/>
    </td>

    <td>
        <?php echo PMATemplate::get('table/relation/relational_dropdown')->render(
            array(
                
'name' => 'destination_db[' . $myfield_md5 . ']',
                
'title' => __('Database'),
                
'values' => $GLOBALS['pma']->databases,
                
'foreign' => $foreign_db
            
)
        );
?>
        <?php echo PMATemplate::get('table/relation/relational_dropdown')->render(
            array(
                
'name' => 'destination_table[' . $myfield_md5 . ']',
                
'title' => __('Table'),
                
'values' => $tables,
                
'foreign' => $foreign_table
            
)
        );
?>
        <?php echo PMATemplate::get('table/relation/relational_dropdown')->render(
            array(
                
'name' => 'destination_column[' . $myfield_md5 . ']',
                
'title' => __('Column'),
                
'values' => $columns,
                
'foreign' => $foreign_column
            
)
        );
?>
    </td>
</tr>

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