|
|
| version 1.4, 2001/03/16 09:26:46 | version 1.48, 2001/03/24 15:16:43 |
|---|---|
| Line 1 | Line 1 |
| @main[] | @main[] |
| ^t(1<2) | |
| ^if(1>2){y}{n} | |
| @t[b] | $t[^table:load[/test.cfg]] |
| ^if($b){y}{n} | ^process[@b[] |
| f | |
| ] | |
| ^b[]<BR> | |
| ^$t.a=$t.a<BR> | |
| ^$request:uri=$request:uri<BR> | |
| ^$env:PATH_INFO=$env:PATH_INFO<BR> | |
| ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR> | |
| ^rem{ | |
| $response:body[] | |
| $response:location[http://parser3/123] | |
| } | |
| <HR> | |
| ^^auto_test[]:<BR> | |
| <ol> | |
| ^auto_test[] | |
| </ol> | |
| <HR> | |
| ^${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_test[] | |
| ^BASE.auto_test[] | |
| <li>$request:uri | |