On Sat, 13 Nov 1999, Serge Shikov wrote:
> А что, кто-нибудь пробовал такую вещь, как WebMacro (www.webmacro.org)?
> Идеи-то в общем они излагают весьма здравые.
Чего ж там здравого? Такие же переменные/циклы прямо в шаблонах: :)))
<HTML><HEAD><TITLE>$Customer.Name</TITLE></HEAD><BODY bgcolor='white'>
<h1>$Customer.Name: History<h1>
Here's a list of your orders since $Customer.Orders.StartDate:
<table width='70%'>
<th><td>Order Date</td><td>Item Requested</td><td>Number of Units</td></th>
#foreach $order in $Customer.Orders {
<tr>
<td>$order.Date</td> <td>$order.Item.Name</td>
<td>$order.Number</td> </tr>
}
</table> </body> </html>
Oleg.
----
Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/
Programmers don't die, they just GOSUB without RETURN.
=============================================================================
= Apache-Talk@xxxxxxxxxxxxx mailing list =
Mail "unsubscribe apache-talk" to majordomo@xxxxxxxxxxxxx if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE.
Copyright (C) 1995-2001 The Apache Group. All rights reserved.
Copyright (C) 1996 Dm. Kryukov; Copyright (C)
1997-2009 Alex Tutubalin. Design (C) 1998 Max Smolev.