'menu|' column not found
Demolution 17.12.2003 13:16
[Wed Dec 17 13:06:08 2003] /souz/: /bhome/part2/02/demolution/www/souz/auto.p(6:11): 'menu|' column not found [parser.runtime]
auto.p
@links_cell[]
$sections[^table::load[/sections.cfg]]
^sections.menu
{
$uri[/souz$sections.uri]
^if($uri eq $request:uri)
{
$bgcolor[$sections.color]
<TABLE id="logo" WIDTH="100%" ALIGN="Center" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TBODY>
<TR>
<TD WIDTH="100%" HEIGHT="60px" BGCOLOR="$sections.color">
<img title="Союз-А" vspace="0" hspase="0" src="$sections.logo" height="60" width="250" alt="" border="0">
</td>
</tr>
</tbody>
</table>
}
}
<TABLE id="Links" WIDTH="100%" ALIGN="Center" BORDER="0" CELLSPACING="5" CELLPADDING="3"
style="color: #FFFFFF^; font-family: Tahoma">
<TBODY>
<TR>
<nobr>
^sections.menu{
$cell_width[^eval(100\$sections)%]
$uri[/souz$sections.uri]
^if($uri eq $request:uri)
{
<TD ALIGN="middle" WIDTH="$cell_width" BGCOLOR="$sections.color">
<b>$sections.name</b></TD>
}{
<TD ALIGN="middle" WIDTH="$cell_width" BGCOLOR="$sections.color">
<b><a STYLE="COLOR: #FFFFFF^; TEXT-DECORATION: none" target="_top"
HREF="$sections.uri">$sections.name</a></b></td>
}
}
</nobr>
</TR>
</TBODY>
</TABLE>
sections.cfg
section_id name uri color logo
1 Главная / #FF0000 logored.gif
2 Объекты /object/ #4676CC logoblue.gif
3 Документы /docs/ #15938D logoseawave.gif
4 Объявления /desk/ #763BEA logoviolet.gif
5 Новости /news/ #0EAF1E logogreen.gif
6 Ссылки /links/ #FF7300 logoorange.gif
7 Пользователи /users/ #8AAF04 logosalat.gif
8 О компании /about/ #9B072A logobordo.gif
index.html
<BODY>
^links_cell[]
</BODY>
Где ошибка? Вроде все column на месте
- 'menu|' column not found, Demolution 17.12.2003 13:16