!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)

E:\xampp\xampp\php\PEAR\Zend\View\Helper\   drwxrwxrwx
Free 7.25 GB of 239.26 GB (3.03%)
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:     FormRadio.php (5.83 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Zend Framework
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://framework.zend.com/license/new-bsd
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@zend.com so we can send you a copy immediately.
 *
 * @category   Zend
 * @package    Zend_View
 * @subpackage Helper
 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 * @version    $Id: FormRadio.php 16541 2009-07-07 06:59:03Z bkarwin $
 */


/**
 * Abstract class for extension
 */
require_once 'Zend/View/Helper/FormElement.php';


/**
 * Helper to generate a set of radio button elements
 *
 * @category   Zend
 * @package    Zend_View
 * @subpackage Helper
 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 */
class Zend_View_Helper_FormRadio extends Zend_View_Helper_FormElement
{
    
/**
     * Input type to use
     * @var string
     */
    
protected $_inputType 'radio';

    
/**
     * Whether or not this element represents an array collection by default
     * @var bool
     */
    
protected $_isArray false;

    
/**
     * Generates a set of radio button elements.
     *
     * @access public
     *
     * @param string|array $name If a string, the element name.  If an
     * array, all other parameters are ignored, and the array elements
     * are extracted in place of added parameters.
     *
     * @param mixed $value The radio value to mark as 'checked'.
     *
     * @param array $options An array of key-value pairs where the array
     * key is the radio value, and the array value is the radio text.
     *
     * @param array|string $attribs Attributes added to each radio.
     *
     * @return string The radio buttons XHTML.
     */
    
public function formRadio($name$value null$attribs null,
        
$options null$listsep "<br />\n")
    {

        
$info $this->_getInfo($name$value$attribs$options$listsep);
        
extract($info); // name, value, attribs, options, listsep, disable

        // retrieve attributes for labels (prefixed with 'label_' or 'label')
        
$label_attribs = array();
        foreach (
$attribs as $key => $val) {
            
$tmp    false;
            
$keyLen strlen($key);
            if ((
$keyLen) && (substr($key06) == 'label_')) {
                
$tmp substr($key6);
            } elseif ((
$keyLen) && (substr($key05) == 'label')) {
                
$tmp substr($key5);
            }

            if (
$tmp) {
                
// make sure first char is lowercase
                
$tmp[0] = strtolower($tmp[0]);
                
$label_attribs[$tmp] = $val;
                unset(
$attribs[$key]);
            }
        }

        
$labelPlacement 'append';
        foreach (
$label_attribs as $key => $val) {
            switch (
strtolower($key)) {
                case 
'placement':
                    unset(
$label_attribs[$key]);
                    
$val strtolower($val);
                    if (
in_array($val, array('prepend''append'))) {
                        
$labelPlacement $val;
                    }
                    break;
            }
        }

        
// the radio button values and labels
        
$options = (array) $options;

        
// build the element
        
$xhtml '';
        
$list  = array();

        
// should the name affect an array collection?
        
$name $this->view->escape($name);
        if (
$this->_isArray && ('[]' != substr($name, -2))) {
            
$name .= '[]';
        }

        
// ensure value is an array to allow matching multiple times
        
$value = (array) $value;

        
// XHTML or HTML end tag?
        
$endTag ' />';
        if ((
$this->view instanceof Zend_View_Abstract) && !$this->view->doctype()->isXhtml()) {
            
$endTag'>';
        }

        
// add radio buttons to the list.
        
require_once 'Zend/Filter/Alnum.php';
        
$filter = new Zend_Filter_Alnum();
        foreach (
$options as $opt_value => $opt_label) {

            
// Should the label be escaped?
            
if ($escape) {
                
$opt_label $this->view->escape($opt_label);
            }

            
// is it disabled?
            
$disabled '';
            if (
true === $disable) {
                
$disabled ' disabled="disabled"';
            } elseif (
is_array($disable) && in_array($opt_value$disable)) {
                
$disabled ' disabled="disabled"';
            }

            
// is it checked?
            
$checked '';
            if (
in_array($opt_value$value)) {
                
$checked ' checked="checked"';
            }

            
// generate ID
            
$optId $id '-' $filter->filter($opt_value);

            
// Wrap the radios in labels
            
$radio '<label'
                    
$this->_htmlAttribs($label_attribs) . ' for="' $optId '">'
                    
. (('prepend' == $labelPlacement) ? $opt_label '')
                    . 
'<input type="' $this->_inputType '"'
                    
' name="' $name '"'
                    
' id="' $optId '"'
                    
' value="' $this->view->escape($opt_value) . '"'
                    
$checked
                    
$disabled
                    
$this->_htmlAttribs($attribs)
                    . 
$endTag
                    
. (('append' == $labelPlacement) ? $opt_label '')
                    . 
'</label>';

            
// add to the array of radio buttons
            
$list[] = $radio;
        }

        
// done!
        
$xhtml .= implode($listsep$list);

        return 
$xhtml;
    }
}

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