^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] ^context[razd; ^sql[select id, Name from Book where id=^query[]] ^macro[header;Мотовилова Г.М.: ^item[Name]] ^macro[menu;3] ] ^context[men; ^sql[select * from Book where id=^query[]]
Мои друзья •• ^item[Name]
]

^item[men;Name]

^context[about; ^sql[select * from Chapter_old where id_Book=^query[] and Who=0 order by id]
    ^menu[
]
^eq[^item[Url];0; ^ifdef[^item[Text];
  • ^item[Name] ;
  • ^item[Name] ] ^eq[^item[id];139;    видео]
  • ^item[Description] ]
    ] ^context[article; ^sql[select * from Chapter_old where id_Book=^query[] and Who=1 order by id] ^menu[ ] ] ] ] ; ]
    ^eq[^item[Url];0; ^context[podchap; ^sql[select id, Name from Point_old where id_Chapter=^item[article;id]] ^ifdef[^item[id];

    ^item[article;Name]
    ^item[razd1;Description]

    ; ^item[article;Name]
    ^context[photo; ^sql[select Photo_Short as pho from Book where id=^query[]] ^ifdef[^item[pho];] ]
    ^context[first_ill; ^sql[select * from Chapter_old where id_Book=^query[] order by id] ^menu[ ^context[chapter_ill; ^sql[select * from Illustration_main where Who=2 and id_Article=^item[first_ill;id]] ^menu[ ^ifdef[^item[id];Иллюстрации к статье "^item[first_ill;Name]"
    ] ] ] ^context[second_ill; ^sql[select * from Point_old where id_chapter=^item[first_ill;id]] ^menu[ ^context[point_ill; ^sql[select * from Illustration_main where Who=4 and id_Article=^item[second_ill;id]] ^menu[ ^ifdef[^item[id];Иллюстрации к статье "^item[second_ill;Name]"
    ] ] ] ] ] ] ]

     

    ] ] ] ^macro[footer]