|
|
| version 1.26, 2004/03/04 12:35:49 | version 1.32, 2004/03/19 12:23:04 |
|---|---|
| Line 1 | Line 1 |
| @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] | $request:charset[windows-1251] |
| $response: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[] | |
| @main[] | |
| ^bug.bug[] | |
| @main[] | |
| $d[^date::unix-timestamp(1079695550.808)] | |
| #$d[^date::unix-timestamp(1079695983.321)] | |
| ^d.sql-string[] | |
| ^connect[mysql://root@localhost/aval?ClientCharset=koi8-r]{ | |
| $t[^table::sql{select * from paf2}] | |
| ^t.save[_bug.txt]OK | |
| } | |
| @main[] | |
| ^date::now[] | |