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 ){ $date1 = substr($row->introtext,strpos($row->introtext,"Дата выхода")+33, 10); $query = "UPDATE #__content SET created='$date1' WHERE id='$row->id'"; $db->setQuery($query); }*/ /* $query = "SELECT title, id, sectionid FROM #__content WHERE sectionid = 1 OR sectionid = 4 ORDER BY hits DESC;"; $db->setQuery($query); $result = $db->loadObjectList(); $i=1; $style=""; echo ""; foreach ( $result as $row ) { if($i==1){$style=" style=\"color:#70B519; font-weight:bold; font-size:11px;\"";} if(($i==2)||($i==3)){$style=" style=\"color:#70B519; font-weight:bold; font-size:11px;\"";} if($i>3){$style=" style=\"color:#111111; font-size:11px;\"";} echo "

"; if($row->sectionid == 1){echo "id\">$i. $row->title\n
";} else{echo "id\">$i. $row->title\n
";} echo "

"; $i++; if($i > $mosthitsCount){break;} } if($config->getValue('newsystem')==1){*/ $query = "SELECT #__articles.id as id,#__articles.title as title FROM #__articles left join #__content on #__articles.id=#__content.id where #__articles.date>DATE_SUB(CURDATE(), INTERVAL 31 DAY) ORDER BY #__content.hits DESC;"; $db->setQuery($query); $result = $db->loadObjectList(); $i=1; $style=""; echo ""; foreach ( $result as $row ) { if($i==1){$style=" style=\"color:#70B519; font-weight:bold; font-size:11px;\"";} if(($i==2)||($i==3)){$style=" style=\"color:#70B519; font-weight:bold; font-size:11px;\"";} if($i>3){$style=" style=\"color:#111111; font-size:11px;\"";} echo "

"; if($row->type == "bp"){echo "id\">$i. $row->title\n
";} else{echo "id\">$i. $row->title\n
";} echo "

"; $i++; if($i > $mosthitsCount){break;} } //} } } ?>