--- parser3/www/htdocs/Attic/index.html 2002/06/18 09:51:59 1.67 +++ parser3/www/htdocs/Attic/index.html 2002/06/20 14:50:24 1.71 @@ -1,6 +1,9 @@ #@USE #t.p +@auto[a] +^throw[user;$a] + @autoZ[] #$form:here $request:charset[windows-1251] @@ -11,7 +14,14 @@ $response:content-type[$.value[text/html #$body #$result[123] +@f[a;b] + @main[] +$a(123) +^a.format[%.10u] +#$result[111] +#^f[a] + #^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ # ^int:sql{select news_id from news where news_id=-1}[$.default{2}]
# ^string:sql{select news_id from news where news_id=-1}[$.default{2}] @@ -173,7 +183,19 @@ $response:content-type[$.value[text/html #^xdocload[] #^xdocstring[] #^xdocsave[] -^div[] +#^div[] +#^datecreatestring3[] + +@datecreatestring3[] +$new_after[^date::now(-3)] +$articles[^table::create{id title last_update +1 привет 2002-07-03}] +^articles.menu{ + $last_update[^date::create[$articles.last_update]] + $articles.title + ^if($last_update > $new_after){новая} +
+} @div[] $var(5)