--- parser3/www/htdocs/Attic/_bug.html 2004/03/02 15:54:07 1.24
+++ parser3/www/htdocs/Attic/_bug.html 2004/03/19 12:23:04 1.32
@@ -1,16 +1,34 @@
+@main[]
+$soft(1)
+^cache[/cache/soft-$soft.id](86400){
+^math:random(1000);
+}
+#^xdoc::load[a.xml]
+
+@main2[]
+^connect[odbc://DSN=test_dbf]{
+^int:sql{select count(*) from test}
+}
+
+@mainx[]
$request:charset[windows-1251]
$response:charset[windows-1251]
+$response:content-type[text/html]
+$xdoc[^xdoc::load[_bug.xml]]
+#^xdoc.string[]
+$xdoc.search-namespaces.x[http://pif.design.ru/]
+$nodes[^xdoc.select[//x:second]]
+^nodes._count[]
-^connect[$SQL.connect-string]{
-#$f[^file::sql[_bug.dat]{select 2*2}]
-#^f.save[binary;$f.name] $f.name saved
-
-#$f[^file::sql{select 2*2, '_bug2.zip' }]
-#^f.save[binary;$f.name] $f.name $f.content-type saved
-
-$f[^file::sql{select 2*2, '_bug2.giffff', 'image/gif' }]
-^f.save[binary;$f.name] $f.name $f.content-type saved
-#$f[^file::load[binary;_bug.gif]]
-#=^f.sql-string[]=
-}
+@main[]
+^bug.bug[]
+
+@main[]
+$d[^date::unix-timestamp(1079695550.808)]
+#$d[^date::unix-timestamp(1079695983.321)]
+
+^d.sql-string[]
+
+@main[]
+^date::now[]
\ No newline at end of file