';
$news=q("SELECT * FROM ok_news WHERE header!=''".($section=="ok"?" AND ok=1":"").($section=="youngok"?" AND youngok=1":"").($section=="opencollection"?" AND opencollection=1":"")." ORDER BY timestamp DESC");
while ($n=mysql_fetch_array($news))
{
$txt=str_replace ('/news/', 'https://www.openklub.ru/news/', transform_text($n['text'],$n['header'],$n['id']));
echo '
';
}
echo '