лякаю говнокод

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[+phx:if=`[*id*]`:is=`2`:then=`<span class="active">ОБОРУДОВАНИЕ</span>`:else=`
[+phx:if=`[[UltimateParent]]`:is=`2`:then=`<a href="{{url}}equipment.html" class="active">ОБОРУДОВАНИЕ</a>`:else=`
<a href="{{url}}equipment.html">ОБОРУДОВАНИЕ</a>
`+]
`+]<br />
[+phx:if=`[*id*]`:is=`32`:then=`<span class="active">ОСНАСТКА</span>`:else=`
[+phx:if=`[[UltimateParent]]`:is=`32`:then=`<a href="{{url}}accessory.html" class="active">ОСНАСТКА</a>`:else=`
<a href="{{url}}accessory.html">ОСНАСТКА</a>
`+]
`+]<br />
[+phx:if=`[*id*]`:is=`46`:then=`<span class="active">ТЕХНОЛОГИИ</span>`:else=`
[+phx:if=`[[UltimateParent]]`:is=`46`:then=`<a href="{{url}}tech.html" class="active">ТЕХНОЛОГИИ</a>`:else=`
<a href="{{url}}tech.html">ТЕХНОЛОГИИ</a>
`+]
`+]<br />
[+phx:if=`[*id*]`:is=`57`:then=`<span class="active">РАССЫЛКА</span>`:else=`
[+phx:if=`[[UltimateParent]]`:is=`57`:then=`<a href="[~57~]" class="active">РАССЫЛКА</a>`:else=`
<a href="[~57~]">РАССЫЛКА</a>
`+]
`+]<br />
[+phx:if=`[*id*]`:is=`5`:then=`<span class="active">О НАС</span>`:else=`
[+phx:if=`[[UltimateParent]]`:is=`5`:then=`<a href="{{url}}about.html" class="active">О НАС</a>`:else=`
<a href="{{url}}about.html">О НАС</a>
`+]
`+]<br />
[+phx:if=`[*id*]`:is=`4`:then=`<span class="active">КОНТАКТЫ</span>`:else=`
[+phx:if=`[[UltimateParent]]`:is=`4`:then=`<a href="{{url}}contacts.html" class="active">КОНТАКТЫ</a>`:else=`
<a href="{{url}}contacts.html">КОНТАКТЫ</a>
`+]
`+]<br />