|
|
| version 1.42, 2001/03/24 08:54:07 | version 1.240, 2001/07/25 11:16:57 |
|---|---|
| Line 1 | Line 1 |
| @main[] | |
| $t[^table:load[/test.cfg]] | |
| ^$t.a=$t.a<BR> | |
| ^$request:uri=$request:uri<BR> | |
| ^$env:REQUEST_URI=$env:REQUEST_URI<BR> | |
| ^$env:PATH_INFO=$env:PATH_INFO<BR> | |
| ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR> | ###########3 |
| ^$env:REQUEST_URI=$env:REQUEST_URI<BR> | |
| ^rem{ | |
| $response:body[] | |
| $response:location[http://parser3/123] | |
| } | |
| ^$root_test=$root_test !<BR> | |
| ^$site_test=$site_test !<BR> | |
| ^$main_test=$main_test !<BR> | |
| ^${cookie:вот}=${cookie:вот}?<BR> | |
| ^$request:query=$request:query<BR> | |
| ^$request:uri=$request:uri<BR> | |
| <form method=post> | |
| (^$form:name=$form:name)<BR> | |
| <input name=name value="^default[$form:name;не знаю]"> | |
| <input type=submit> | |
| </form> | |
| @default[test;def] | |
| ^if(^test.length[]){$test}{$def} | |
| @exception[origin;source;comment;type;code] | |
| <body bgcolor=black> | |
| <font color=white> | |
| ERROR: | |
| ^if(def $source){$origin '$source'} | |
| ${comment}. | |
| ^if(def $type){type=$type} | |
| ^if(def $code){code=$code} | |
| @auto[] | #############3 |
| $main_test[$main_test + .html] | @main[] |
| #$response:status[404] | |
| #$response:location[/inh.html] | |
| #<hr> | |
| $таблица[^table:set{a b | |
| 1 2 | |
| 11 22 | |
| }] | |
| ^$таблица.fields.a=$таблица.fields.a<br> | |
| ^$таблица.a=$таблица.a<br> | |
| <hr> | |
| $n[] | |
| =^n.match[sdf][]{123}= | |
| <hr> | |
| =$3= | |
| <hr> | |
| $строка[123] | |
| ^строка.match[(.);g]{($match.1)} | |
| <hr> | |
| $a{ | |
| $b[1] | |
| } | |
| ^$b=$b<br> | |
| ^$a!$a<br> | |
| ^$b=$b<br> | |
| <hr> |