^macro_use[href.cfg] ^level[none; ^server[trush:andrew@localhost/literra; ^ifdef[^query[]; ^var[today;^date[%Y.%m.%d]] ^loadtimestamp[] ^dateoffset[;;-7] ^var[mbnew;^item[year]^item[month]^item[day]000000] ^eq[^query[];0; ^context[all; ^sql[select y.Today as tod, y.Name as nam, y.id as idd, y.Description as des from Book x, Chapter_old y where x.id_Author=1 and y.id_Book=x.id order by y.id desc] ^macro[header;Боровиков Л.И.: Все статьи] ^macro[menu;3]

Статьи

; ^context[menu; ^sql[select Name from Book where id=^query[]] ^macro[header;Боровиков Л.И.: ^item[Name]] ^macro[menu;3] ] ^context[menu1; ^sql[select * from Book where id=^query[]]
Статьи •• ^item[Name]
]

Статьи

^context[book; ^sql[select Name from Book where id=^query[]]
^item[Name]
] ^context[razd1; ^sql[select * from Chapter_old where id_Book=^query[] order by id] ] ; ] ] ] ^macro[footer]