^macro_use[href.cfg] ^macro[header;ЛИterra-Филармония Театр Кино Телевидение] ^macro[menu;8] ^level[none; ^server[trush:andrew@localhost/literra; ^ifdef[^query[]; ^context[quer; ^lsplit[^query[];&] ] ^eq[^item[quer;0];1; ^context[theatre; ^sql[select x.Name as nam from Theatre_main x, Theatre_Page y where y.id=^item[quer;1] and x.id=y.id_Theatre]

^item[nam]

] ^context[rep; ^sql[select * from Theatre_Page where id=^item[quer;1]]

^item[Name]

^item[Text] ] ^macro[menu_right;^item[rep;id_Theatre];^item[quer;0]] ; ^context[theatre; ^sql[select Name from Theatre_main where id=^item[quer;1]]

^item[Name]

] ^eq[^item[quer;2];1; ^context[kol; ^sql[select count(*) as kol from Theatre_Page where id_Theatre=^item[quer;1] and Repertuar=0] ] ^context[article; ^sql[select id, Name from Theatre_Page where id_Theatre=^item[quer;1] and Repertuar=0 order by id desc limit 0, 5] ^if[^item[kol;kol]>6;

Остальные статьи ] ] ;

] ^macro[menu_right;^item[quer;1]] ] ; К сожалению, в данном виде эта страница не может быть отражена ] ] ] ^macro[footer]