getPostedDate()); $url='http://www.day.az/news/'.$browseCategories[$news->getCategoryId()]->getAlias().'/'.$news->getId().'.html'; if ($d) { $description=str_replace("\r\n", " ", $news->getDescription()); } else { $desription=""; } //$news_title = iconv('windows-1251', 'UTF-8', $news->getTitle()); //echo "m_index[m_index.length]=new f('".$news_title."','".$url."','".$date."','".$description."');\n\n"; echo "m_index[m_index.length]=new f('".$news->getTitle()."','".$url."','".$date."','".$description."');\n\n"; } //$file = fopen("/home/dayaz/tmp/export.log", "a+"); //fputs($file, getenv("HTTP_REFERER")."\n"); //fclose($file); ?>