|
|
| version 1.40, 2001/03/23 13:08:15 | version 1.161, 2001/05/04 11:08:12 |
|---|---|
| Line 1 | Line 1 |
| @main[] | @main[] |
| ^if(in "/otherdeeper"){y;n} | |
| $t[^table:load[/test.cfg]] | <HR> |
| ^$t.a=$t.a<BR> | ^$form:проверка_имя=$form:проверка_имя<BR> |
| ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR> | |
| ^$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> | |
| ^${cookie:вот}=${cookie:вот}?<BR> | |
| ^$request:query=$request:query<BR> | |
| ^$request:uri=$request:uri<BR> | |
| <form method=post> | <form method=post> |
| (^$form:name=$form:name)<BR> | <input name=проверка_имя value=проверка_значение> |
| <input name=name value="^default[$form:name;не знаю]"> | |
| <input type=submit> | <input type=submit> |
| </form> | </form> |
| <HR> | |
| @default[test;def] | ^^table:dir[/]:<BR> |
| ^if(^test.length[]){$test}{$def} | $d[^table:dir[/]] |
| $d{^menu{$name  ^; ^; ^; ^;^if(-f $name){-f} ^if(-d $name){-d};<BR>}} | |
| <HR> | |
| $files[^table:set{name}] | |
| $d{^menu{ | |
| ^if(-d "$name"){ | |
| ^:files.append{$name} | |
| } | |
| }} | |
| @exception[origin;source;comment;type;code] | $files{^menu{$name}[,]} |
| <HR> | |
| @exception[origin;source;comment;type;code][i;j] | |
| <body bgcolor=black> | <body bgcolor=black> |
| <font color=white> | <font color=white> |
| ERROR: | ERROR: |
| Line 35 ERROR: | Line 31 ERROR: |
| ${comment}. | ${comment}. |
| ^if(def $type){type=$type} | ^if(def $type){type=$type} |
| ^if(def $code){code=$code} | ^if(def $code){code=$code} |
| @auto_test[] | |
| ^BASE.auto_test[] | |
| <li>${request:uri}! | |