|
|
| version 1.49, 2001/03/24 16:29:10 | version 1.248, 2001/07/30 12:29:11 |
|---|---|
| Line 1 | Line 1 |
| @main[] | @main[] |
| $t[^table:load[/test.cfg]] | #$cookie:reg0[8reg0] |
| ^process[@b[] | #$cookie:reg1[8reg1] |
| f | $cookie:reg0 |
| ] | $cookie:reg1 |
| ^b[]<BR> | |
| <hr> | |
| ^$t.a=$t.a<BR> | ^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{ |
| # ^void::sql{insert into хрен (a) values (1)} | |
| ^$request:uri=$request:uri<BR> | $id(^int:sql{select 5}) |
| ^$env:PATH_INFO=$env:PATH_INFO<BR> | $id |
| ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR> | |
| $пресса[^table::sql{select * from press where header='$form:h'}] | |
| ^rem{ | ^пресса.menu{ |
| $response:body[] | $пресса.id, $пресса.date_row, $пресса.header, $пресса.short_text^rem{, $пресса.full_text}, $пресса.mode |
| $response:location[http://parser3/123] | }[<br>] |
| } | } |
| <hr> | |
| #$response:status[404] | |
| <HR> | #$response:location[/inh.html] |
| ^^auto_test[]:<BR> | #<hr> |
| <ol> | $таблица[^table::set{a b |
| ^auto_test[] | 1 2 |
| </ol> | 11 22 |
| <HR> | }] |
| ^$таблица.fields.a=$таблица.fields.a<br> | |
| ^${cookie:вот}=${cookie:вот}?<BR> | ^$таблица.a=$таблица.a<br> |
| ^$request:query=$request:query<BR> | <hr> |
| ^$request:uri=$request:uri<BR> | $n[z] |
| =^n.match[sdf][]{123}= | |
| <form method=post> | <hr> |
| (^$form:name=$form:name)<BR> | |
| <input name=name value="^default[$form:name;не знаю]"> | =$3= |
| <input type=submit> | <hr> |
| </form> | |
| $строка[123] | |
| @default[test;def] | ^строка.match[(.);g]{($match.1)} |
| ^if(^test.length[]){$test}{$def} | <hr> |
| $a{ | |
| @exception[origin;source;comment;type;code] | $b[1] |
| <body bgcolor=black> | } |
| <font color=white> | ^$b=$b<br> |
| ERROR: | ^$a!$a<br> |
| ^if(def $source){$origin '$source'} | ^$b=$b<br> |
| ${comment}. | <hr> |
| ^if(def $type){type=$type} | |
| ^if(def $code){code=$code} | |
| @auto_test[] | |
| ^BASE.auto_test[] | |
| <li>$request:uri | |