Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
input; $matid=$jinput->get( 'item_id', 0, 'INT' ); $Itemid=$jinput->get( 'Itemid', 0, 'INT' ); $list = $db->setQuery(" SELECT c.* FROM jos_zoo_item i, jos_zoo_category_item ci, jos_zoo_category c WHERE i.id=ci.item_id and ci.category_id=c.id and c.published=1 and i.state=1 and i.id={$matid}")->loadAssocList(); if (count($list)<>0) { foreach($list as $item) { $m[]="{$item['name']}"; } } return implode(", ",$m);*/ $db =&JFactory::getDBO(); $jinput = JFactory::getApplication()->input; $Itemid=$jinput->getInt( 'Itemid', 0 ); if ($Itemid<>117 and $Itemid<>108 and $Itemid<>109) $Itemid=117; $matid=$jinput->get( 'item_id', 0, 'INT' ); if ($matid) { $params = $db->setQuery('SELECT params FROM jos_zoo_item where id='.$matid)->loadAssoc(); $a=json_decode($params['params'],true); $category_id=$a['config.primary_category']; } if ($category_id) { $n=array(); $i=$category_id; do { $list = $db->setQuery('SELECT id,name,parent FROM #__zoo_category where id='.$i)->loadAssoc(); if ($list['id']<>'') { $n[]=array('id'=>$list['id'],'name'=>$list['name']); $i=$list['parent']; } } while ($list['parent']<>"0" and $list['parent']<>"2376"); $n=array_reverse($n, TRUE); foreach( $n as $item) { $m[]= "
  • {$item['name']}
  • "; } } return implode("\r\n",$m); } }