|
|
| version 1.16, 2002/03/04 14:51:11 | version 1.25, 2002/03/26 08:51:00 |
|---|---|
| Line 7 $response:charset[windows-1251] | Line 7 $response:charset[windows-1251] |
| $response:content-type[$.value[text/html]$.charset[$response:charset]] | $response:content-type[$.value[text/html]$.charset[$response:charset]] |
| @main[] | @main[] |
| ^execlangs[] | ^rolls[] |
| #^exceptions1[] | |
| #^locate_by_expr[] | |
| #^method_junction_params{...} | |
| #^verifyCookie[paf] | |
| #^execlangs[] | |
| #$t[^tobjeresult[]]$t.a | #$t[^tobjeresult[]]$t.a |
| #^xmlprobs[] | #^xmlprobs[] |
| #^doubleprobs[] | #^doubleprobs[] |
| Line 105 $response:content-type[$.value[text/html | Line 110 $response:content-type[$.value[text/html |
| <hr> | <hr> |
| OK | OK |
| @rolls[] | |
| $d[^date::create(2002;4;4)] | |
| ^d.sql-string[]<br> | |
| ^for[i](1;7){ | |
| ^d.roll[day](-1) | |
| ^d.sql-string[]<br> | |
| } | |
| <hr> | |
| $d[^date::create(2002;3;28)] | |
| ^d.sql-string[]<br> | |
| ^for[i](1;7){ | |
| ^d.roll[day](+1) | |
| ^d.sql-string[]<br> | |
| } | |
| <hr> | |
| $d[^date::create(2002;12;3)] | |
| ^d.sql-string[]<br> | |
| ^for[i](1;14){ | |
| ^d.roll[day](-1) | |
| ^d.sql-string[]<br> | |
| } | |
| <hr> | |
| $d[^date::create(2002;10;19)] | |
| ^d.sql-string[]<br> | |
| ^for[i](1;14){ | |
| ^d.roll[day](+1) | |
| ^d.sql-string[]<br> | |
| } | |
| @exceptions1[] | |
| ^try{ | |
| aaa | |
| ^throw[custom1;paf;is stupid] | |
| }{ | |
| ^if($exception.type eq custom1){ | |
| $exception.handled(1) | |
| # ^throw[$exception] | |
| type=$exception.type<br> | |
| source=$exception.source<br> | |
| file=$exception.file<br> | |
| lineno=$exception.lineno<br> | |
| comment=$exception.comment<br> | |
| } | |
| } | |
| @locate_by_expr[] | |
| $t[^table::create{a b | |
| 1 nok | |
| 2 ok | |
| 3 nok | |
| }] | |
| ^if(^t.locate($t.a==2)){$t.b}{n} | |
| @method_junction_params[param] | |
| ^if($param is junction){junction}{ne junction} | |
| @verifyCookie[value] | |
| ^if($cookie:dummyvote eq $value){ | |
| $result(1) | |
| }{ | |
| $cookie:dummyvote[$value] | |
| $result(0) | |
| } | |
| @execlangs[] | @execlangs[] |
| $f[^file::exec[test.pl]] | $f[^file::exec[test.pl]] |
| ^process{$f.text} | ^process{$f.text} |