Error: not well-formed (invalid token) at line 151.
<sapi:choose>
2.
3.
<sapi:when exp="1">
4.
<sapi:for-each select="get_infochannel('_CHANNEL(news_ru)_ _BASEURL(ru/announcements/)_ _LIMIT(0,5)_ _ORDER(INDEX,TITLE,ASC)_')" name="enum">
5.
<sapi:choose>
6.
7.
<sapi:when exp="eq(this.this.LESS.value,false) and lt(area51.value,2)" title="It's an entry in list (Delivery mode)">
8.
<sapi:code>
9.
<div class="date"><sapi:apply name="this.this.DATE.value" /></div>
10.
<div class="news_title"><sapi:apply name="this.this.TITLE.value" /></div>
11.
<div class="content"><sapi:apply name="this.this.RESUME.value" /></div>
12.
<div class="more">
13.
14.
<!-- It's variant of entry link generation including filters MASK (2005/12/23/1024/)-->
15.
<a sapi:href="this.this.MORE.value" title="ïîäðîáíåå">ïîäðîáíåå
16.
<img sapi:src="add('http_path.value', 'usr/templates/images/i_more.gif')" width="10" height="7" alt="ïîäðîáíåå" /></a>
17.
18.
<!--
19.
Alternative link the way for entry selecting which not need availability of mask branch
20.
<a sapi:href="this.this.to_select.value" title="Read more">Read more</a>
21.
-->
22.
23.
</div>
24.
<hr />
25.
</sapi:code>
26.
</sapi:when>
27.
28.
29.
<sapi:when exp="neq(this.this.LESS.value,false) and lt(area51.value,2)" title="It's the chosen entry (Delivery mode)">
30.
<sapi:code>
31.
<div class="date"><sapi:apply name="this.this.DATE.value" /></div>
32.
<div class="news_title"><sapi:apply name="this.this.TITLE.value" /></div>
33.
<div class="content"><sapi:apply name="this.this.TEXT.value" /></div>
34.
<div class="more">
35.
<a sapi:href="this.this.LESS.value" title="âåðíóòüñÿ ê ñïèñêó"><img sapi:src="add('http_path.value', 'usr/templates/images/i_less.gif')" width="10" height="7" alt="âåðíóòüñÿ ê ñïèñêó" /> âåðíóòüñÿ ê ñïèñêó</a>
36.
</div>
37.
<hr />
38.
</sapi:code>
39.
</sapi:when>
40.
41.
42.
43.
44.
<sapi:when exp="neq(this.this.LESS.value,false) and gt(area51.value,1)" title="It's the chosen entry (Administrative mode, editing state)">
45.
<sapi:code>
46.
<div class="date"><sapi:apply name="qc.DATE.value" type="string" title="Date of news" /></div>
47.
<div class="news_title"><sapi:apply name="qc.TITLE.value" type="string" title="Title of news" /></div>
48.
<div class="content"><sapi:apply name="qc.RESUME.value" type="publication" title="Resume of news" /></div>
49.
<div class="content"><sapi:apply name="qc.TEXT.value" type="publication" title="Body of news" /></div>
50.
<div class="more">
51.
<a sapi:href="this.this.LESS.value" title="âåðíóòüñÿ ê ñïèñêó"><img sapi:src="add('http_path.value', 'usr/templates/images/i_less.gif')" width="10" height="7" alt="Back" /> âåðíóòüñÿ ê ñïèñêó</a>
52.
</div>
53.
<hr />
54.
</sapi:code>
55.
</sapi:when>
56.
57.
58.
59.
60.
<sapi:when exp="neq(argv_nav.0.value, 'addentry') and eq(this.this.LESS.value, false) and eq(this.this.MORE.value, false)" title="It's an entry in list, which don't contain link into deep (Delivery mode)">
61.
<sapi:code>
62.
<div class="date"><sapi:apply name="this.this.DATE.value" /></div>
63.
<div class="news_title"><sapi:apply name="this.this.TITLE.value" /></div>
64.
<div class="content"><sapi:apply name="this.this.RESUME.value" /></div>
65.
<hr />
66.
</sapi:code>
67.
</sapi:when>
68.
69.
70.
71.
<sapi:when exp="eq(this.this.LESS.value,false) AND neq(this.this.MORE.value,false) and gt(area51.value,1)" title="It's an entry in list (Administrative mode, editing state)">
72.
<sapi:code>
73.
<div style="float: right;"><a sapi:href="add('document.url.value', 'data/deleteentry/', 'this.this.ID.value', '/')"><img sapi:src="add('http_path.value', 'usr/system/images/delete.gif')" width="12" height="14" alt="Delete"></a></div>
74.
<div class="date"><sapi:apply name="this.this.DATE.value" /></div>
75.
<div class="news_title"><sapi:apply name="this.this.TITLE.value" /></div>
76.
<div class="content"><sapi:apply name="this.this.RESUME.value" /></div>
77.
78.
<div class="more">
79.
<a sapi:href="this.this.MORE.value" title="ïîäðîáíåå">ïîäðîáíåå
80.
<img sapi:src="add('http_path.value', 'usr/templates/images/i_more.gif')" width="10" height="7" alt="ïîäðîáíåå" /></a>
81.
</div>
82.
<hr />
83.
</sapi:code>
84.
</sapi:when>
85.
86.
</sapi:choose>
87.
</sapi:for-each>
88.
</sapi:when>
89.
90.
<sapi:when exp="area51.value==2 and eq(page.MASK.value, '')" title="It's representation of button ADD NEW ENTRY (Administrative mode, viewing state)">
91.
<sapi:code>
92.
93.
<input class="sapidcms_cont_btn" type="button" name="addentry" onclick="return location.href='&document.url.value;data/addentry/news/';" value=" äîáàâèòü àíîíñ " />
94.
<sapi:apply name="news_new_record.value" />
95.
</sapi:code>
96.
</sapi:when>
97.
98.
<sapi:when exp="eq(argv_nav.0.value, 'addentry') and eq(argv_nav.1.value, 'news') and gt(area51.value,1)" title="It's the chosen entry for editing/addming (Administrative mode, editing state)">
99.
<sapi:code>
100.
<div class="date"><sapi:apply name="qc.DATE.value" type="date" index="yes" title="Date of news" /></div>
101.
<div class="news_title"><sapi:apply name="qc.TITLE.value" type="string" index="yes" title="Title of news" /></div>
102.
<div class="content"><sapi:apply name="qc.RESUME.value" type="publication" title="Resume of news" /></div>
103.
<div class="content"><sapi:apply name="qc.TEXT.value" type="publication" title="Body of news" /></div>
104.
<div class="more">
105.
<a sapi:href="document.url.value" title="âåðíóòüñÿ ê ñïèñêó"><img sapi:src="add('http_path.value', 'usr/templates/images/i_less.gif')" width="10" height="7" alt="âåðíóòüñÿ ê ñïèñêó" /> âåðíóòüñÿ ê ñïèñêó</a>
106.
</div>
107.
108.
<hr />
109.
</sapi:code>
110.
</sapi:when>
111.
112.
113.
<sapi:when exp="neq(argv_nav.0.value, 'addentry')" title="Show page navigation if it is necessary">
114.
<sapi:code>
115.
<div style="float: left; padding: 10px 22px; display: <sapi:apply name="this.navigation.previous.style.display.value" />"><a sapi:href="this.navigation.previous.href"><< ïðåäûäóùèå 10</a></div>
116.
<div style="padding: 10px 22px; display: <sapi:apply name="this.navigation.next.style.display.value" />"><a sapi:href="this.navigation.next.href">ñëåäóþùèå 10 >></a></div>
117.
</sapi:code>
118.
</sapi:when>
119.
120.
121.
122.
</sapi:choose>