|
|
| version 1.68, 2001/03/28 09:01:23 | version 1.312, 2001/09/17 14:46:49 |
|---|---|
| Line 1 | Line 1 |
| @auto[] | |
| !!$html-typo[^table:set{user html comment | |
| << «^; длинные user вперёд | |
| >> »^; | |
| \n\n <p> !эти есть в таблице по умолчанию | |
| \n <br> !но т.к. заменяем, надо повторить. | |
| < <^; !можно этим воспользоваться, | |
| > >^; !и что-то сделать ДО обычных замен | |
| " "^; !например из << и >> | |
| & &^; !сделать ёлочки-кавычки. | |
| _  ^; | |
| ^#AB «^; windows коды ёлочек | |
| ^#BB »^; windows коды ёлочек | |
| (c) ©^; | |
| ^#A9 ©^; windows (c) | |
| }] | |
| @dump[t] | |
| ^t.menu{$n<BR>} | |
| <HR> | |
| @func[n] | |
| $n | |
| @main[] | @main[] |
| ^file:find[test.cfg]<BR> | ^xslt[] |
| ^file:find[tes.cfg]{not found}<BR> | |
| <HR> | |
| $t[^table:set{n | |
| 3 | |
| 01.3 | |
| 1.2 | |
| 2 | |
| }] | |
| $t{^locate[n;2z]^found{$n}{not found}}<BR> | |
| $t{^locate[n;3]^found{found:$n}{not found}}<BR> | |
| ^$t:<BR> | |
| ^dump[$t] | |
| ^t.sort($n) | |
| ^^t.sort(^$n):<BR> | |
| ^dump[$t] | |
| ^t.sort{^:func($n)} | |
| ^^t.sort{^^:func(^$n)}:<BR> | |
| ^dump[$t] | |
| ^t.sort{$n} | |
| ^^t.sort{^$n}:<BR> | |
| ^dump[$t] | |
| ^t.sort{$n}[desc] | |
| ^^t.sort{^$n}[desc]:<BR> | |
| ^dump[$t] | |
| <HR> | |
| ^if(-f index.html){y}{n}<BR> | @xslt[] |
| ^taint[html-typo;не знаю | $dom[^dom::set{<?xml version="1.0" encoding="windows-1251"?> |
| я ничего | |
| <<слово длинное>> | <people> |
| <man id="1"> | |
| (c) by Я | <name>PAF</name> |
| ]<HR> | </man> |
| $t[^table:load[/test.cfg]] | <man id="2"> |
| ^process[@b[] | <name>ПИФ</name> |
| f | </man> |
| ] | </people> |
| ^b[]<BR> | }] |
| ^$t.a=$t.a<BR> | |
| ^t.offset[2] | |
| #$r[^t.record[]] | |
| #^$r.a=$r.a<BR> | |
| ^$request:uri=$request:uri<BR> | $people[^dom.xpath[/people/man/name]] |
| ^$env:PATH_INFO=$env:PATH_INFO<BR> | |
| ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR> | |
| ^rem{ | ^for[i](0;^people._count[]-1){ |
| $response:body[] | z$people.$i<br> |
| $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> | |
| <table border=1 width=250><tr><td>$form:name</td></tr></table> | |
| <textarea name=name rows=5 cols=40>^untaint[html]{^default[$form:name;не знаю]}</textarea><BR> | |
| <input type=submit> | |
| </form> | |
| @default[test;def] | |
| $result[^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}! | |
| OK | |