|
|
| version 1.38, 2001/03/22 21:33:41 | version 1.245, 2001/07/26 10:47:03 |
|---|---|
| Line 1 | Line 1 |
| @main[] | @main[] |
| $t[^table:load[/test.cfg]] | ^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{ |
| ^$t.a=$t.a<BR> | # ^void::sql{insert into хрен (a) values (1)} |
| $пресса[^table::sql{select * from press where header='$form:h'}] | |
| ^пресса.menu{ | |
| ^$env:PATH_TRANSLATED=$env:PATH_TRANSLATED<BR> | $пресса.id, $пресса.date_row, $пресса.header, $пресса.short_text^rem{, $пресса.full_text}, $пресса.mode |
| ^$env:AUTH_USER=$env:AUTH_USER<BR> | }[<br>] |
| ^$env:AUTH_PASSWORD=$env:AUTH_PASSWORD<BR> | |
| ^$env:AUTH_TYPE=$env:AUTH_TYPE<BR> | |
| $env:REMOTE_ADDR<BR> | |
| $response:paf[k] | |
| $response:Connection[kla] | |
| ^rem{ | |
| $response:body[] | |
| $response:location[http://parser3/123] | |
| } | } |
| <hr> | |
| #$response:status[404] | |
| ^$root_test=$root_test !<BR> | #$response:location[/inh.html] |
| ^$site_test=$site_test !<BR> | #<hr> |
| ^${cookie:вот}=${cookie:вот}?<BR> | $таблица[^table::set{a b |
| ^$request:query=$request:query<BR> | 1 2 |
| ^$request:uri=$request:uri<BR> | 11 22 |
| }] | |
| <form method=post> | ^$таблица.fields.a=$таблица.fields.a<br> |
| (^$form:name=$form:name)<BR> | ^$таблица.a=$таблица.a<br> |
| <input name=name value="^default[$form:name;не знаю]"> | <hr> |
| <input type=submit> | $n[] |
| </form> | =^n.match[sdf][]{123}= |
| <hr> | |
| @default[test;def] | |
| ^if(^test.length[]){$test}{$def} | =$3= |
| <hr> | |
| @exception[origin;source;comment;type;code] | |
| <body bgcolor=black> | $строка[123] |
| <font color=white> | ^строка.match[(.);g]{($match.1)} |
| ERROR: | <hr> |
| ^if(def $source){$origin '$source'} | $a{ |
| ${comment}. | $b[1] |
| ^if(def $type){type=$type} | } |
| ^if(def $code){code=$code} | ^$b=$b<br> |
| ^$a!$a<br> | |
| ^$b=$b<br> | |
| <hr> |