|
|
| version 1.49, 2001/03/24 16:29:10 | version 1.244, 2001/07/25 14:36:04 |
|---|---|
| Line 1 | Line 1 |
| @main[] | @main[] |
| $t[^table:load[/test.cfg]] | ^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{ |
| ^process[@b[] | # ^void:sql{insert into хрен (a) values (1)} |
| f | $пресса[^table:sql{select * from press where header='$form:h'}] |
| ] | ^пресса.menu{ |
| ^b[]<BR> | $пресса.id, $пресса.date_row, $пресса.header, $пресса.short_text^rem{, $пресса.full_text}, $пресса.mode |
| }[<br>] | |
| ^$t.a=$t.a<BR> | |
| ^$request:uri=$request:uri<BR> | |
| ^$env:PATH_INFO=$env:PATH_INFO<BR> | |
| ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR> | |
| ^rem{ | |
| $response:body[] | |
| $response:location[http://parser3/123] | |
| } | } |
| <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[] |
| =^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 | |