@Greeting[] @Body_Main[] ^connect[$connect_string]{ $news[^table::sql{select id, DATE_FORMAT(date, '%d.%m.%Y') as date, title, body from news order by DATE_FORMAT(date, '%y.%m.%d') desc limit 5}] ^if(def $news){

Новости клуба

^news.menu{ }
$news.date :: $news.title
} $events[^table::sql{select id, DATE_FORMAT(date, '%d.%m.%Y') as date, title from events order by DATE_FORMAT(date, '%y.%m.%d') desc limit 5}] ^if(def $events){

События

^events.menu{ }
$events.date :: $events.title
} }