|
|
| version 1.34, 2001/03/22 11:19:17 | version 1.166, 2001/05/07 14:09:08 |
|---|---|
| Line 1 | Line 1 |
| @t[a] | |
| -${a}- | |
| @end | |
| @main[] | @main[] |
| ^$root_test=$root_test !<BR> | $splitURI[^request:uri.lsplit[/]] |
| ^$site_test=$site_test !<BR> | $splitURI.0!$splitURI.1 |
| ${cookie:н}? | <HR> |
| $t2[^table:set{dir title | |
| /here Here | |
| }] | |
| $t2{^menu{${dir}-$title}[,]} | |
| <HR> | |
| $dir[news] | |
| $list[^table:dir[$dir]] | |
| ^list.menu{ | |
| $subdir[$dir/$list.name] | |
| $sublist[^table:dir[$subdir]] | |
| ${list.name}/ $sublist{^menu{$name}[,]}<br> | |
| } | |
| <HR> | |
| ^t[x] | |
| <HR> | |
| ^if(in "/otherdeeper"){y;n} | |
| <HR> | |
| ^$form:проверка_имя=$form:проверка_имя<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> | |
| ^^table:dir[/]:<BR> | |
| $d[^table:dir[/]] | |
| $d{^menu{$name  ^; ^; ^; ^;^if(-f $name){-f} ^if(-d $name){-d};<BR>}} | |
| <HR> | |
| @default[test;def] | $files[^table:set{name}] |
| ^if(^test.length[]){$test}{$def} | $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> | |
| <font color=white> | |
| ERROR: | ERROR: |
| ^if(def $source){$origin '$source'} | ^if(def $source){$origin '$source'} |
| ${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}! | |