^macro_use[href.cfg] ^level[none; ^server[trush:andrew@localhost/literra; ^ifdef[^query[]; ^context[razd; ^sql[select Name from Chapter where id=^query[]] ^macro[header;Л.И. Боровиков: ^item[Name]] ] ^macro[menu;3] ^context[men; ^sql[select x.id_Author as idd, x.Name as nam, x.id as idd1, y.Name as nam1 from Book x, Chapter_old y where y.id=^query[] and x.id=y.id_Book]
Статьи •• ^item[nam] ••  ^item[nam1]
] ^context[razd; ^sql[select * from Chapter_old where id=^query[]] ^var[year;^left[^item[Today];4]] ^var[month;^mid[^item[Today];5;2]] ^var[day;^mid[^item[Today];8;2]]

^item[Name]

^context[illusr; ^sql[select * from Illustration_main_old where who=2 and id_Article=^query[]] ^ifdef[^item[id];

^menu[^item[Name]
] ] ] ^context[pic; ^sql[select * from Illustration_main_old where who=2 and Id_Article=^query[]] ^ifdef[^item[id]; ] ]
^item[Text] ^context[pic1; ^sql[select * from Illustration_old where id_Illustration_main=^item[pic;id] limit 0,8] ^menu[


] ]

^context[illusr2; ^sql[select * from Illustration_main_old where who=2 and id_Article=^query[]] ^ifdef[^item[id];

^menu[^item[Name]
] ] ] ^context[com; ^sql[select * from Comments where id_Article=^query[] and Who=2]

^menu[ ^item[Name]
] ] ; ^macro[header; не выбрана статья!] ^macro[menu;3]

Статьи

не выбрана статья! ] ] ] ] ^macro[footer]