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