|
|
| version 1.32, 2001/03/21 16:48:19 | version 1.243, 2001/07/25 12:53:52 |
|---|---|
| Line 1 | Line 1 |
| @main[] | @main[] |
| <form method=post> | ^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{ |
| (^$form:name=$form:name)<BR> | $пресса[^table:sql{select * from press where header='$form:h'}] |
| <input name=name value="^default[$form:name;не знаю]"> | ^пресса.menu{ |
| <input type=submit> | $пресса.id, $пресса.date_row, $пресса.header, $пресса.short_text^rem{, $пресса.full_text}, $пресса.mode |
| </form> | }[<br>] |
| } | |
| <hr> | |
| #$response:status[404] | |
| #$response:location[/inh.html] | |
| #<hr> | |
| $таблица[^table:set{a b | |
| 1 2 | |
| 11 22 | |
| }] | |
| ^$таблица.fields.a=$таблица.fields.a<br> | |
| ^$таблица.a=$таблица.a<br> | |
| <hr> | |
| $n[] | |
| =^n.match[sdf][]{123}= | |
| <hr> | |
| @default[test;def] | =$3= |
| ^if(^test.length[]){$test}{$def} | <hr> |
| @exception[origin;source;comment;type;code] | $строка[123] |
| ERROR: | ^строка.match[(.);g]{($match.1)} |
| ^if(def $source){$origin '$source'} | <hr> |
| ${comment}. | $a{ |
| ^if(def $type){type=$type} | $b[1] |
| ^if(def $code){code=$code} | } |
| ^$b=$b<br> | |
| ^$a!$a<br> | |
| ^$b=$b<br> | |
| <hr> |