[% PROCESS 'common.shtml' %] [% WRAPPER 'wrapper_s1.shtml' %] [% #board.execute('view_advert'); %]
РАСШИРЕННЫЙ ПОИСК
[% regions = [ [ 26 '297,140, 348,140, 348,159, 322,159, 309,165, 297,165' 'Измайлово' ] [ 27 '223,92, 257,122, 267,133, 265,141, 267,149, 268,156, 265,160, 265,168, 249,159, 245,155, 243,150, 236,149, 226,136, 209,134, 208,132, 218,98' 'Сокольники' ] [ 34 '4,160, 7,161, 26,190, 42,215, 44,221, 44,234, 31,236, 19,234, 12,232, 5,232, 3,229, 2,198' 'Кунцево' ] [ 35 '84,296, 104,314, 104,316, 75,346, 69,342, 64,332, 60,320, 60,318, 70,307, 81,296' 'Проспект Вернадского' ] [ 31 '19,92, 33,100, 36,104, 39,110, 43,113, 49,115, 55,116, 54,130, 53,138, 53,155, 47,158, 41,161, 14,161, 6,157, 8,139, 12,120, 16,102' 'Строгино' ] [ 32 '53,115, 65,114, 82,114, 85,118, 89,125, 89,128, 78,138, 76,141, 71,140, 66,139, 59,138, 53,137, 53,123, 54,118' 'Щукино' ] [ 14 '236,169, 266,169, 271,179, 266,192, 262,204, 257,209, 256,213, 258,221, 253,226, 248,226, 243,223, 226,224, 216,213, 207,216, 194,219, 184,207, 196,192, 206,192, 224,180, 238,180' 'Басманный округ' ] [ 15 '195,220, 210,223, 217,228, 225,245, 228,257, 209,271, 193,274' 'Замоскворечье' ] [ 16 '208,133, 226,134, 237,149, 243,150, 252,159, 261,166, 261,170, 238,171, 241,182, 226,182, 209,192, 195,194, 206,173' 'Красносельский округ' ] [ 17 '183,126, 210,132, 207,174, 196,195, 184,209, 177,200, 181,194, 187,194, 186,190, 186,175, 188,173, 188,154, 183,152, 183,141' 'Мещанский округ' ] [ 18 '155,231, 165,238, 158,263, 155,263, 141,255, 134,246' 'Остоженка ' ] [ 19 '136,153, 161,178, 168,187, 178,197, 178,201, 172,206, 156,199, 146,199, 134,194, 130,207, 120,204, 114,200, 96,210, 92,210, 92,205, 96,196, 96,183, 97,176, 103,166, 106,163, 129,158' 'Пресненский округ' ] [ 20 '195,219, 215,210, 228,222, 246,222, 250,224, 257,220, 264,224, 249,258, 232,269, 226,257, 221,238, 213,227, 199,223' 'Таганский округ' ] [ 22 '154,210, 157,215, 169,219, 174,225, 169,230, 165,239, 155,234, 137,246, 156,263, 149,278, 138,288, 129,292, 104,287, 98,278, 98,264, 115,235, 119,219, 129,221' 'Хамовники' ] [ 23 '196,220, 196,265, 194,273, 167,290, 156,262, 159,252, 167,229, 177,222, 189,279' 'Якиманка' ] [ 21 '183,126, 183,139, 185,140, 185,150, 189,152, 189,175, 186,178, 186,187, 188,189, 188,194, 182,196, 177,200, 135,153, 155,127' 'Тверской округ' ] [ 13 '131,191, 146,197, 156,196, 174,204, 170,220, 164,220, 154,216, 154,213, 130,223, 119,220, 118,207, 117,201, 129,205' 'Арбат' ] [ 37 '123,332, 134,342, 168,357, 168,360, 157,386, 150,386, 131,381, 115,372, 114,352, 115,347, 112,343, 122,332' 'Черемушки' ] [ 38 '142,288, 152,299, 123,333, 113,343, 116,346, 115,352, 115,370, 101,370, 90,386, 72,377, 69,377, 69,352, 90,330, 100,319, 107,310, 118,294, 130,292, 136,290, 139,288' 'Ленинский проспект' ] [ 25 '' 'ВАО' ] [ 33 '' 'ЗАО' ] [ 29 '' 'САО' ] [ 28 '' 'СВАО' ] [ 30 '' 'СЗАО' ] [ 12 '' 'ЦАО' ] [ 24 '' 'ЮАО' ] [ 36 '' 'ЮЗАО' ] ] %] [% USE FillInForm %] [% FILTER fillinform fdat => tt_board.formdata %] [% END # FILTER fillinform %]
выделите интересующие вас районы   выберите интересующие вас параметры выберите район
[% FOREACH region = regions %] [% END %]
[% FOREACH region = regions %] [% region.2 %] [% END %]

выделите интересующие вас районы
 этаж
кроме[% FOREACH s = tt_board.headings('floor') %] [% s.name %] [% END %]
[% MACRO mytree BLOCK %] [% IF node.parent == 0 %][% END %][% node.name %][% IF node.parent == 0 %][% END %]
[% FOREACH child IN node.children; '
'; mytree(depth=depth+1,node=child, parent=node); '
'; END; %] [% END # Macro %] [% FOREACH tr = tt_board.headings('region'); mytree(depth=0,node=tr) IF tr.parent == 0; END; %]

 Дополнительные параметры
[% n = 0 %] [% FOREACH s = tt_board.headings('extra_params') %] [% IF n == 5 %][% END %] [% s.name %]
[% n = n + 1 %][% END %]
[% USE obj = Content( list => params.list, from_rub => 'text') %] [% obj.list.0.text %]
[% END %]