!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

C:\Intranet\C\xampp\php\PEAR\Text\Wiki\Render\Xhtml\   drwxrwxrwx
Free 4.09 GB of 39.52 GB (10.35%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Table.php (3.41 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
/**
 * Table rule end renderer for Xhtml
 *
 * PHP versions 4 and 5
 *
 * @category   Text
 * @package    Text_Wiki
 * @author     Paul M. Jones <pmjones@php.net>
 * @license    http://www.gnu.org/copyleft/lesser.html  LGPL License 2.1
 * @version    CVS: $Id: Table.php,v 1.12 2005/12/06 15:29:29 ritzmo Exp $
 * @link       http://pear.php.net/package/Text_Wiki
 */

/**
 * This class renders tables in XHTML.
 *
 * @category   Text
 * @package    Text_Wiki
 * @author     Paul M. Jones <pmjones@php.net>
 * @license    http://www.gnu.org/copyleft/lesser.html  LGPL License 2.1
 * @version    Release: @package_version@
 * @link       http://pear.php.net/package/Text_Wiki
 */
class Text_Wiki_Render_Xhtml_Table extends Text_Wiki_Render {

    var 
$conf = array(
        
'css_table' => null,
        
'css_caption' => null,
        
'css_tr' => null,
        
'css_th' => null,
        
'css_td' => null
    
);


    
/**
    *
    * Renders a token into text matching the requested format.
    *
    * @access public
    *
    * @param array $options The "options" portion of the token (second
    * element).
    *
    * @return string The text rendered from the token options.
    *
    */

    
function token($options)
    {
        
// make nice variable names (type, attr, span)
        
$span $rowspan 1;
        
extract($options);

        
// free format
        
$format = isset($format) ? ' '$format '';

        
$pad '    ';

        switch (
$type) {

        case 
'table_start':
            
$css $this->formatConf(' class="%s"''css_table');
            return 
"\n\n<table$css$format>\n";
            break;

        case 
'table_end':
            return 
"</table>\n\n";
            break;

        case 
'caption_start':
            
$css $this->formatConf(' class="%s"''css_caption');
            return 
"<caption$css$format>\n";
            break;

        case 
'caption_end':
            return 
"</caption>\n";
            break;

        case 
'row_start':
            
$css $this->formatConf(' class="%s"''css_tr');
            return 
"$pad<tr$css$format>\n";
            break;

        case 
'row_end':
            return 
"$pad</tr>\n";
            break;

        case 
'cell_start':

            
// base html
            
$html $pad $pad;

            
// is this a TH or TD cell?
            
if ($attr == 'header') {
                
// start a header cell
                
$css $this->formatConf(' class="%s"''css_th');
                
$html .= "<th$css";
            } else {
                
// start a normal cell
                
$css $this->formatConf(' class="%s"''css_td');
                
$html .= "<td$css";
            }

            
// add the column span
            
if ($span 1) {
                
$html .= " colspan=\"$span\"";
            }

            
// add the row span
            
if ($rowspan 1) {
                
$html .= " rowspan=\"$rowspan\"";
            }

            
// add alignment
            
if ($attr != 'header' && $attr != '') {
                
$html .= " style=\"text-align: $attr;\"";
            }

            
// done!
            
$html .= "$format>";
            return 
$html;
            break;

        case 
'cell_end':
            if (
$attr == 'header') {
                return 
"</th>\n";
            } else {
                return 
"</td>\n";
            }
            break;

        default:
            return 
'';

        }
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]--