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
setQuery($query); $result = $db->loadObjectList(); $i=1; foreach ( $result as $row ) { $date = $row->created; str_split($date); $date1 = $date[8].$date[9].".".$date[5].$date[6].".".$date[2].$date[3]; //echo "$date1 |\n"; if ($link == 1){ if($config->getValue('sef')==1){ if($row->sectionid == 1){echo "id\">$date1 |\n$row->title\n

";} else{echo "id\">$date1 |\n$row->title\n

";} } else{ echo "catid&id=$row->id&view=article&Itemid=2\">$date1 |\n$row->title\n

"; } } else {echo "$row->title\n";} $i++; if($i > $previewCount){break;} } echo "
Все анонсы
"; if($config->getValue('newsystem')==1){*/ $query = "SELECT * FROM #__articles ORDER BY date DESC;"; $db->setQuery($query); $result = $db->loadObjectList(); $i=1; echo ""; foreach ( $result as $row ) { $date = $row->date; $date = $date[8].$date[9].".".$date[5].$date[6].".".$date[2].$date[3]; //echo "$date1 |\n"; if ($link == 1){ if($config->getValue('sef')==1){ if($row->type == "bp"){echo "id\">$date |\n$row->title\n

";} else{echo "id\">$date |\n$row->title\n

";} } else{ echo "id&view=article&Itemid=2\">$date1 |\n$row->title\n

"; } } else {echo "$row->title\n";} $i++; if($i > $previewCount){break;} } echo "
Все анонсы
"; echo "
"; //} } } ?>