uawdijnntqw1x1x1
IP : 216.73.216.155
Hostname : vm5018.vps.agava.net
Kernel : Linux vm5018.vps.agava.net 3.10.0-1127.8.2.vz7.151.14 #1 SMP Tue Jun 9 12:58:54 MSK 2020 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
var
/
www
/
iplanru
/
data
/
.
/
mod-tmp
/
..
/
www
/
.
/
i-plan.ru
/
libraries
/
..
/
.
/
modules
/
mod_canonical
/
helper.php
/
/
<?php // No direct access defined( '_JEXEC' ) or die; /** * Class Module Helper * @author */ class modCanonicalHelper { /** * getData method * @param $params * @return array */ static function getItems( $cat ) { $db = JFactory::getDbo(); $m=array(); $list = $db->setQuery(' SELECT id, name, elements FROM jos_zoo_item where type="product" and instr(elements, "\"'.$cat.'\"")<>0')->loadAssocList(); foreach($list as $item) { $c=json_decode($item['elements'],true); if ($c['590dc7f6-a0d8-4062-810a-92d118568f5e']['category']['0']==$cat) { $m[$item['id']]=$item['name']; } } return $m; } }
/var/www/iplanru/data/./mod-tmp/../www/./i-plan.ru/libraries/.././modules/mod_canonical/helper.php