|
|
| version 1.20, 2001/03/19 19:17:48 | version 1.167, 2001/05/07 15:31:54 |
|---|---|
| Line 1 | Line 1 |
| @t[a] | |
| -${a}- | |
| @end | |
| @main[] | @main[] |
| <pre> | $branches[^table:set{name val |
| ^$cookie:test-default1=$cookie:test-default1 | index.cgihtml 123 |
| ^$cookie:test-default2=$cookie:test-default2 | }] |
| ^$cookie:test-tomorrow=$cookie:test-tomorrow | $splitURI[^request:uri.lsplit[/]] |
| ^$cookie:test-session=$cookie:test-session | ^branches.locate[name2;$splitURI.1] |
| $branches.name | |
| $cookie:test-default1[value=1] | <HR> |
| $cookie:test-default2[$value[value=2]] | $splitURI[^request:uri.lsplit[/]] |
| $cookie:test-tomorrow[$value[value=3] $expires(1)] | $splitURI.0!$splitURI.1 |
| $cookie:test-session[$value[value=8] $expires[session]] | <HR> |
| z | |
| $t[^table:set{a b | $t2[^table:set{dir title |
| $form:ta 12 | /here Here |
| 12 22 | |
| }] | }] |
| ^$t.a="$t.a" | |
| ^$t.b="$t.b" | |
| $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> | |
| <input name=проверка_имя value=проверка_значение> | |
| <input type=submit> | |
| </form> | |
| <HR> | |
| ^^table:dir[/]:<BR> | |
| $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} | |
| } | |
| }} | |
| $files{^menu{$name}[,]} | |
| <HR> | |
| @exception[origin;source;comment;type;code][i;j] | |
| <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}! | |