^macro_use[href.cfg] ^macro[header;ЛИterra] ^macro[menu;1]

Новости

^level[none; ^server[trush:andrew@localhost/literra; ^ifdef[^query[]; ^context[news; ^sql[select * from news where id=^query[]] ^context[datar; ^lsplit[^item[news;Data];-] ]

^item[datar;2].^item[datar;1].^item[datar;0] ^item[Title] ^context[dop; ^sql[select * from news_dop where id_news=^query[]] ^ifdef[^item[id];

^item[Name] ] ]

^item[Text]

^item[Author]
^ifdef[^item[image1]; ^item[alt1]
^item[alt1] ] ^ifdef[^item[image2];
^item[alt2]
^item[alt2] ] ^ifdef[^item[image3];

^item[alt3] ] ] ] ] ] ^macro[footer]