^server[trush:andrew@localhost/image2; ^level[none; ^ifdef[^query[]; ^context[quer; ^lsplit[^query[];&] ] ^context[name; ^sql[select * from Illustration_name where id=^item[quer;0]] ] Имидж: ^item[name;Name] ^eq[^item[name;id_Article_point];0; ^context[up; ^sql[select x.id as xid, x.Name as xnam, y.Name_for_menu as ynam, y.Number as ynum, y.id_Menu_Point as ymenu from Menu_point x, Article y where y.id=^item[name;id_Article] and x.id=y.id_Menu_Point] ]

Имидж №7 ^item[up;xnam]

^item[up;ynam]

^item[name;Name]

; ^context[up; ^sql[select x.id as xid, x.Name as xnam, y.Name_for_menu as ynam, z.Name as znam, y.id as yid from Menu_point x, Article y, Article_point z where z.id=^item[name;id_Article_point] and y.id=z.id_Article and x.id=y.id_Menu_Point] ]

Имидж №7 ^item[up;xnam]

^item[up;ynam]

^item[up;znam]

^item[name;Name]

] ^var[blok;8] ^ifdef[^item[name;Description]; ] ^context[photos; ^sql[select count(*) as kol from Illustration where id_name=^item[quer;0]] ^var[vsego;^item[kol]] ^rem[Менюха с постраничностью] ^var[allpages;^eval[(^var[vsego]-1)/blok]] ^cmp[^var[vsego];^var[blok]; ; ;^var[allpages;+;1]] ^var[first;^eval[^item[quer;1]*blok-blok]] ^cmp[^item[kol];^eval[^item[quer;1]*blok]; ^var[last;^eval[^item[kol]-1]]; ^var[last;^eval[^item[kol]-1]]; ^var[last;^eval[^item[quer;1]*blok-1]] ] ] ^context[photos1; ^sql[select * from Illustration where id_name=^item[quer;0]] ^shift[^var[first]] ^var[lefft;0] ^for[i;^var[first];^var[last]; ^switch[^var[lefft]; ^case[0; ^var[lefft;1] ] ^case[1; ^var[lefft;0] ] ] ^shift[+1] ]
^item[name;Description]
^for[i;1;allpages; ^cmp[^var[i];^var[allpages]; [ ^eval[i*blok-blok+1]-^eval[i*blok] ]; [ ^eval[allpages*blok-blok+1]-^var[vsego] ]; [ ^eval[i*blok-blok+1]-^eval[i*blok] ] ] ]

 

^menu[ ] ^menu[ ] ] ] ^context[pic; ^sql[select * from Illustration_name where id_Article_point=^item[name;id_Article_point]] ^ifdef[^item[id]; ^menu[ ] ] ] ^ifdef[^item[pod1;id];
^eq[^item[name;id_Article_point];0; ^context[test; ^sql[select * from Article_point where id_Article=^item[name;id_Article] and not_Display=0 order by id] ] ^ifdef[^item[test;id]; ^context[menu_right; ^sql[select * from Article_point where id_Article=^item[name;id_Article] and not_Display=0 order by id] ^menu[

^item[Name] ] ] ^context[pic; ^sql[select * from Illustration_name where id_Article=^item[name;id_Article]] ^menu[ ^eq[^item[id];^item[quer;0];

^item[Name];

^item[Name] ] ] ] ; ^context[art; ^sql[select * from Article where Number=^item[up;ynum] and id_Menu_Point=^item[up;ymenu] and not_Display=0 order by id] ^menu[ ^eq[^item[id];^item[name;id_Article];


 

] ] ; ^ifdef[^item[Url];


 

; ^ifdef[^item[pic;id];

 

] ] ;

ola@nsk.fio.ru

Гостевая книга

] ; В данном виде эта страница не может быть отображена ] ] ]

ИМиДЖ