Урок 2 помогите пожалуйста
FifaArt 08.12.2003 22:16
Значит делаю я так как написано в уроке №2.
В auto.p пишу:
@main[]
^header[]
^body[]
^footer[]
@navigation[]
$sections[^table::load[/sections.cfg]]
<table width="100%" border="0" bgcolor="#000000" cellspacing="1">
<tr bgcolor="#FFFFFF">
^sections.menu{
^navigation_cell[]
}
</tr>
</table>
<br>
@navigation_cell[]
$cell_width[^eval(100\$sections)%]
^if($sections.uri eq $request:uri){
<td width="$cell_width" align="middle" bgcolor="#A2D0F2">
<nobr>$sections.name</nobr>
</td>
}{
<td width="$cell_width" align="middle">
<a href="$sections.uri"><nobr>$sections.name</nobr></a>
</td>
}
@footer[]
<table width="100%" border="0" bgcolor="#000000" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
$now[^date::now[]]
<font size="-3">
<center>Powered by Parser3<br>1997-$now.year</center>
</font>
</body>
</html>
@header[]
<html>
<head>
<title>Parser3 test site</title>
</head>
<body bgcolor="#FAEBD7">
<table width="100%" border="0" bgcolor="#000000" cellspacing="1">
<tr bgcolor="#FFFFFF" height="60">
<td align="middle">
<font size="+2"> <b>^greeting[]</b></font>
</td>
</tr>
</table>
<br>
@body[]
^navigation[]
<table width="100%" height="65%" border="0" bgcolor="#000000" cellspacing="1">
<tr bgcolor="#ffffff" height="100%">
<td width="30%" valign="top" bgcolor="#EFEFEF">
<b>^body_additional[]</b>
</td>
<td width="70%" valign="top">
^body_main[]
</td>
</tr>
</table>
<br>
в index.html пишу:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
^navigation[]
@greeting[]
Welcome!
@body_additional[]
Home page
@body_main[]
Main content
Welcome!
</body>
</html>
вызываю index.html и пишет вот такую ошибку:
Unhandled Exception
The server encountered an unhandled exception and was unable to complete your request.
Please contact the server administrator, webmaster@rusleague.ru and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the Parser error log or in debug version of unhandled_exception.
Что я неправильно делаю???
- Урок 2 помогите пожалуйста, FifaArt 08.12.2003 22:16